Based on the error you likely have rake installed at the system level so
it's causing problems when the Gemfile specifies a different rake version.
 I'd recommend uninstalling rake at the system level and then re-running
bundle install --path vendor after you've switched into your tracks
directory.  Then try the bundle exec rake command again.

On Mon, Jun 25, 2012 at 12:03 AM, Olaf TNSB
<[email protected]>wrote:

> Hi All,
>
> Can someone please help me upgrade from Tracks 2.0 on a Virtual
> Machine (ubuntu) to 2.1 Native on my OSX machine AND keep my data?
>
> I can get the new tracks install working (I'm using the Bitnami
> install) - but - I can't seem to work out how to keep my current
> database.
>
> I have looked at the following pages without a whole lot of success...
>   http://getontracks.org/manual/upgrading.html
>
> http://bitnami.org/forums/forums/tracks/topics/upgrading-virtual-installing-and-keeping-data
>
>
> I have tried dumping the db down on my vm and then reloading on the new
> server
>
>  $ mysql -u root -p bitnami_tracks < tracks_backup.sql
>
> but when I restart Tracks I can't log in - my username/password fails
> (they are the same on both the VM and native install).
>
> I have tried updating my database:
>
>  $ bundle exec rake db:migrate RAILS_ENV=production
>
> but all I get is the following error:
>
>  rake aborted!
>  You have already activated rake 0.9.2.2, but your Gemfile requires
> rake 0.8.7. Using bundle exec may solve this.
>
> I suspect that there is something happening with the bitnami
> rails/rake install, but I'm a bit of a OSX and rails beginner (much
> more happy in GNU/Linux) so I don't really know where to start.
>
>
> Can anyone help?  I understand that this might be more of a bitnami
> issue and I've posted the same over on their help pages:
>
> http://answers.bitnami.org/questions/5571/tracks-help-upgrade-from-tracks-20-virtual-to-21-native-osx-with-data
>
>
> Thanks!
> _______________________________________________
> Tracks-discuss mailing list
> [email protected]
> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
>
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to