How do you boot a rails app on a remote server into Development? -
i totally apologize being naiive. when deploy production, automatically boots in production mode.
how alternatively boot in development mode?
depends on using run rails application.
- if using passenger apache, set
railsenv
development in vhost, restart web server. passenger on nginx check here: http://www.modrails.com/documentation/users%20guide%20nginx.html#_ruby_on_rails_specific_options - if using mongrel or thin, has option that. check docs
- if using
script/server
pass argument:script/server development
- or if using
rails server
(for rails 3):rails server -e development
often can set environment variable rails_env
well, example: rails_env=development rails server
Comments
Post a Comment