[MacRuby-devel] Can I install gems without sudo?
Laurent Sansonetti
lsansonetti at apple.com
Wed Nov 10 18:03:07 PST 2010
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.lei at gmail.com
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101110/29ef91ed/attachment.html>
More information about the MacRuby-devel
mailing list