lib/defog/proxy.rb in defog-0.1.0 vs lib/defog/proxy.rb in defog-0.1.1
- old
+ new
@@ -37,10 +37,10 @@
@proxy_root = Pathname.new(opts.delete(:proxy_root)) if opts.proxy_root
@fog_wrapper = FogWrapper.connect(opts)
@proxy_root ||= case
- when defined?(Rails) then Rails.root
+ when defined?(Rails) then Rails.root + "tmp"
else Pathname.new(Dir.tmpdir)
end + "defog" + provider.to_s + location
end