Symlink the gems, too. This is probably crazy, but should work for now

This commit is contained in:
Michael Sofaer 2010-10-31 17:16:23 -07:00
parent fd55a56235
commit 82160d234a

View file

@ -14,6 +14,12 @@ def harden_ruby(ruby_string)
to file
end
end
Dir.glob("/usr/local/rvm/gems/#{ruby_string}/bin/*").each do |file|
link "/usr/local/bin/#{file.split('/').last}" do
to file
end
end
end
harden_ruby("ruby-1.8.7-p302")