I have following code in my home page to check what environment the app is running in.
I get nil from ENV[‘RAILS_ENV’].
The above code works fine in windows.
Any suggestion on how to get the current environment?
My app is deployed with RailsPlayground.com.