Guest User

Untitled

a guest
Aug 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. Rails.env in ruby scripts
  2. RAILS_ENV=test script/delayed_job start
  3.  
  4. def env
  5. @_env ||= ActiveSupport::StringInquirer.new(ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development")
  6. end
Add Comment
Please, Sign In to add comment