bum 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/bum.rb +1 -1
  2. 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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bum
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tyler McMullen