Skip to content

Instantly share code, notes, and snippets.

@DevGW
Created December 29, 2022 13:43
Show Gist options
  • Save DevGW/cb2dc4b2609ce7d98fb9d279853f08b2 to your computer and use it in GitHub Desktop.
Save DevGW/cb2dc4b2609ce7d98fb9d279853f08b2 to your computer and use it in GitHub Desktop.
Ruby / Rails :: New Gem, Plugin or Engine
### GEM
rails gem new GEM_NAME
### PLUGIN / ENGINE
### use for rails extensions that don't require
### full application-like setup. but,
### since it's still a rails-specific setup
rails plugin new PLUGIN_NAME
### options for plugin
--full ### use for rails extensions that will be full-fledged app themselves, mounted into your app
--mountable ### same as --full, but will create namespaces, ready to be mounted into your app engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment