ruby - Can't install rails on my Mac -
ruby - Can't install rails on my Mac -
i trying install rails on mac version 10.9.5 , not working when seek see version of rails have installed following:
/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:213: warning: insecure world writable dir /usr/local in path, mode 040777 rails not installed on system. latest version, type: $ sudo gem install rails can rerun "rails" command.
if seek run command, getting...
sudo gem install rails password: dyld: library not loaded: /usr/local/lib/libgmp.10.dylib referenced from: /users/ppmartins/.rvm/rubies/ruby-2.1.3/bin/ruby reason: image not found
any thought what's happening , how solve issue?
thank all.
it best never utilize scheme ruby install gems. scheme ruby version of ruby ships mac. osx uses ruby various tasks, best leave lone , not risk corrupting gems.
instead, should utilize ruby version managers install versions of ruby scheme won't rely on. using sudo not necessary these versions. if find needing this, might (ab)using scheme ruby.
personally utilize rbenv since integrates homebrew, there others such rvm well.
ruby-on-rails ruby osx
Comments
Post a Comment