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 7b65fb2 commit 7d24866Copy full SHA for 7d24866
ChangeLog
@@ -1,3 +1,7 @@
1
+Wed Feb 25 15:27:16 2015 NARUSE, Yui <[email protected]>
2
+
3
+ * tool/merger.rb: support 2.1+ versioning scheme.
4
5
Tue Feb 25 08:49:12 2015 Kazuki Tanaka <[email protected]>
6
7
* lib/cmath.rb (log): raise ArgumentError when more than 2 arguments
tool/mkconfig.rb
@@ -29,7 +29,7 @@ def config.write(arg)
29
# changes made to this file will be lost the next time ruby is built.
30
31
module RbConfig
32
- RUBY_VERSION == "#{version}" or
+ RUBY_VERSION.start_with?("#{version}"[/^[0-9]+[.][0-9]+[.]/]) or
33
raise "ruby lib version (#{version}) doesn't match executable version (\#{RUBY_VERSION})"
34
35
]
0 commit comments