diff --git a/config/environment.rb b/config/environment.rb index 79a16e1..166ad8d 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -12,5 +12,23 @@ Rails::Initializer.run do |config| config.time_zone = 'UTC' config.action_mailer.delivery_method = :smtp + + config.gem "ambethia-smtp-tls", + :version => "1.1.2", + :source => "http://gems.github.com" + config.gem "tobi-delayed_job", + :version => "1.7.0", + :source => "http://gems.github.com" + config.gem "thoughtbot-paperclip", + :version => "2.2.9.2", + :source => "http://gems.github.com" + config.gem "right_aws", + :version => "1.10.0" + config.gem "rubaidh-google_analytics", + :version => "1.1.4", + :source => "http://gems.github.com" + config.gem "yfactorial-utility_scopes", + :version => "0.2.2", + :source => "http://gems.github.com" end diff --git a/config/environments/cucumber.rb b/config/environments/cucumber.rb index 609aeba..0fee56b 100644 --- a/config/environments/cucumber.rb +++ b/config/environments/cucumber.rb @@ -15,11 +15,14 @@ config.action_controller.allow_forgery_protection = false # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test -config.gem "cucumber", :lib => false, :version => ">=0.3.11" -config.gem "webrat", :lib => false, :version => ">=0.4.4" - -# config.gem "rspec", :lib => false, :version => ">=1.2.6" -# config.gem "rspec-rails", :lib => 'spec/rails', :version => ">=1.2.6" +# rake gems:install RAILS_ENV=cucumber + +config.gem "cucumber", + :lib => false, + :version => ">=0.3.11" +config.gem "webrat", + :lib => false, + :version => ">=0.4.4" require 'rubygems' require 'factory_girl' diff --git a/config/environments/test.rb b/config/environments/test.rb index b5723e2..f64806b 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -21,6 +21,21 @@ config.action_controller.allow_forgery_protection = false # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test +# rake gems:install RAILS_ENV=test + +config.gem 'jferris-mocha', + :version => '0.9.5.0.1241126838', + :source => 'http://gems.github.com', + :lib => 'mocha' +config.gem 'thoughtbot-factory_girl', + :lib => 'factory_girl', + :source => 'http://gems.github.com', + :version => '>= 1.2.0' +config.gem 'thoughtbot-shoulda', + :lib => 'shoulda', + :source => 'http://gems.github.com', + :version => '>= 2.10.1' + HOST = 'localhost' require 'shoulda' diff --git a/script/create_project b/script/create_project index 55d7cd4..1afafd3 100755 --- a/script/create_project +++ b/script/create_project @@ -54,6 +54,10 @@ end run("git commit -a -m 'New Heroku Suspenders app'") +run("rake gems:install RAILS_ENV=development") +run("rake gems:install RAILS_ENV=test") +run("rake gems:install RAILS_ENV=cucumber") + run("rake db:migrate RAILS_ENV=development") run("rake db:migrate RAILS_ENV=test") run("rake db:migrate RAILS_ENV=cucumber") -- libgit2 0.21.2