Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Running Redmine - no config.ru #98

Closed
vitobotta opened this issue Apr 13, 2011 · 4 comments
Closed

Running Redmine - no config.ru #98

vitobotta opened this issue Apr 13, 2011 · 4 comments

Comments

@vitobotta
Copy link

Hi, I have started using Pow for a few apps in development and I love it!
However I am also trying to get a copy of Redmine working locally. It uses Rails 2.3.5 and doesn't have any config.ru.
Is there a quick and easy way to get Redmine working with Pow?

Thanks!

@DarthNerdus
Copy link

There is actually a config.ru file included that worked for me. You'll find it at redmine/vendor/rails/railties/dispatches/config.ru
You can just copy it to the root redmine folder and it should work. For reference here are the file's contents:

# Rack Dispatcher

# Require your environment file to bootstrap Rails
require File.dirname(__FILE__) + '/config/environment'

# Dispatch the request
run ActionController::Dispatcher.new

Hope that helps!

@jeremy
Copy link
Member

jeremy commented Apr 13, 2011

Redmine could add a config.ru upstream, too! We do this for our 2.3.x apps.

@jeremy jeremy closed this as completed Apr 13, 2011
@vitobotta
Copy link
Author

Thanks a lot! I just copied and pasted into the config.ru and it's working fine. Thanks :)

@tjgfernandes
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants