Rails 4 requires Ruby 1.9.3+

Fix Rakefile to correctly choose when to ignore Rails master.
This commit is contained in:
Matt Wildig 2012-12-17 20:57:46 +00:00
parent df37fa13d9
commit f32b60909c
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def gemfiles
@gemfiles ||= begin
Dir[File.dirname(__FILE__) + '/test/gemfiles/Gemfile.*'].
reject {|f| f =~ /\.lock$/}.
reject {|f| RUBY_VERSION <= '1.9' && f =~ /master/}
reject {|f| RUBY_VERSION < '1.9.3' && f =~ /master/}
end
end