This forum is no longer active. Please post your questions to our new community site

Forums Redmine

out of the box - ActionController::AbstractRequest

Subscribe to out of the box - ActionController::AbstractRequest 8 post(s), 2 voice(s)

 
Avatar dld 9 post(s)

I’ve been having all sorts of problems getting rake to work either in Ubuntu (as vitual machine) or in windows as native. Finally I stopped trying to import old databases and plugins etc and did a fresh install (native on vista) then ran the rake command. It failed, as usual with “unititialized constant ActionController::AbstractRequest”.

From what I’ve seen around the web the ‘mongrel_cluster_with_rails_23_fix.rb’ file in config/initializers’ should address this issue but doesn’t seem to on my box? I downloaded the bitnami_redmine stack yesterday so I’m guessing it’s pretty up to date.

Any suggestions on what uses it or how to fix it?

Thanks.

 
Avatar dld 9 post(s)

Using a rather old hint from http://bitcube.co.uk/content/redmine-project-ma… I inserted the line

ActionController::AbstractRequest.relative_url_root = "C:\Program Files\BitNami Redmine Stack\apps\re

into redmine/config/environments.rb. the result of which to reduce the alarm to just “unititialized constant ActionController” but still no go.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

The “mongrel_cluster_with_rails_23_fix.rb” is only for Unix platforms, it is not necessary for Windows.

 
Avatar dld 9 post(s)

Thanks Beltran,

I have also tried installing the stack on my Ubuntu virtual machine but ran into similar problems. I am going to go back to that installation today to see if I can work through the problem. I am just concerned by the number of references to the fact that AbstactRequest is no longer used so dont understand why it is being referenced? Will give a heads up if I make any progress.

 
Avatar dld 9 post(s)

FYI – ran into the same problem when trying to migrate the database from a fresh install in Ubuntu.

 
Avatar dld 9 post(s)

Howdy all,
Quick heads up – using the syntax “RAILS_ENV=production rake db:migrate” rather than “rake db:migrate RAILS_ENV=production” I was able to get through the migrate up to a point where 2 of the tables already existed and had to be removed in mysql (DROP TABLE table_name). The migrate then completed successfully.

Dont get too excited – I cant actually connect to localhost yet even though ./ctlscript shows everything running. Still – one step at a time :-)

 
Avatar dld 9 post(s)

ok – connected to “http://localhost:8080/redmine/” instead and there it is! my old database in all its splendor!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi, I’m glad to hear this.

Forums Redmine