Update - I have also tried this, but with no luck: http://antono.info/en/138
(which explains to do this: sudo aptitude remove rake
sudo gem install rake

Im at a bit of a loss now..

ANy thoughts?

On 29 Dec, 16:23, RubyonRails_newbie <[email protected]>
wrote:
> Hello,
>
> I am trying to deploy my app at the moment, and each time I do, I get
> the following error when i run a trace on it:
>
> rake db:migrate --trace
>
> (in /srv/some area/someplaceelse...)
> ** Invoke db:migrate (first_time)
> ** Invoke environment (first_time)
> ** Execute environment
> ** Execute db:migrate
> ** Invoke db:schema:dump (first_time)
> ** Invoke environment
> ** Execute db:schema:dump
> rake aborted!
>
> undefined method `reenable' for <Rake::Task db:schema:dump =>
> [environment]>:Rake::Task
>
> /var/lib/gems/1.8/gems/rails-2.3.3/lib/tasks/databases.rake:253
> /usr/lib/ruby/1.8/rake.rb:546:in `call'
> /usr/lib/ruby/1.8/rake.rb:546:in `execute'
> /usr/lib/ruby/1.8/rake.rb:541:in `each'
> /usr/lib/ruby/1.8/rake.rb:541:in `execute'
> /usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain'
> /usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
> /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
> /usr/lib/ruby/1.8/rake.rb:494:in `invoke'
> /var/lib/gems/1.8/gems/rails-2.3.3/lib/tasks/databases.rake:117
> /usr/lib/ruby/1.8/rake.rb:546:in `call'
> /usr/lib/ruby/1.8/rake.rb:546:in `execute'
> /usr/lib/ruby/1.8/rake.rb:541:in `each'
> /usr/lib/ruby/1.8/rake.rb:541:in `execute'
> /usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain'
> /usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
> /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
> /usr/lib/ruby/1.8/rake.rb:494:in `invoke'
> /usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task'
> /usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
> /usr/lib/ruby/1.8/rake.rb:1909:in `each'
> /usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
> /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
> /usr/lib/ruby/1.8/rake.rb:1903:in `top_level'
> /usr/lib/ruby/1.8/rake.rb:1881:in `run'
> /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
> /usr/lib/ruby/1.8/rake.rb:1878:in `run'
> /usr/bin/rake:28
>
> Does anyone know how to resolve this?
>
> Many 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to