Use RACK_ENV instead of RAILS_ENV for rack application