Skip to content

Commit

Permalink
Merge branch 'hotfix/1.18.5' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Jan 29, 2013
2 parents 131e869 + 7ecd8ed commit ed031c8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.18.4
1.18.5
11 changes: 11 additions & 0 deletions patches/ree/ruby-binary-shebang.patch
@@ -0,0 +1,11 @@
--- a/installer.rb
+++ b/installer.rb
@@ -596,7 +596,7 @@
rest = nil
File.open(filename, 'rb') do |f|
shebang = f.readline
- if shebang =~ /ruby/
+ if shebang =~ /^#!.*ruby/
puts "Updating #{filename}..."
rest = f.read
end
1 change: 1 addition & 0 deletions scripts/functions/manage/ree
Expand Up @@ -87,6 +87,7 @@ ree_install()
__rvm_apply_patches "${rvm_src_path}/$rvm_ruby_string" lib64
result=$?
fi
__rvm_apply_patches "${rvm_src_path}/$rvm_ruby_string" ruby-binary-shebang

if (( result > 0 ))
then
Expand Down

0 comments on commit ed031c8

Please sign in to comment.