Hi All, sor some odd reason i updraded my gems, which updated rails from 2.3.3 to 2.3.5. I now have issues: /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate'': undefined method `map'' for nil:NilClass (NoMethodError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 35:in `require'' from /Users/westy/apps/ruby/piste_buddies/vendor/rails/railties/lib/ commands/server.rb:1 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `gem_original_require'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `require'' from script/server:3 i''m assuming it''s to do with the update, so i need to know if anyone can advise me on how to revert it from 2.3.5 back to 2.3.3 (daft question i know) can anyone suggest what this issue means? Google hasn''t been much help so far, though i''ll keep plodding. thanks -- 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.
ok... so i now have version 2.3.3 of rails, but the error is still displayed when I try to run: ruby script/server> /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate'': > undefined method `map'' for nil:NilClass (NoMethodError) > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 35:in `require'' > from /Users/westy/apps/ruby/piste_buddies/vendor/rails/railties/lib/ > commands/server.rb:1 > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `gem_original_require'' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `require'' > from script/server:3any ideas?? On Jan 20, 9:25 pm, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hi All, > > sor some odd reason i updraded my gems, which updated rails from 2.3.3 > to 2.3.5. > > I now have issues: > > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate'': > undefined method `map'' for nil:NilClass (NoMethodError) > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 35:in `require'' > from /Users/westy/apps/ruby/piste_buddies/vendor/rails/railties/lib/ > commands/server.rb:1 > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `gem_original_require'' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `require'' > from script/server:3 > > i''m assuming it''s to do with the update, so i need to know if anyone > can advise me on how to revert it from 2.3.5 back to 2.3.3 (daft > question i know) > > can anyone suggest what this issue means? Google hasn''t been much help > so far, though i''ll keep plodding. > > thanks-- 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.
Quoting RubyonRails_newbie <craigwesty79-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>:> ok... > > so i now have version 2.3.3 of rails, but the error is still displayed > when I try to run: ruby script/server > > > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate'': > > undefined method `map'' for nil:NilClass (NoMethodError) > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 35:in `require'' > > from /Users/westy/apps/ruby/piste_buddies/vendor/rails/railties/lib/ > > commands/server.rb:1 > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 31:in `gem_original_require'' > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > 31:in `require'' > > from script/server:3 > > any ideas??gem list --local Start removing the latest version of the ones updated. I''m assuming you did ''gem update abc_gem'' or updated everything listed in ''gem outdated'' and the previous versions are still installed. If you uninstalled the older versions, you''ll have to depend on memory for the list to start reverting. HTH, Jeffrey -- 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.
Problem solved. I''d frozen gems earlier too, so removed the rails folder from vendor and it''s all ok now... Lesson learned there. I''ll not d that again. :-) On Jan 20, 9:45 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote:> Quoting RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>: > > > > > > > ok... > > > so i now have version 2.3.3 of rails, but the error is still displayed > > when I try to run: ruby script/server > > > > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate'': > > > undefined method `map'' for nil:NilClass (NoMethodError) > > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > > 35:in `require'' > > > from /Users/westy/apps/ruby/piste_buddies/vendor/rails/railties/lib/ > > > commands/server.rb:1 > > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > > 31:in `gem_original_require'' > > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > > 31:in `require'' > > > from script/server:3 > > > any ideas?? > > gem list --local > > Start removing the latest version of the ones updated. I''m assuming you did > ''gem update abc_gem'' or updated everything listed in ''gem outdated'' and the > previous versions are still installed. If you uninstalled the older versions, > you''ll have to depend on memory for the list to start reverting. > > HTH, > Jeffrey-- 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.
Seriously consider fixing your problem and upgrading to 2.3.5, though. There was a big vulnerability fixed in that release: http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released On Wed, Jan 20, 2010 at 9:48 PM, RubyonRails_newbie < craigwesty79-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Problem solved. > > I''d frozen gems earlier too, so removed the rails folder from vendor > and it''s all ok now... > > Lesson learned there. I''ll not d that again. :-) > > On Jan 20, 9:45 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > Quoting RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>: > > > > > > > > > > > > > ok... > > > > > so i now have version 2.3.3 of rails, but the error is still displayed > > > when I try to run: ruby script/server > > > > > > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:270:in `activate'': > > > > undefined method `map'' for nil:NilClass (NoMethodError) > > > > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > > > 35:in `require'' > > > > from > /Users/westy/apps/ruby/piste_buddies/vendor/rails/railties/lib/ > > > > commands/server.rb:1 > > > > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > > > 31:in `gem_original_require'' > > > > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > > > > 31:in `require'' > > > > from script/server:3 > > > > > any ideas?? > > > > gem list --local > > > > Start removing the latest version of the ones updated. I''m assuming you > did > > ''gem update abc_gem'' or updated everything listed in ''gem outdated'' and > the > > previous versions are still installed. If you uninstalled the older > versions, > > you''ll have to depend on memory for the list to start reverting. > > > > HTH, > > Jeffrey > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > >-- 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.
Craig Westmoreland wrote:> Problem solved. > > I''d frozen gems earlier too, so removed the rails folder from vendor > and it''s all ok now... > > Lesson learned there. I''ll not d that again. :-)Not do *what* again? I think you may have learned the wrong lesson... Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. --0003255574aaa86dd1047d9fd085 Content-Type: text/plain; charset=ISO-8859-1 -- 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. --0003255574aaa86dd1047d9fd085--