Output of RAILS_ENV
In case someone will need this information.
Trying to output RAILS_ENV in Redmine root directory with command:
script/about: No such file or directory
Solution is to create symbolic link:
ln -s ./bin ./script
This is because in Rails 4 "script" directory has been moved to "bin" (C, Kirti Thorat)