Skip to content

Instantly share code, notes, and snippets.

@openfirmware
Created November 12, 2013 20:32
Show Gist options
  • Select an option

  • Save openfirmware/7438140 to your computer and use it in GitHub Desktop.

Select an option

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`).
#!/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