Hi, when I do cap deploy:cold I get this error: rake aborted! undefined local variable or method `acts_as_commentable'' for #<Class: 0x7fa1c34a2f10> /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ base.rb:1833:in `method_missing_without_paginate'' /usr/local/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.8/lib/ will_paginate/finder.rb:170:in `method_missing'' /var/www/testapp/releases/20090315203606/app/models/nibble.rb:2 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:382:in `load_without_new_constant_marking'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:382:in `load_file'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:521:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:381:in `load_file'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:256:in `require_or_load'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:427:in `load_missing_constant'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:77:in `const_missing'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:89:in `const_missing'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/inflector.rb:352:in `constantize'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/inflector.rb:351:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/inflector.rb:351:in `constantize'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/core_ext/string/inflections.rb:162:in `constantize'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:157:in `observed_class'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:183:in `observed_classes'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:166:in `initialize'' /usr/local/lib/ruby/1.8/singleton.rb:94:in `new'' /usr/local/lib/ruby/1.8/singleton.rb:94:in `instance'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:38:in `instantiate_observers'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:36:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:36:in `instantiate_observers'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_controller/dispatcher.rb:26:in `define_dispatcher_callbacks'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:182:in `call'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:182:in `evaluate_method'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:166:in `call'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:90:in `run'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:90:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:90:in `send'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:90:in `run'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/callbacks.rb:277:in `run_callbacks'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb: 559:in `send'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb: 559:in `prepare_dispatcher'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb: 173:in `process'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb: 112:in `send'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb: 112:in `run'' /var/www/testapp/releases/20090315203606/config/environment.rb:13 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:153:in `require'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:521:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:153:in `require'' /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/misc.rake:3 /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:577:in `invoke_with_call_chain'' /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in `invoke_with_call_chain'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31 /usr/local/bin/rake:19:in `load'' /usr/local/bin/rake:19 This error happens when capistrano tries to run rake db:migrate --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Sun, Mar 15, 2009 at 3:49 PM, Mike C <snibble-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, when I do cap deploy:cold I get this error: > > rake aborted! > undefined local variable or method `acts_as_commentable'' for #<Class: > 0x7fa1c34a2f10>I hate to ask the obvious, but... does the server you are pushing to have that installed, or is it in your source and properly in your SCM? -- (Ruby, Rails, Random) blog: http://skandragon.blogspot.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-/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 -~----------~----~----~----~------~----~------~--~---
I just checked and the plugin directory is in the source, but after you mentioned that I took a look inside the directory and it was empty. I''m using Git and I didn''t have vendor/plugins in the .gitignore so I''m not sure why it isn''t also including the contents of each plugin. On Mar 15, 1:55 pm, Michael Graff <skan.gryp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Mar 15, 2009 at 3:49 PM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, when I do cap deploy:cold I get this error: > > > rake aborted! > > undefined local variable or method `acts_as_commentable'' for #<Class: > > 0x7fa1c34a2f10> > > I hate to ask the obvious, but... does the server you are pushing to > have that installed, or is it in your source and properly in your SCM? > > -- > (Ruby, Rails, Random) blog: http://skandragon.blogspot.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Fixed the error. I had to remove the .git and .gitignore directory and file from the plugin directories individually. On Mar 15, 2:02 pm, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I just checked and the plugin directory is in the source, but after > you mentioned that I took a look inside the directory and it was > empty. I''m using Git and I didn''t have vendor/plugins in > the .gitignore so I''m not sure why it isn''t also including the > contents of each plugin. > > On Mar 15, 1:55 pm, Michael Graff <skan.gryp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Sun, Mar 15, 2009 at 3:49 PM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hi, when I do cap deploy:cold I get this error: > > > > rake aborted! > > > undefined local variable or method `acts_as_commentable'' for #<Class: > > > 0x7fa1c34a2f10> > > > I hate to ask the obvious, but... does the server you are pushing to > > have that installed, or is it in your source and properly in your SCM? > > > -- > > (Ruby, Rails, Random) blog: http://skandragon.blogspot.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---