I used rackup in a rails 3 application
rackup config.ru
This started to serve the rails app from port 9292
[2012-08-01 23:00:05] INFO WEBrick 1.3.1
[2012-08-01 23:00:05] INFO ruby 1.9.3 (2011-10-30) [x86_64-darwin11.2.0]
[2012-08-01 23:00:05] INFO WEBrick::HTTPServer#start: pid=3887 port=9292
Now, I want to use this Rails 3 app (A) from inside another rails 3 app (B) under a path (say /mycoolappB ). According to what I learn, I need to modify the routes.rb in app B by adding a match command that can direct this path to App A.
The examples here are given for Sinatra::Base.
http://asciicasts.com/episodes/222-rack-in-rails-3
So, I was wondering if what I am trying to do here is possible and, if so, what would be the best approach.
thanks in advance,
Steve