Hey All, I am having a problem getting an old Ruby on Rails 2 app that hasn''t worked in a year to work. I''m trying to run rake test:functionals in the root of my project directory but am getting undefined method `name'' for "SystemTimer":String I''ve pasted everything that I believe relevant to the problem here: http://pastebin.com/NgBvystZ Also, when I run rake itself, I get Errors running test:units! Not sure how to debug that. I have copied and pasted everything that I think would be useful to understanding this problem. Your time is greatly appreciated. Thank you. -- Posted via http://www.ruby-forum.com/. -- 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.
Kendall Gifford
2011-May-19 21:55 UTC
[Rails] Re: undefined method `name' for “SystemTimer”:String
On Thursday, May 19, 2011 3:41:22 PM UTC-6, Ruby-Forum.com User wrote:> > Hey All, > > I am having a problem getting an old Ruby on Rails 2 app that hasn''t > worked in a year to work. > > I''m trying to run rake test:functionals in the root of my project > directory but am getting undefined method `name'' for > "SystemTimer":String > > I''ve pasted everything that I believe relevant to the problem here: > http://pastebin.com/NgBvystZ > > Also, when I run rake itself, I get Errors running test:units! Not sure > how to debug that. > > I have copied and pasted everything that I think would be useful to > understanding this problem. Your time is greatly appreciated. Thank you. > > >I noticed that you''ve got rails vendored. Even though you list the gems on your system, I can''t know for sure what version of ruby you''re running on since its running on the vendored version. Either tell us what all you''ve got vendored or just un-vendor rails and run it off your system. I personally recommend migrating to using bundler. You can use this guide to set it up for a rails 2.3 app (if it is 2.3.x): http://gembundler.com/rails23.html Either way, it looks like you''ve got an old version of rails interacting w/a very new version or rubygems. Not sure though. Let us know what''s in vendor/ -- 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.