Permalink
Browse files

instance eval to grab the hash

  • Loading branch information...
1 parent d960265 commit edf1803d91820b81c3b56230b54f0a2f66480291 Adam Holt committed Oct 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 deploy/after_restart.rb
View
@@ -5,7 +5,7 @@
settings = {
:env => ENV.to_hash,
:gem_path => Gem.path,
- :gem_config => Gem.configuration
+ :gem_config => Gem.configuration.instance_eval { @hash }
}
f.write(settings.to_json)
end

0 comments on commit edf1803

Please sign in to comment.