On Fri, Mar 18, 2011 at 6:38 PM, Pablo Tomas B. <[email protected]>wrote:
> I dont know guys how you fixed this problem. I have one rails app that > runs as expected at port 80 using webrick. And another rails app running > at port 3001, that doesnt start. I get the same error as you: > > ruby script/server -p 3001 -e production & > [2] 29028 > root@li76-92:/home/magic/delivery/workspace/delivery-magic-wap# > /usr/local/lib/site_ruby/1.8/rubygems.rb:232:in `activate': undefined > method `map' for nil:NilClass (NoMethodError) > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in `require' > from > > /home/magic/delivery/workspace/delivery-magic-wap/vendor/rails/railties/lib/commands/server.rb:1 > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in > `gem_original_require' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require' > from script/server:3 > > > I uninstalled the multiple rails versions I had, and left the one that > works for the other app 2.2.3. This is my gem list output: > > gem list > > *** LOCAL GEMS *** > > actionmailer (2.2.3) > actionpack (2.2.3) > activemerchant (1.10.0) > activerecord (2.2.3) > activeresource (2.2.3) > activesupport (3.0.5, 2.2.3) > authlogic (2.1.6) > braintree (2.8.0) > builder (3.0.0) > i18n (0.4.2) > jabber4r (0.8.0) > json (1.5.1) > linecache (0.43) > rack (1.1.2, 1.0.1) > railroad (0.5.0) > rails (2.2.3) > rake (0.8.7) > ruby-debug-base (0.10.4) > ruby-debug-ide (0.4.16) > rubygems-update (1.4.2) > xmpp4r (0.5) > > > Everything seems ok, but I still get this anoying error. I'm not using > apache, neither mongrel. Just trying to start with the default webrick.. > The app works Ok at my development box, not at the VPS hosting. > > Please post your environment OS, rubygems , webserver -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

