Symlink the gems, too. This is probably crazy, but should work for now
This commit is contained in:
parent
fd55a56235
commit
82160d234a
1 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ def harden_ruby(ruby_string)
|
||||||
to file
|
to file
|
||||||
end
|
end
|
||||||
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
|
end
|
||||||
|
|
||||||
harden_ruby("ruby-1.8.7-p302")
|
harden_ruby("ruby-1.8.7-p302")
|
||||||
Loading…
Reference in a new issue