Fixed deployment symlink paths
Set the rails_env variable