Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to run within mountable engine within a dummy app (using jasminerice) #83

Merged
merged 2 commits into from
Oct 16, 2012

Conversation

pschyska
Copy link
Contributor

We have a mountable engine with dummy app located at spec/dummy
Jasminerice serves the specs up correctly @ /jasmine

guard-jasmine fails to rackup the dummy app, because it is running rackup in the engine dir. Therefore, it hangs at

Guard::Jasmine starts webrick test server on port 8888 in development environment.

Using the verbose option, one can clearly see it's looking for engine_dir/config.ru.

This patch adds the ability to provide a rackup_config option to point to the correct file.

guard :jasmine, :server => :webrick, :rackup_config => 'spec/dummy/config.ru' do
  [...]
end

@netzpirat netzpirat merged commit 462b8f4 into guard:master Oct 16, 2012
@netzpirat
Copy link
Contributor

Thanks a lot! Released with version 1.9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants