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
Post a Comment