Permalink
Browse files

gemfile-ify to pin down AR version

  • Loading branch information...
grosser committed Jun 13, 2011
1 parent f44eddc commit a2753d1d9ed8404d9974d7e3a9d4937109188fea
Showing with 63 additions and 1 deletion.
  1. +10 −0 Gemfile
  2. +47 −0 Gemfile.lock
  3. +5 −0 README.markdown
  4. +1 −1 lib/tasks/standalone_migrations.rb
View
10 Gemfile
@@ -0,0 +1,10 @@
+source :rubygems
+
+gem 'activerecord', '3.1.0.rc4'
+
+group :dev do
+ gem 'sqlite3'
+ gem 'rake'
+ gem 'rspec', '~>2'
+ gem 'jeweler'
+end
View
@@ -0,0 +1,47 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ bcrypt-ruby (~> 2.1.4)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.0.rc4)
+ activemodel (= 3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ arel (~> 2.1.1)
+ tzinfo (~> 0.3.27)
+ activesupport (3.1.0.rc4)
+ multi_json (~> 1.0)
+ arel (2.1.1)
+ bcrypt-ruby (2.1.4)
+ builder (3.0.0)
+ diff-lcs (1.1.2)
+ git (1.2.5)
+ i18n (0.6.0)
+ jeweler (1.6.2)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ multi_json (1.0.3)
+ rake (0.9.2)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.4)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+ sqlite3 (1.3.3)
+ tzinfo (0.3.27)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (= 3.1.0.rc4)
+ jeweler
+ rake
+ rspec (~> 2)
+ sqlite3
View
@@ -130,6 +130,11 @@ The following tasks will be created:
And migrations for this database would be created in db/migrate/widgets
subdirectory.
+Known issues
+============
+
+ - [rake db:create] creates all databases ([rails issues](https://github.com/rails/rails/issues/1674))
+
Contributors
============
- [Todd Huss](http://gabrito.com/)
@@ -6,7 +6,7 @@
module Rails
def self.env
- s = ENV['RAILS_ENV'] || 'development'
+ s = (ENV['RAILS_ENV'] || 'development').dup # env is frozen -> dup
def s.development?; self == 'development';end
s
end

0 comments on commit a2753d1

Please sign in to comment.