Skip to content

Instantly share code, notes, and snippets.

@jm
Created October 22, 2008 14:23
Show Gist options
  • Save jm/18646 to your computer and use it in GitHub Desktop.
Save jm/18646 to your computer and use it in GitHub Desktop.
template(:entp) do
plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git'
plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git'
plugin 'open_id_authentication', :git => 'git://github.com/rails/open_id_authentication.git'
plugin 'exception_notifier', :git => 'git://github.com/rails/exception_notification.git'
gem 'will-paginate', :git => 'git://github.com/mislav/will_paginate.git'
gem 'ruby-openid'
task "thing" do
puts "random rake task that goes in application.rake"
end
rakefile "hello.rake" do
task :poop do
do_other_thing
end
end
end
~/code/rg > ruby bin/rg my_rails_app -d mysql -t entp
generating app
applying template
installing plugin rspec
installing plugin rspec-rails
installing plugin open_id_authentication
installing plugin exception_notifier
vendoring gem will-paginate
vendoring gem ruby-openid
adding task :thing
adding rakefile hello.rake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment