averyvery / hieroglyph

Generate an icon font from a directory of vector files
MIT License
145 stars 8 forks source link

Can't install? #10

Open topherauyeung opened 12 years ago

topherauyeung commented 12 years ago

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?

averyvery commented 12 years ago

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

topherauyeung commented 12 years ago

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

averyvery commented 12 years ago

Hmm — are you on Lion?

topherauyeung commented 12 years ago

Yep!

averyvery commented 12 years ago

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

topherauyeung commented 12 years ago

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.