If you put a config.ru into the root of your project, you can point to
any rack app (including rails) inside of any arbitrary subdirectory.
If you're using rails, this will work:
subdir = File.dirname(__FILE__) + '/my_subdir'
require "#{subdir}/config/environment"
use Rails::Rack::LogTailer
use Rails::Rack::Static
run ActionController::Dispatcher.new
Just replace my_subdir with the name of your subdirectory.
Adam
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.