When I try to update OpenSSL - I broke (apparently) everything around Ruby and Rails on my laptop. Even after removing rubies and rails through gem uninstall and rvm remove I still encounter this error:
Drews-MacBook-Pro:bookstore drewwyatt$ rails server bin/rails:3: undefined method `require_relative' for main:Object (NoMethodError)
Everything worked fine for several months until I cheated - the worst part is that I'm not even sure what I did to mess things up.
Additional Information
Drews-MacBook-Pro:bookstore drewwyatt$ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0] Drews-MacBook-Pro:bookstore drewwyatt$ which ruby /Users/drewwyatt/.rvm/rubies/ruby-2.0.0-p247/bin/ruby Drews-MacBook-Pro:bookstore drewwyatt$ rails -v bin/rails:3: undefined method `require_relative' for main:Object (NoMethodError) Drews-MacBook-Pro:bookstore drewwyatt$ which rails /Users/drewwyatt/.rvm/rubies/ruby-2.0.0-p247/bin/rails Drews-MacBook-Pro:bookstore drewwyatt$
update - install without sudo
Drews-MacBook-Pro:~ drewwyatt$ gem install rails Fetching: railties-4.0.0.gem (100%) ERROR: While executing gem ... (Errno::EACCES) Permission denied - /Users/drewwyatt/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks Drews-MacBook-Pro:~ drewwyatt$
ruby ruby-on-rails macos
drewwyatt
source share