Permalink
Browse files

Fix home_dir Pathname coersion to String in Ruby 1.9.x.

  • Loading branch information...
1 parent 19dbc67 commit 57375478411cf06460cd4497671389a28c7e4c76 @fnichol committed Aug 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 providers/castle.rb
View
@@ -66,7 +66,7 @@ def home_dir
end
def run(command)
- env = { 'USER' => new_resource.user, 'HOME' => home_dir }
+ env = { 'USER' => new_resource.user, 'HOME' => home_dir.to_s }
execute command do
user new_resource.user

0 comments on commit 5737547

Please sign in to comment.