[Mongrel] deploy ruby on rails application by mongrel

Greg Clarke gregbclarke at gmail.com
Mon Nov 5 01:38:40 EST 2007


I think you might have missed out the step where you create a valid rails
application.

After all the gem installs, you should be able to enter:

rails myapp

and that command will set up a valid rails directory.

You should possibly make sure you understand how the rails command works
first,
and use the 'mongrel_rails start' and 'mongrel_rails stop' commands while
learning Rails.



On 11/5/07, 魏广彬 <weigbin at 163.com> wrote:
>
> 1.download ruby-one click for windows from www.ruby-lang.org, set up.
> 2.run command:
>   gem install rails --include-dependencies (success)
> 3.set up mongrel:
>   gem install win32-service(pick the most recent one)
>   gem install mongrel (pick the win32 pre-built)
>   gem install mongrel_service
>
>   all of the above were successful.
>
>   then i creat an empty folder "d:\myapp",run the command:
>   mongrel_rails service::install -N myapp -c d:\myapp -p 4000 -e
> production
>
>   the rusult:the path you specified isn't a valid Rails application
>
>   so what's the matter?
>
>   i am a student in Nanjing Agricultural University,I am learning ruby and
> ruby on rails,but there are few books and other materials for me.so can
> you help me?
>
>
> ------------------------------
>  [image: LOGO] 把爱心注入牛奶,共同凝聚这份力量<http://popme.163.com/link/003515_0929_938.html>
> 快来参加蒙牛免费赠奶爱心行动 <http://popme.163.com/link/003515_0929_938.html>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071105/4d4c3d23/attachment-0001.html 


More information about the Mongrel-users mailing list