Set up the test helper and Gemfile.

Now Travis will build across all the Rails-es.
This commit is contained in:
Steve Klabnik
2014-07-05 12:01:48 -04:00
parent 99e3d0f70b
commit a5107b32e2
3 changed files with 18 additions and 0 deletions

View File

@@ -4,3 +4,11 @@ source 'https://rubygems.org'
gemspec
gem "minitest"
version = ENV["RAILS_VERSION"] || "4.0"
if version == "master"
gem "rails", github: "rails/rails"
else
gem "rails", "~> #{version}"
end