Sunday, April 24, 2011

[Rails] Start another rack app from within Rails

Our Rails app depends on another (running) Sinatra rack application.
For testing purposes I would like to start this Sinatra app from
within Rails. I tried to start it in the spec_helper and in a Rake
task (with system("rackup"), but there seems to be conflicts ("shotgun
is not part of the bundle", "uninitialized constant
ActionController::Base (NameError)"). When starting it from bash
directly then everything seems to work fine.
How could I rackup the other rack app from within Rails?

Best regards,
Kai

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate