[MacRuby-devel] Can I install gems without sudo?

Zhi-Qiang Lei zhiqiang.lei at gmail.com
Wed Nov 10 00:57:20 PST 2010


Dear All,

Can I install gems without sudo? I want them to be installed in .gems under my home folder. Thanks.

bogon% macgem install -V data_mapper
Fetching http://rubygems.org/latest_specs.4.8.gz
OK
Fetching http://rubygems.org/specs.4.8.gz
OK
Installing gem extlib-0.9.15
unknown: warning: ignoring alias
unknown: warning: ignoring alias
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied - /Library/Frameworks/MacRuby.framework/Versions/0.7/usr/lib/ruby/Gems

Best regards,
Zhi-Qiang Lei
zhiqiang.lei at gmail.com



More information about the MacRuby-devel mailing list