RackCustomTmpdir

Rack middleware to change temporary directory of file upload.

Gem Version Build Status

Installation

Add this line to your application's Gemfile:

gem 'rack_custom_tmpdir'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rack_custom_tmpdir

Configuration

application.rb

config.middleware.insert_before Rack::MethodOverride, RackCustomTmpdir, '/path/to/tmpdir'