bum 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bum.rb +1 -1
- metadata +3 -3
data/lib/bum.rb
CHANGED
@@ -71,7 +71,7 @@ class Bum
|
|
71
71
|
|
72
72
|
puts "Setting up #{node_name}..."
|
73
73
|
|
74
|
-
client_erb = ERB.new(File.read('client.rb.erb'))
|
74
|
+
client_erb = ERB.new(File.read(File.join(File.dirname(__FILE__), 'client.rb.erb')))
|
75
75
|
client_rb_data = client_erb.result(OpenStruct.new(:config => @bum_config.config, :node_config => node_config).send(:binding))
|
76
76
|
tmp_client_rb_path = ".tmp.#{node_name}.client.rb"
|
77
77
|
File.open(tmp_client_rb_path,'w') do |f|
|
metadata
CHANGED