Tuesday, October 20, 2009

Rake problems in Ubuntu 8.10/9.04

So I just had a problem with the RAKE command in Ruby On Rails on an Ubuntu system. It appears as though there is some kind of duplicate program execution.

Here is the error that I had been getting
undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task
Here is how I got it working on my system

1. Uninstall the rake using apt-get
apt-get remove rake
2. Update the rake gem
gem install rake
3. Create a sym link to usr/bin
cd /usr/bin
ln -s /var/lib/gems/1.8/gems/rake-0.8.7/bin/rake
That should do it.

No comments:

Post a Comment

Raspberry Pi Zero W - Wireless Configuation

create the file under "boot" folder wpa_supplicant.conf country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev u...