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

James Harton jamesotron at gmail.com
Wed Nov 10 22:36:57 PST 2010


I've had quite a lot of success integrating both bundler and isolate into my Xcode build process. bundler --deployment worked particularly well if you make sure it puts them in the finished app bundle path. 

James Harton
@jamesotron

On 11/11/2010, at 19:18, Zhi-Qiang Lei <zhiqiang.lei at gmail.com> wrote:

> 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
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


More information about the MacRuby-devel mailing list