Permalink
Browse files

Include Rails as a development dependency

  • Loading branch information...
1 parent b9b38f6 commit 129b612ee2630d06ff953057e730ce1ee7bc08ed @bkeepers bkeepers committed Sep 6, 2010
Showing with 49 additions and 3 deletions.
  1. +1 −1 Gemfile
  2. +47 −1 Gemfile.lock
  3. +1 −1 spec/spec_helper.rb
View
2 Gemfile
@@ -5,6 +5,6 @@ gem 'daemons'
group :development do
gem 'rspec'
gem 'rake'
- gem 'activerecord', '~>3'
+ gem 'rails', '~>3'
gem 'sqlite3-ruby'
end
View
48 Gemfile.lock
@@ -1,6 +1,20 @@
GEM
remote: http://rubygems.org/
specs:
+ abstract (1.0.0)
+ actionmailer (3.0.0)
+ actionpack (= 3.0.0)
+ mail (~> 2.2.5)
+ actionpack (3.0.0)
+ activemodel (= 3.0.0)
+ activesupport (= 3.0.0)
+ builder (~> 2.1.2)
+ erubis (~> 2.6.6)
+ i18n (~> 0.4.1)
+ rack (~> 1.2.1)
+ rack-mount (~> 0.6.12)
+ rack-test (~> 0.5.4)
+ tzinfo (~> 0.3.23)
activemodel (3.0.0)
activesupport (= 3.0.0)
builder (~> 2.1.2)
@@ -10,24 +24,56 @@ GEM
activesupport (= 3.0.0)
arel (~> 1.0.0)
tzinfo (~> 0.3.23)
+ activeresource (3.0.0)
+ activemodel (= 3.0.0)
+ activesupport (= 3.0.0)
activesupport (3.0.0)
arel (1.0.1)
activesupport (~> 3.0.0)
builder (2.1.2)
daemons (1.1.0)
+ erubis (2.6.6)
+ abstract (>= 1.0.0)
i18n (0.4.1)
+ mail (2.2.5)
+ activesupport (>= 2.3.6)
+ mime-types
+ treetop (>= 1.4.5)
+ mime-types (1.16)
+ polyglot (0.3.1)
+ rack (1.2.1)
+ rack-mount (0.6.13)
+ rack (>= 1.0.0)
+ rack-test (0.5.4)
+ rack (>= 1.0)
+ rails (3.0.0)
+ actionmailer (= 3.0.0)
+ actionpack (= 3.0.0)
+ activerecord (= 3.0.0)
+ activeresource (= 3.0.0)
+ activesupport (= 3.0.0)
+ bundler (~> 1.0.0)
+ railties (= 3.0.0)
+ railties (3.0.0)
+ actionpack (= 3.0.0)
+ activesupport (= 3.0.0)
+ rake (>= 0.8.4)
+ thor (~> 0.14.0)
rake (0.8.7)
rspec (1.3.0)
sqlite3-ruby (1.3.1)
+ thor (0.14.0)
+ treetop (1.4.8)
+ polyglot (>= 0.3.1)
tzinfo (0.3.23)
PLATFORMS
ruby
DEPENDENCIES
- activerecord (~> 3)
activesupport (~> 3)
daemons
+ rails (~> 3)
rake
rspec
sqlite3-ruby
View
2 spec/spec_helper.rb
@@ -11,7 +11,7 @@
require 'delayed/backend/shared_spec'
Delayed::Worker.logger = Logger.new('/tmp/dj.log')
-RAILS_ENV = 'test'
+ENV['RAILS_ENV'] = 'test'
require 'active_record'

0 comments on commit 129b612

Please sign in to comment.