Redmine 0.8 in Dreamhost
Added by Marco Catunda almost 18 years ago
I've just updated redmine from 0.7 to 0.8, with no success. I'm not rails expert, so I need help! :(
I updated rails using this command
Added this line at the top of config/environment.rb
Upgraded redmine throught svn update
The passenger complains rails 2.1.2 version, It haven't seen the new
version that I had upgraded by gem install as described above,
therefore I freeze the rails with the command below:
Now, the passenger display the following error:
I'm completely freeze, I have no idea what I have to do...
Does anyone could help me? Any tips?
--
Marco Catunda
Replies (5)
RE: Redmine 0.8 in Dreamhost
-
Added by Ankur Naik almost 18 years ago
Hmm, in my config/environment.rb, I don't have the ENV['GEM_PATH'] line, but I do have the following:
2.1.2 does not seem to be available any longer (gem list shows 2.2.2, 2.1.1, and 2.1.0), and according to this DreamHost wiki page "Passenger will not use the 'rails' installation in your local gems repository".
So I think if you remove your ENV['GEM_PATH'] setting and add the RAILS_GEM_VERSION line, it should work. Note: I've only tried it with 2.1.1.
RE: Redmine 0.8 in Dreamhost
-
Added by Kuba Zwolinski almost 18 years ago
I have the same problem as Marco, after commenting out session line in config/environment.rb I got different error
Then I tried Ankur's way - and got another error:
I have installed:
Ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-linux]
Rails 2.1.2 (custom installation)
Rack 0.9.0 (that is weird)
What is also interesting, my Redmine 0.7 on other domain works fine with the same settings
RE: Redmine 0.8 in Dreamhost
-
Added by Marco Catunda almost 18 years ago
RE: Redmine 0.8 in Dreamhost
-
Added by Enderson Maia almost 18 years ago
I've done everything you said before, but still have the error.
uninitialized constant ActionController::AbstractRequest
Changed RAILS_GEM_VERSION 2.1.1, 2.1.2, 2.2.2 and still have the error.
The error changes if I switch the lines config.action_controller.{session,session_store}
...
RE: Redmine 0.8 in Dreamhost
-
Added by Enderson Maia almost 18 years ago
Enderson Maia wrote:
I've done everything you said before, but still have the error.
uninitialized constant ActionController::AbstractRequestChanged RAILS_GEM_VERSION 2.1.1, 2.1.2, 2.2.2 and still have the error.
The error changes if I switch the lines
config.action_controller.{session,session_store}...
I did a rake rails:unfreeze before changing RAILS_GEM_VERSION to 2.1.1 and it works now.
:)