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
Yes I am I believe. I've uninstalled rake several times and the error
is still the same.
undefined method `reenable' for <Rake::Task db:schema:dump =>
[environment]>:Rake::Task
I've spent all day looking over this....but now i'm a bit lost.
can anyone think of a solution to my issue from yesterday?
error = undefined method `reenable' for <Rake::Task db:schema:dump =>
[environment]>:Rake::Task
i've searched all over. sites suggest deleting rake, but this hasn't
helped
they have also suggested adding rake to the PATH directory, but unsure
how to carry this out..
Well sounds like you've done the checking. You'd want to remove the
one installed by your distro (in general distro provided stuff lags
quite a bit behind whats available via rubygems. I also seem to recall
that on some distros the distro provided rubygems is hobbled a bt in
order to make it work nicer with the package management system - some
people thus recommend installing rubygems separately (I don't use
linux myself though so not sure whether this is still current etc))
Still trying to resolve this...
Looking on gem list --remote i have this:
rake (0.8.7)
LIkewise when I do gem list --local i get:
rake (0.8.7)
If I do: apt-get autoremove rake and then run rake --version, it says
''ERROR: While executing gem ... (RuntimeError) Unknown command
db:migrate''
that's weird - that would only make sense if you'd typed gem
db:migrate!
So - I tried to unistall it all again and reinstall rake and the gem
at root level
Well you definitely don't want to reinstall rate from apt - you only
want the gem version. I really don't know enough about installing ruby
on a linux machine to comment any further though - you've got yourself
into some weird state