On Mon, May 20, 2013 at 10:36 PM, Majid L. <[email protected]> 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 [email protected]. To post to this group, send email to [email protected]. 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.

