Created
November 12, 2013 20:32
-
-
Save openfirmware/7438140 to your computer and use it in GitHub Desktop.
For Rails Engines, to start the dummy server with a single command. Save in `bin` directory, and make executable with chmod. Will pass arguments along to `rails server` (e.g. `-p 8080`).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cd "test/dummy" && rails server $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment