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 542e6ca commit 4676e72Copy full SHA for 4676e72
Gemfile
@@ -3,7 +3,7 @@ source "https://rubygems.org"
3
if version = ENV['AR_VERSION']
4
if version.index('/') && ::File.exist?(version)
5
gem 'activerecord', :path => version
6
- elsif version =~ /[0-9abcdef]*/
+ elsif version =~ /^[0-9abcdef]+$/
7
gem 'activerecord', :github => 'rails/rails', :ref => version
8
elsif version.index('.').nil?
9
gem 'activerecord', :github => 'rails/rails', :branch => version
0 commit comments