WebFaction
Community site: login faq

Hello,

I'm trying to migrate Redmine from a Bitnami stack to Webfaction. I've followed the Webfaction docs, creating the app/website, using Rails 2.3.5 and Redmine 1.0.1 (the same as my Bitnami stack). I've also exported the database from Bitnami and imported to Webfaction. But, when I do:

rake db:migrate RAILS_ENV=production

I get:

rake aborted! undefined local variable or method `version_requirements' for #<Rails::GemDependency:0x9d8d23c>

After some googling, I found a solution for that: http://www.redmine.org/issues/7516#note-3 so, I could apply the rake migrate task.

But, finally, when I try to access to Redmine, it seems that I get a dependency error: http://sabercofrade.webfactional.com/

Any ideas? Thanks!

asked 27 Apr '11, 05:16

Sergio Rus
2338
accept rate: 0%

edited 28 Apr '11, 02:49

Solved. I applied the patch and restarted rails. It works.

(28 Apr '11, 02:53) Sergio Rus

I still see the same error at http://sabercofrade.webfactional.com/, namely:

undefined local variable or method `version_requirements' for # <Rails::GemDependency:0x9d8d23c >

Did you restart your Rails application after applying the patch? If not, please do so.

permanent link

answered 27 Apr '11, 05:45

tie
1.4k13
accept rate: 44%

Yes, you got that message because I removed the patch. If I add the patch and restart the server, this is what I get:

Error message: superclass mismatch for class GemDependency

This is my config/environment.rb: http://pastie.org/1838849

(27 Apr '11, 06:15) Sergio Rus

My guess is that this is related to some incompatibility between Redmina and your version of RubyGems. I'd suggest that you do a blank installation of another version of Redmine.

(27 Apr '11, 06:42) tie

OK, thanks

(27 Apr '11, 06:45) Sergio Rus
Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×102
×46
×5

question asked: 27 Apr '11, 05:16

question was seen: 4,199 times

last updated: 28 Apr '11, 02:53

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM