Merge pull request #355 from lfaraone/use-current-ruby
vagrant-lxc-wrapper: Use correct ruby interpreter
This commit is contained in:
commit
52cca8e7f6
2 changed files with 2 additions and 1 deletions
|
@ -83,6 +83,7 @@ module Vagrant
|
||||||
hash[cmd] = `which #{cmd}`.strip
|
hash[cmd] = `which #{cmd}`.strip
|
||||||
end
|
end
|
||||||
hash['lxc_bin'] = Pathname(`which lxc-create`.strip).parent.to_s
|
hash['lxc_bin'] = Pathname(`which lxc-create`.strip).parent.to_s
|
||||||
|
hash['ruby'] = Gem.ruby
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/opt/vagrant/embedded/bin/ruby
|
#!<%= cmd_paths['ruby'] %>
|
||||||
# Automatically created by vagrant-lxc
|
# Automatically created by vagrant-lxc
|
||||||
|
|
||||||
class Whitelist
|
class Whitelist
|
||||||
|
|
Loading…
Reference in a new issue