Skip to content

Instantly share code, notes, and snippets.

@johnnaegle
Last active December 17, 2015 03:39
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 johnnaegle/5545313 to your computer and use it in GitHub Desktop.
Save johnnaegle/5545313 to your computer and use it in GitHub Desktop.
Create a new rails plugin
~/projects/scratch> rails plugin new .
create README.rdoc
create Rakefile
create scratch.gemspec
create MIT-LICENSE
create .gitignore
create Gemfile
create lib/scratch.rb
create lib/tasks/scratch_tasks.rake
create lib/scratch/version.rb
create test/test_helper.rb
create test/scratch_test.rb
append Rakefile
vendor_app test/dummy
run bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment