No rails commands will run
- by Jeremy
I am trying to learn rails and haven't used it in the last few weeks but today when I try to run any rails commands such as
- 'rails -v'
- 'script/server'
I get not have reinstalled ruby but the didn't don't have a clue what could be wrong
Am on a brand new Macbook Pro
Jeremy-Geross-MacBook-Pro:~ Jeremy$ rails -v
/Library/Ruby/Site/1.8/rubygems/config_file.rb:172:in merge': can't convert String into Hash (TypeError)
from /Library/Ruby/Site/1.8/rubygems/config_file.rb:172:ininitialize'
from /Library/Ruby/Site/1.8/rubygems.rb:384:in new'
from /Library/Ruby/Site/1.8/rubygems.rb:384:inconfiguration'
from /Library/Ruby/Site/1.8/rubygems.rb:634:in path'
from /Library/Ruby/Site/1.8/rubygems/source_index.rb:68:ininstalled_spec_directories'
from /Library/Ruby/Site/1.8/rubygems/source_index.rb:58:in from_installed_gems'
from /Library/Ruby/Site/1.8/rubygems.rb:881:insource_index'
from /Library/Ruby/Site/1.8/rubygems/gem_path_searcher.rb:81:in init_gemspecs'
from /Library/Ruby/Site/1.8/rubygems/gem_path_searcher.rb:13:ininitialize'
from /Library/Ruby/Site/1.8/rubygems.rb:839:in new'
from /Library/Ruby/Site/1.8/rubygems.rb:839:insearcher'
from /Library/Ruby/Site/1.8/rubygems.rb:838:in synchronize'
from /Library/Ruby/Site/1.8/rubygems.rb:838:insearcher'
from /Library/Ruby/Site/1.8/rubygems.rb:478:in find_files'
from /Library/Ruby/Site/1.8/rubygems.rb:1103
from /usr/bin/rails:9:inrequire'
from /usr/bin/rails:9