How check rails environment on Ubuntu Server?
command: Rails.env => command not found command: rails.env => command not found
Rails.env => command not found
rails.env => command not found
One liner if you are in app root
rails r "puts Rails.env"