[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Instant Rails 1.4 and Mongrel

Ike

10/23/2006 2:03:00 PM

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


2 Answers

Jano Svitok

10/23/2006 2:17:00 PM

0

On 10/23/06, Ike <rxv@hotmail.com> 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.

Curt Hibbs

10/23/2006 6:09:00 PM

0

On 10/23/06, Ike <rxv@hotmail.com> 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