Skip to content
This repository has been archived by the owner. It is now read-only.

Running Redmine - no config.ru #98

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

Comments

@vitobotta
Copy link

commented Apr 13, 2011

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

This comment has been minimized.

Copy link

commented Apr 13, 2011

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

This comment has been minimized.

Copy link
Member

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 Apr 13, 2011

@vitobotta

This comment has been minimized.

Copy link
Author

commented Apr 13, 2011

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

@tjgfernandes

This comment has been minimized.

Copy link

commented Nov 14, 2011

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants
You can’t perform that action at this time.