Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Delete duplicated code in ruby18 recipe

The same process is repeated at the end of the install task
  • Loading branch information...
commit 581f788a9f1496495a517546f29bbcc3d568bbd2 1 parent bca7b31
@Azolo Azolo authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 recipes/interpreter/ruby18.rake
View
7 recipes/interpreter/ruby18.rake
@@ -150,13 +150,6 @@ namespace(:interpreter) do
# update file
File.open(rbconfig, 'w') { |f| f.write(contents) }
- # replace the batch files with new and path-clean stubs
- Dir.glob("#{package.install_target}/bin/*.bat").each do |bat|
- File.open(bat, 'w') do |f|
- f.write batch_stub
- end
- end
-
rbconfig = File.join(package.install_target, 'lib/ruby/1.8/i386-mingw32/rbconfig.rb')
contents = File.read(rbconfig).
gsub(/#{Regexp.escape(full_install_target)}/) { |match| "" }.
Please sign in to comment.
Something went wrong with that request. Please try again.