Hi, I am new in mac and ruby on rails, please bear with me if I asked stupid questions : I tried to install, rails in my mac :" bdelmajids-iMac:~ majid$ gem install rails ERROR: While executing gem ... (Gem::FilePermissionError) You don''t have write permissions for the /Library/Ruby/Gems/1.8 directory. Abdelmajids-iMac:~ majid$ Please your help is appreciated. thanks, -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b769de4a4945f1c0f75f6a7f06643d21%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
On Mon, May 20, 2013 at 10:36 PM, Majid L. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, I am new in mac and ruby on rails, please bear with me if I asked > stupid questions : > > I tried to install, rails in my mac :" > > bdelmajids-iMac:~ majid$ gem install rails > ERROR: While executing gem ... (Gem::FilePermissionError) > You don''t have write permissions for the /Library/Ruby/Gems/1.8 > directory. > Abdelmajids-iMac:~ majid$ > > Please your help is appreciated. > thanks,From the looks of it, you''re trying to install rails system-wide with that. If that''s what you want, preceed the gem command with sudo. A possibly better alternative is to install either rvm or rbenv, and have things loaded per user or per project. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHUC_t9BRMCSdmWf_LhSW7m%2BqG_8mfnaaccb%2BfLMM4C4ZACzVA%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
The samething happened when I try : sudo gem install rails I have rvm installed, how should I use it ? thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b6c7b685232e2cb36b20ccc1457c28a9%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
gem install rails --version=4.0.0.rc1 version what ever you want On Tue, May 21, 2013 at 4:19 PM, Majid L. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> The samething happened when I try : > sudo gem install rails > > I have rvm installed, how should I use it ? > thanks > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/b6c7b685232e2cb36b20ccc1457c28a9%40ruby-forum.com?hl=en-US > . > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAFQ3s6VCkL-tcch0%2Bq5LzzQp%2BdUeJ4aLzGS80VV_BHphsn5vFQ%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
snlsinghal.9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2013-May-22 09:39 UTC
Re: gem install rails ERROR
use.. sudo gem install rails On Tuesday, May 21, 2013 9:06:44 AM UTC+5:30, Ruby-Forum.com User wrote:> > Hi, I am new in mac and ruby on rails, please bear with me if I asked > stupid questions : > > I tried to install, rails in my mac :" > > bdelmajids-iMac:~ majid$ gem install rails > ERROR: While executing gem ... (Gem::FilePermissionError) > You don''t have write permissions for the /Library/Ruby/Gems/1.8 > directory. > Abdelmajids-iMac:~ majid$ > > Please your help is appreciated. > thanks, > > -- > Posted via http://www.ruby-forum.com/. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f841c299-24da-40bb-86c9-c54677abf9bf%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
have you tried http://ryanbigg.com/2011/06/mac-os-x-ruby-rvm-rails-and-you/ On Wed, May 22, 2013 at 3:09 PM, <snlsinghal.9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> use.. sudo gem install rails > > On Tuesday, May 21, 2013 9:06:44 AM UTC+5:30, Ruby-Forum.com User wrote: >> >> Hi, I am new in mac and ruby on rails, please bear with me if I asked >> stupid questions : >> >> I tried to install, rails in my mac :" >> >> bdelmajids-iMac:~ majid$ gem install rails >> ERROR: While executing gem ... (Gem::FilePermissionError) >> You don''t have write permissions for the /Library/Ruby/Gems/1.8 >> directory. >> Abdelmajids-iMac:~ majid$ >> >> Please your help is appreciated. >> thanks, >> >> -- >> Posted via http://www.ruby-forum.com/. >> > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/f841c299-24da-40bb-86c9-c54677abf9bf%40googlegroups.com?hl=en-US > . > > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAFQ3s6V4d9RzpPyOR52F1A3t70jk-Q4k%3DFNWwx%3DQfUwD9R0CRA%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
This should help: http://railsapps.github.io/installing-rails.html -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e2e2a2b8-8f6d-4337-a22b-26df6b186ac9%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.