No rails commands will run
Posted
by Jeremy
on Stack Overflow
See other posts from Stack Overflow
or by Jeremy
Published on 2010-04-30T06:48:03Z
Indexed on
2010/04/30
6:57 UTC
Read the original article
Hit count: 857
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:in
initialize'
from /Library/Ruby/Site/1.8/rubygems.rb:384:in new'
from /Library/Ruby/Site/1.8/rubygems.rb:384:in
configuration'
from /Library/Ruby/Site/1.8/rubygems.rb:634:in path'
from /Library/Ruby/Site/1.8/rubygems/source_index.rb:68:in
installed_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:in
source_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:in
initialize'
from /Library/Ruby/Site/1.8/rubygems.rb:839:in new'
from /Library/Ruby/Site/1.8/rubygems.rb:839:in
searcher'
from /Library/Ruby/Site/1.8/rubygems.rb:838:in synchronize'
from /Library/Ruby/Site/1.8/rubygems.rb:838:in
searcher'
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:in
require'
from /usr/bin/rails:9
© Stack Overflow or respective owner