Class | PhusionPassenger::ClassicRails::ApplicationSpawner |
In: |
lib/phusion_passenger/classic_rails/application_spawner.rb
|
Parent: | AbstractServer |
Spawning of Rails 1 and Rails 2 applications.
ClassicRails::ApplicationSpawner can operate in two modes:
app_root | [R] | The application root of this spawner. |
The following options are accepted:
See SpawnManager#spawn_application for information about the options.
Spawns an instance of a Rails application. When successful, an AppProcess object will be returned, which represents the spawned Rails application.
This method spawns the application directly, without preloading its code. This method may only be called if no Rails framework has been loaded in the current Ruby VM.
The "app_root" option must be given. All other options are passed to the request handler‘s constructor.
Raises:
Spawns an instance of the Rails application. When successful, an AppProcess object will be returned, which represents the spawned Rails application.
options will be passed to the request handler‘s constructor.
Raises:
Overrided from AbstractServer#start.
May raise these additional exceptions: