averyvery / hieroglyph

Generate an icon font from a directory of vector files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install?

topherauyeung opened this issue · comments

Hi Doug -

I might just be a total newb, but I'm trying to install Hieroglyph using gem install hieroglyph in the terminal (OSX) and it's not working. I've tried altering permissions (because the error I got originally was "You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.") but that didn't work.

Is there something I'm missing entirely?

Hi topher,

You may need to install it as root, using "sudo gem install hieroglyph". OS X should prompt you for your password, and supposedly, the gem should install. Let me know if this works for you!

-Doug

Thanks! I get this error when I use sudo:

ERROR: Error installing hieroglyph:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/nokogiri-1.5.5 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/nokogiri-1.5.5/ext/nokogiri/gem_make.out

Hmm — are you on Lion?

That's all I can think of off the top of my head — hope it helps! Let me know what happens.

Thanks so much. I'll try all that tomorrow and let you know! I tried installing nokogiri earlier and it didn't work, but I'll try all this again on my work computer tomorrow. I have Xcode installed on that one.