hi, what is my rails missing here? /usr/local/lib/site_ruby/1.8/rubygems.rb:270:in `activate'': undefined method `map'' for nil:NilClass (NoMethodError) from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `each'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `each'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:295:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:68:in `gem'' from ./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:32:in `add_load_paths'' from /opt/rails/billoflading/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:283:in `to_proc'' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:241:in `each'' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:241:in `add_gem_load_paths'' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:115:in `process'' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:93:in `send'' from ./script/../config/../vendor/rails/railties/lib/initializer.rb:93:in `run'' from /opt/rails/billoflading/config/environment.rb:13 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' from /opt/rails/billoflading/vendor/rails/railties/lib/commands/generate.rb:1 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' from script/generate:3 this happened after installing another gem. prior that one the server / the other rails-apps are running fine... thx -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
On Jan 12, 2010, at 11:43 AM, tom wrote:> hi, what is my rails missing here? >[snip]> > > this happened after installing another gem. prior that one the server > / the other rails-apps are running fine...Can you specify which gem you installed? The only explanation I can think of is that it''s specifying an explicit dependency on an earlier version of Rails, and we aren''t correctly stubbing @loaded_stacks for the vendor/rails versions. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
well i had a standard up2dat rails installation up to this point. the "error" came after installing them restfulx gem, and putting it into environment.rb. im just unsure, coz i did this several times on other test machines and it was just working fine...unless i forgot something else again like some dev-libraries or other things. any ideas? thx tom -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
2010/1/12 tom <tomabroad@gmail.com>> well i had a standard up2dat rails installation up to this point. > > > the "error" came after installing them restfulx gem, and putting it > into environment.rb. > > im just unsure, coz i did this several times on other test machines > and it was just working fine...unless i forgot something else again > like some dev-libraries or other things. > any ideas? > > thx tom >Have you tried removing the problem gem and testing to see if the problem goes away? Anuj> > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com<rubyonrails-core%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > > >-- Anuj DUTTA -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
yes, and the server starts up fine thx On Tue, Jan 12, 2010 at 12:11 PM, Anuj Dutta <dutta.anuj@googlemail.com> wrote:> > > 2010/1/12 tom <tomabroad@gmail.com> >> >> well i had a standard up2dat rails installation up to this point. >> >> >> the "error" came after installing them restfulx gem, and putting it >> into environment.rb. >> >> im just unsure, coz i did this several times on other test machines >> and it was just working fine...unless i forgot something else again >> like some dev-libraries or other things. >> any ideas? >> >> thx tom > > > Have you tried removing the problem gem and testing to see if the problem > goes away? > > Anuj > > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Core" group. >> To post to this group, send email to rubyonrails-core@googlegroups.com. >> To unsubscribe from this group, send email to >> rubyonrails-core+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-core?hl=en. >> >> >> > > > > -- > Anuj DUTTA > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
On Jan 12, 2010, at 11:43 AM, tom wrote:> hi, what is my rails missing here? > > from ./script/../config/../vendor/rails/railties/lib/ > initializer.rb:241:in > `each'' > from ./script/../config/../vendor/rails/railties/lib/ > initializer.rb:241:in > `add_gem_load_paths''Took a minute to track down when this code appeared on this line. It would have been helpful to know that you''re running 2.1.0 in vendor/ rails... I don''t think it''s going to work well for you, as the 2.1.x gem loader has known issues with loading gems that depend on Rails gems while running from vendor/rails. See these tickets for more details: https://rails.lighthouseapp.com/projects/8994/tickets/1107 https://rails.lighthouseapp.com/projects/8994/tickets/1123 Hope this helps. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
matt, thx for ur help - but to b honest - im not sure what to do now...can u give me a hint what i should uninstall and what to install? thx so much! tom -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
On Jan 12, 2010, at 12:54 PM, tom wrote:> matt, thx for ur help - but to b honest - im not sure what to do > now...can u give me a hint what i should uninstall and what to > install?That depends - if the app you''re trying to add RestfulX to is actually intended to run with 2.1.1, I''d say you''re pretty much stuck. The other option would be to zap the old vendor/rails and try running against 2.3.5. I suspect the latter is going to cause some pretty serious problems if the app is 2.1.x-era. --Matt JOnes -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.