Sorry for the late reply.
The easiest way is to use a config.ru file (this is how you probably
run your Camping app anyway):
# in config.ru
map "/hello" do
run Hello
end
map "/sinatra" do
run Sinatra::Application.new
end
// Magnus Holm
On Sun, Dec 8, 2013 at 12:41 PM, Tim Uckun <[email protected]> wrote:
> The camping book says this
>
> You can also use Rack::URLMap to plug a whole bunch of different apps in to
> one folder. A camping app here, a rails project there, a sinatra doodad over
> there in the corner messing up the whole global namespace. The possibilities
> are severely limited!
>
> Does anybody have an example of how to do this?
>
> Thanks.
>
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list