tag:help.rubygems.org,2010-01-19:/discussions/problems/530-rubygem-on-shared-host-undefined-method-map-for-nilnilclassRubyGems.org: Discussion 2018-10-18T19:51:05Ztag:help.rubygems.org,2010-01-19:Comment/61579982011-04-02T22:50:04Z2011-04-02T22:50:04Z[Rubygem on shared host] undefined method map for nil:NilClass<div><p>This isn't a rails support forum, and i don't think this a RG
problem.</p>
<p>My suggestion would be to get RVM setup and isolate the gems you
have for your app as much as possible. This is why Bundler was made
;)</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/61579982011-04-03T00:23:53Z2011-04-03T00:23:54Z[Rubygem on shared host] undefined method map for nil:NilClass<div><p>What was happening is that the rails 3 gem was being loaded by
rubygems even if the<br>
was set in the config/environment.rb file, thus the application
could not boot.</p>
<p>It could be a mixed issue between rubygem, rails 2.1, and having
gems installed in the user directory.</p>
<p>But anyway, I am in the process of upgrading the app to rails
3.</p></div>David