summaryrefslogtreecommitdiff
path: root/lib/bundler/ruby_version.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-06-08 12:15:53 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-06-08 12:15:53 -0500
commit515c4cb90866c26ac702e8e745709e1dc7d8efc1 (patch)
tree20e370e4255dd743a90134ae42a76580e24f4270 /lib/bundler/ruby_version.rb
parent58d81f331d21445352de887eb6b88d30540caaaf (diff)
downloadbundler-515c4cb90866c26ac702e8e745709e1dc7d8efc1.tar.gz
[RubyVersion] Fix pattern
Diffstat (limited to 'lib/bundler/ruby_version.rb')
-rw-r--r--lib/bundler/ruby_version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/ruby_version.rb b/lib/bundler/ruby_version.rb
index c22e44c236..9c1444485c 100644
--- a/lib/bundler/ruby_version.rb
+++ b/lib/bundler/ruby_version.rb
@@ -43,7 +43,7 @@ module Bundler
ruby\s
([\d.]+) # ruby version
(?:p(\d+))? # optional patchlevel
- (?: \((\S+) (.+)\))? # optional engine info
+ (?:\s\((\S+)\s(.+)\))? # optional engine info
/xo
# Returns a RubyVersion from the given string.