Created
October 22, 2008 16:27
-
-
Save jm/18685 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/code/rg > ruby bin/rg hey -d mysql -t thoughtbot | |
generating app | |
applying template | |
vendoring gem mislav-will_paginate | |
vendoring gem RedCloth | |
vendoring gem mocha | |
vendoring gem thoughtbot-factory_girl | |
vendoring gem thoughtbot-shoulda | |
vendoring gem quietbacktrace | |
installing plugin squirrel | |
installing plugin hoptoad_notifier | |
installing plugin limerick_rake | |
installing plugin mile_marker | |
adding initializer hoptoad.rb | |
adding initializer action_mailer_configs.rb | |
adding initializer requires.rb | |
adding initializer time_formats.rb | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template(:thoughtbot) do | |
gem 'mislav-will_paginate' | |
gem 'RedCloth' | |
gem 'mocha' | |
gem 'thoughtbot-factory_girl' | |
gem 'thoughtbot-shoulda' | |
gem 'quietbacktrace' | |
plugin 'squirrel', :git => 'git://github.com/thoughtbot/squirrel.git' | |
plugin 'hoptoad_notifier', :git => 'git://github.com/thoughtbot/hoptoad_notifier.git' | |
plugin 'limerick_rake', :git => 'git://github.com/thoughtbot/limerick_rake.git' | |
plugin 'mile_marker', :git => 'git://github.com/thoughtbot/mile_marker.git' | |
initializer 'hoptoad.rb' do | |
HoptoadNotifier.configure do |config| | |
config.api_key = 'HOPTOAD-KEY' | |
end | |
end | |
initializer 'action_mailer_configs.rb' do | |
ActionMailer::Base.smtp_settings = { | |
:address => "smtp.thoughtbot.com", | |
:port => 25, | |
:domain => "thoughtbot.com" | |
} | |
end | |
initializer 'requires.rb' do | |
require 'redcloth' | |
Dir[File.join(RAILS_ROOT, 'lib', 'extensions', '*.rb')].each do |f| | |
require f | |
end | |
Dir[File.join(RAILS_ROOT, 'lib', '*.rb')].each do |f| | |
require f | |
end | |
# Rails 2 doesn't like mocks | |
Dir[File.join(RAILS_ROOT, 'test', 'mocks', RAILS_ENV, '*.rb')].each do |f| | |
require f | |
end | |
end | |
initializer 'time_formats.rb' do | |
# Example time formats | |
{ :short_date => "%x", :long_date => "%a, %b %d, %Y" }.each do |k, v| | |
ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.update(k => v) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment