Skip to content

Commit 7f73964

Browse files
authored
Should remain references to MRUBY_VERSION in Rakefile
Now Rakefile generated by `mruby-cli --setup` contains three `1.2.0` strings. I guess that the original intention is to evaluate `MRUBY_VERSION` in Rakefile instead of evaluating it in this method.
1 parent 287d156 commit 7f73964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mrblib/mruby-cli/setup.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ def rakefile
318318
319319
file :mruby do
320320
#sh "git clone --depth=1 https://github.com/mruby/mruby"
321-
sh "curl -L --fail --retry 3 --retry-delay 1 https://github.com/mruby/mruby/archive/#{MRUBY_VERSION}.tar.gz -s -o - | tar zxf -"
322-
FileUtils.mv("mruby-#{MRUBY_VERSION}", "mruby")
321+
sh "curl -L --fail --retry 3 --retry-delay 1 https://github.com/mruby/mruby/archive/\#{MRUBY_VERSION}.tar.gz -s -o - | tar zxf -"
322+
FileUtils.mv("mruby-\#{MRUBY_VERSION}", "mruby")
323323
end
324324
325325
APP_NAME=ENV["APP_NAME"] || "#{@name}"

0 commit comments

Comments
 (0)