ct9a
2010-Dec-24 11:36 UTC
keep getting "undefined method `map'' for nil:NilClass (NoMethodError) " in new server
hi guys, I have a new development server (ubuntu 10). I have done the following (the versions match my existing development machine which works fine): 1. installed ruby 1.9.1p378 2. installed ruby gems 1.3.7 3. installed rails 2.3.8 (used "gem install rails -v 2.3.8") 4. manually installed my other gems including sphinx and thinking sphinx with "gem install ..." 5. ran "sudo apt-get install ruby-dev ruby ri rdoc irb libreadline- ruby libruby libopenssl-ruby sqlite3 libsqlite3-ruby libsqlite-dev libsqlite3-dev" here''s what "gem list --local" gives me: root@ct9a-dev:~/projects/myApp# gem list --local *** LOCAL GEMS *** actionmailer (2.3.9) actionpack (2.3.9) activemodel (3.0.3) activerecord (3.0.3, 2.3.9) activeresource (2.3.9) activesupport (3.0.3, 2.3.9) arel (2.0.6) authlogic (2.1.6) breadcrumbs_on_rails (1.0.1) builder (2.1.2) i18n (0.5.0) paperclip (2.3.8) prawn (0.8.4) prawn-core (0.8.4) prawn-layout (0.8.4) prawn-security (0.8.4) rack (1.1.0) rails (2.3.9) rake (0.8.7) riddle (1.2.2) rubygems-update (1.3.7) searchlogic (2.4.27) thinking-sphinx (2.0.1) tzinfo (0.3.23) will_paginate (2.3.15) problem: ===== When I run "script/console" and "script/server", i keep getting the error below: "/usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:223:in `activate'': undefined method `map'' for nil:NilClass (NoMethodError)". I looked at http://railsforum.com/viewtopic.php?id=40596 and the things I did above were exactly as per the advice given in the url. I''m really out of ideas. How can I solve this? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.