Hi,

I guess you can still pass --install-dir, butI wonder why we don't fall back on 
the ~/.gems repository in case the system one isn't writable. Could you file a 
ticket about this? I will have a look.

Thanks,
Laurent

On Nov 10, 2010, at 12:57 AM, 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....@gmail.com
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to