Note that there are some explanatory texts on larger screens.

plurals
  1. PORails 3.2.2 installation error following Hartl RoR Tutorial, "can't convert String into Hash (TypeError)"
    text
    copied!<p>I've been following Hartl's RoR tutorial and have hit an error in the sequence to set up Rails. I'm running OS X Lion 10.7.3.</p> <p><a href="http://ruby.railstutorial.org/ruby-on-rails-tutorial-book?version=3.2#sec:rubygems" rel="nofollow">http://ruby.railstutorial.org/ruby-on-rails-tutorial-book?version=3.2#sec:rubygems</a></p> <p>I've installed Git as instructed. I've installed RVM (1.10.3) in order to update Ruby to 1.9.3 (1.9.3p125 is the version displayed when I type "$ruby -v").</p> <p>I have updated RubyGems to 1.8.17, the version fixed for the tutorial.</p> <p>I used vi to create a gem configuration file, per the tutorial. I may have screwed this up somehow since I'm not familiar with vi, but this was the last thing that I did before hitting this error:</p> <pre><code>jboggan$ gem install rails -v 3.2.2 /Users/jboggan/.rvm/rubies/ruby-1.9.3 p125/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:183:in `merge': can't convert String into Hash (TypeError) from /Users/jboggan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/config_file.rb:183:in `initialize' from /Users/jboggan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:78:in `new' from /Users/jboggan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:78:in `do_configuration' from /Users/jboggan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:51:in `run' from /Users/jboggan/.rvm/rubies/ruby-1.9.3-p125/bin/gem:25:in `&lt;main&gt;' </code></pre> <p>I'd appreciate any input into getting past this. I've searched but been unable to find anyone else having this problem. This is my first post on SO, so please tell me if I need to provide more info, fix my phrasing, or do something to make the question more intelligible. Thanks so much!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload