I''ve been working on an app, and had a friend check it out to his machine. I''ve got rails and all my plugins set up with svn:externals, so when he svn ups it he gets all the latest stuff. I''ve just svn up''d both machines so we''re running the same versions of everything. We''re also running the same version of ruby (1.8.4). As far as I can tell, our configs are exactly the same. The migration works fine on my machine. On his machine, we get: Robook:~/dev/laliga/trunk bjclark$ rake db:migrate --trace (in /Users/bjclark/dev/laliga/trunk) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `load_paths='' for Dependencies:Module /Users/bjclark/dev/laliga/trunk/config/../vendor/rails/railties/lib/initializer.rb:134:in `set_autoload_paths'' /Users/bjclark/dev/laliga/trunk/config/../vendor/rails/railties/lib/initializer.rb:83:in `process'' /Users/bjclark/dev/laliga/trunk/config/../vendor/rails/railties/lib/initializer.rb:42:in `run'' /Users/bjclark/dev/laliga/trunk/config/../config/environment.rb:13 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' /Users/bjclark/dev/laliga/trunk/config/../vendor/rails/railties/lib/tasks/misc.rake:3 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/local/bin/rake:18 Any idea what''s going on? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat, did you ever find out what was causing the problem you mention below? I''m hitting it as well, I''m on Mac, and have frozen our project to edge rails. Migrations work fine for me, but my partner, running on Windows, is having the problem you speak of below. I''d love to find a solution if you know of one...thanks! Pat Maddox wrote:> The migration works fine on my machine. On his machine, we get: > > Robook:~/dev/laliga/trunk bjclark$ rake db:migrate --trace > (in /Users/bjclark/dev/laliga/trunk) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > rake aborted! > undefined method `load_paths='' for Dependencies:Module--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2006-Nov-08 23:51 UTC
Re: undefined method `load_paths='' for Dependencies:Module
On 11/8/06, cameron <cameron.booth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Pat, did you ever find out what was causing the problem you mention > below? I''m hitting it as well, I''m on Mac, and have frozen our project > to edge rails. Migrations work fine for me, but my partner, running on > Windows, is having the problem you speak of below. > > I''d love to find a solution if you know of one...thanks!Nope, I was hoping that someone on the list might know and respond..no such luck. Pat --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Cameron Booth
2006-Nov-09 18:30 UTC
Re: undefined method `load_paths='' for Dependencies:Module
Pat, We ended up finding the problem, it was the fact that we had the rails_rcov plugin installed, but didn''t have the rcov gem installed. Running gem install rcov cleared it up. If that helps you, great! Cameron On 8-Nov-06, at 5:51 PM, Pat Maddox wrote:> > On 11/8/06, cameron <cameron.booth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Pat, did you ever find out what was causing the problem you mention >> below? I''m hitting it as well, I''m on Mac, and have frozen our >> project >> to edge rails. Migrations work fine for me, but my partner, >> running on >> Windows, is having the problem you speak of below. >> >> I''d love to find a solution if you know of one...thanks! > > Nope, I was hoping that someone on the list might know and respond..no > such luck. > > Pat--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---