We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae175de commit 1a82b5eCopy full SHA for 1a82b5e
lib/spring/test/application_generator.rb
@@ -37,7 +37,7 @@ def generate
37
38
# Sporadic SSL errors keep causing test failures so there are anti-SSL workarounds here
39
def generate_files
40
- system("gem list rails --installed --version '#{version_constraint}' || " \
+ system("gem list '^rails$' --installed --version '#{version_constraint}' || " \
41
"gem install rails --clear-sources --source http://rubygems.org --version '#{version_constraint}'")
42
43
@version = RailsVersion.new(`ruby -e 'puts Gem::Specification.find_by_name("rails", "#{version_constraint}").version'`.chomp)
0 commit comments