ruby - Problems with 'gem install rails' -


i'm having problems installing rails on mac via homebrew. installed ruby , when use 'sudo gem install rails' return successful, rails isn't installed. tried running 'gem install rails' (without sudo) after reading post cannot install rails gem , returns error:

    error:  while executing gem ... (gem::filepermissionerror)       don't have write permissions /library/ruby/gems/1.8 directory. 

how can rails installed?

don't use super user install gems. instead can try rvm it's easy install ruby , gems through rvm.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -