Gemfile in reform-rails-0.1.7 vs Gemfile in reform-rails-0.2.0.rc1
- old
+ new
@@ -1,6 +1,17 @@
source 'https://rubygems.org'
# Specify your gem's dependencies in reform-rails.gemspec
gemspec
-gem "reform", path: "../reform"
+# gem "reform", github: "trailblazer/reform"
+# gem "reform", path: "../reform"
+
+rails_version = ENV['RAILS_VERSION'] || '4.2'
+
+# bored of wrestling with rails...
+if rails_version == '4.0'
+ gem 'mongoid', '~> 4'
+end
+
+gem "railties", "~> #{rails_version}"
+gem "activerecord", "~> #{rails_version}"