Father, I did terrible things. I completely messed up my system. It all started when I tried to get Rails to use the same MySQL as my MAMP PRO. (I still have not been able to work together). It ended badly and is only getting worse.
Last error message:
β ~ rails /Users/hb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4] (Gem::LoadError) from /Users/hb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' from /Users/hb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems.rb:1208:in `gem' from /Users/hb/.rvm/gems/ruby-1.9.3-p0/bin/rails:18:in `<main>'
So, I decided that probably I should just wipe the system from my RVM and Rails installations, and then reinstall everything in one correct way (I was currently experimenting with different approaches, including installing rails gem as sudo, without sudo, and with RVM). This mess is very confusing, and I have no idea how I even pulled it out (to ruin everything).
Anyway, can someone please tell me how to make a clean napkin on all precious stones, so there will be no rails in my system, so I can do a clean installation. Also, what would be the best way to install rails on Mac OS X Lion. Should I use RVM if I intend to use only the latest version of Ruby and Rails?
I donβt want to just forget about the gems in my system if I use rvm, as from time to time I run into problems with accidentally using sudo or not. I think it's best to have one and the same.
Greetings.
ruby ruby-on-rails rvm macos
Norris Feb 08 2018-12-12T00: 00Z
source share