Skip to content

Instantly share code, notes, and snippets.

@rplaurindo
Last active February 25, 2018 23:26
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 rplaurindo/feff525f666e1c1d3b64 to your computer and use it in GitHub Desktop.
Save rplaurindo/feff525f666e1c1d3b64 to your computer and use it in GitHub Desktop.

Generating

Run:

$ rails plugin new <name>

To generate a isolated engine use --mountable

The .rb file generated in folder lib should have the same name of the gem, otherwise it will not load automatically.

To more informatiation run: $ rails plugin new --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment