Instant Rails 1.4 and Mongrel

I just upgraded to InstantRails 1.4, which, among other things, runs
Mongrel
in lieu of Webrick. I used to be able to go right to
…\rails_apps\myapp
and run

ruby script\server

and up would fire Webrick and I could then navigate my browswer to
http://localhost:3000/ and be off and running. Now, I cannot do that.

Can someone fill me in on the new way to do things here? Thansk, Ike

On 10/23/06, Ike [email protected] wrote:

I just upgraded to InstantRails 1.4, which, among other things, runs Mongrel
in lieu of Webrick. I used to be able to go right to …\rails_apps\myapp
and run

ruby script\server

and up would fire Webrick and I could then navigate my browswer to
http://localhost:3000/ and be off and running. Now, I cannot do that.

Can someone fill me in on the new way to do things here? Thansk, Ike

try mongrel_rails (possibly with some parameters)

disclaimer: this is how mongrel is usually started. I haven’t used any
recent InstantRails.

On 10/23/06, Ike [email protected] wrote:

I just upgraded to InstantRails 1.4, which, among other things, runs Mongrel
in lieu of Webrick. I used to be able to go right to …\rails_apps\myapp
and run

ruby script\server

and up would fire Webrick and I could then navigate my browswer to
http://localhost:3000/ and be off and running. Now, I cannot do that.

Can someone fill me in on the new way to do things here? Thansk, Ike

That should work as long as IR’s ruby\bin directory is on the path (by
opneing the console window through IR, or running “use_ruby.cmd”,
etc.).

Once you are in you app’s root directory you can start it with WEBrick
as you stated above, or you can start it with Mongrel with the command
“mongrel_rails”.

Curt

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs