Flowdock
method

server

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: CommandsTasks
server() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/commands_tasks.rb, line 71
    def server
      set_application_directory!
      require_command!("server")

      Rails::Server.new.tap do |server|
        # We need to require application after the server sets environment,
        # otherwise the --environment option given to the server won't propagate.
        require APP_PATH
        Dir.chdir(Rails.application.root)
        server.start
      end
    end
Register or log in to add new notes.