source "https://rubygems.org" gemspec case ENV['RAILS_VERSION'] when '3.1', '3.2' gem 'rails', "~> #{ENV['RAILS_VERSION']}.0" when '4.0' gem 'rails' end