login community faq

I have a Redmine 1.3.0 installation which I am trying to upgrade to 1.4.4.

I have followed the instructions here - http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade - by copying the relevant files into a new redmine-1.4.4 directory alongside the current installation. But when I get to the stage with rake generate_secret_token, this fails because rake is not on the path. If I run the installed version of rake directly, ie. ../bin/rake generate_secret_token, I get a more complex error:

1
2
3
    from /usr/local/ruby1.8.7ee/lib/ruby/site_ruby/1.8/rubygems.rb:255:in `activate'
    from /usr/local/ruby1.8.7ee/lib/ruby/site_ruby/1.8/rubygems.rb:1204:in `gem'
    from ../bin/rake:18

So obviously I need to be doing something else with ruby/rake/etc to get this to work. What is this, and is it documented anywhere? Or is there some Webfaction-specific way I should be handling this upgrade?

asked Oct 09 '12 at 10:17

Kylotan's gravatar image

Kylotan
52

edited Oct 09 '12 at 16:25


You probably need to set your environment variables as described at the top of the WebFaction Rails documentation.

1
2
3
4
cd ~/webapps/your_app
export PATH=$PWD/bin:$PATH
export GEM_HOME=$PWD/gems
export RUBYLIB=$PWD/lib

Hope that helps!

answered Oct 09 '12 at 19:32

seanf's gravatar image

seanf ♦♦
56291220

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×56
×35
×20
×4

Asked: Oct 09 '12 at 10:17

Seen: 422 times

Last updated: Oct 09 '12 at 19:32

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited