Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Spaces in folders lead to new folder with %20 #217

Closed
teunvanvegchel opened this Issue Aug 30, 2012 · 3 comments

Comments

Projects
None yet
2 participants

Hi! I have a Rails project in a folder whose name contains a space, like My Projects. After using dragonfly, a new folder is created alongside of it, with the name My%20Projects, which contains the tmp/dragonfly/... files.

Owner

markevans commented Sep 11, 2012

what does your dragonfly config look like?

Nothing fancy really:

require 'dragonfly'
require 'dragonfly/rails/images'

app = Dragonfly[:images]

app.configure_with(:imagemagick)
app.configure_with(:rails)

app.define_macro_on_include(Mongoid::Document, :image_accessor)

app.processor.register(Dragonfly::Processing::Helper)
Owner

markevans commented Sep 12, 2012

are you adding Rack::Cache anywhere? (if so you may need to use URI.encode around any paths in the rack-cache config)

@markevans markevans closed this Aug 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment