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

Zhi-Qiang Lei zhiqiang.lei at gmail.com
Wed Nov 10 22:18:24 PST 2010


Dear All,

Can MacRuby install gems in this way which is feasible on ruby 1.8.7? Thanks.

On Nov 10, 2010, at 4:57 PM, Zhi-Qiang Lei wrote:

> 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
> 


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



More information about the MacRuby-devel mailing list