Skip to content

Instantly share code, notes, and snippets.

@randallreedjr
Last active April 19, 2016 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save randallreedjr/441666e7d56c695479f0989e85ee47e1 to your computer and use it in GitHub Desktop.
Save randallreedjr/441666e7d56c695479f0989e85ee47e1 to your computer and use it in GitHub Desktop.
Useful options when generating a Rails engine
rails plugin new -OJT --skip-bundle --mountable --dummy-path spec/dummy
OJT prevents assets and test unit files being generated,
skip bundle because you're going to be adding rspec
--dummy-path because that's where rspec will live
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment