Shift from mongrel to webrick

36 views
Skip to first unread message

honey ruby

unread,
Sep 4, 2013, 10:01:50 AM9/4/13
to rubyonra...@googlegroups.com
Hi Everyone

 I have installed mongrel gem and in my dev I can able to run my app on mongrel but If I want to shift to webrick how can I shift easily with out uninstalling the mongrel gem

Thanks in advance

Jordon Bedwell

unread,
Sep 4, 2013, 10:07:11 AM9/4/13
to rubyonra...@googlegroups.com
On Wed, Sep 4, 2013 at 9:01 AM, honey ruby <emailtoh...@gmail.com> wrote:
> I have installed mongrel gem and in my dev I can able to run my app on
> mongrel but If I want to shift to webrick how can I shift easily with out
> uninstalling the mongrel gem

That depends on how you have mongrel running and I definitely would
not shift to webrick, webrick is not a production ready server, of
course it's getting better over the years but there are certainly more
robustly designed solutions like Puma and the always seems to be
favored Unicorn.

honey ruby

unread,
Sep 4, 2013, 10:21:48 AM9/4/13
to Ruby on Rails: Talk
Thanks Jordon for your quick response I agree with you but I want to know is do we have any other way to shift the to shift from mongrel to webrick with out uninstall the mongrel gem. If we uninstall the gem rails will pick webrick by default I knew that. Wanna know is there any other alternative for this thing



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQnwkCc2RfXfdH2rZso_t_6E5qCuMeze-tC0W%3Dx3enU8hKg%40mail.gmail.com.

Hassan Schroeder

unread,
Sep 4, 2013, 10:27:15 AM9/4/13
to rubyonrails-talk
On Wed, Sep 4, 2013 at 7:21 AM, honey ruby <emailtoh...@gmail.com> wrote:

> do we have any other way to shift the to shift from mongrel to webrick

Let's see: I have a command `rails server` and I wonder if there are
command options. Oh, how about I try `rails server --help` ...

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

Jordon Bedwell

unread,
Sep 4, 2013, 10:31:58 AM9/4/13
to rubyonra...@googlegroups.com
On Wed, Sep 4, 2013 at 9:21 AM, honey ruby <emailtoh...@gmail.com> wrote:
> Thanks Jordon for your quick response I agree with you but I want to know is
> do we have any other way to shift the to shift from mongrel to webrick with
> out uninstall the mongrel gem. If we uninstall the gem rails will pick
> webrick by default I knew that. Wanna know is there any other alternative
> for this thing

The option is: rails s <server>
So: rails s webrick

honey ruby

unread,
Sep 4, 2013, 10:56:56 AM9/4/13
to Ruby on Rails: Talk
Thanks Jordon it worked.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

honey ruby

unread,
Sep 4, 2013, 11:01:10 AM9/4/13
to Ruby on Rails: Talk
I need some good tutorials to learn rails3 with detail any suggestions plz... 

Colin Law

unread,
Sep 4, 2013, 2:53:33 PM9/4/13
to rubyonra...@googlegroups.com
On 4 September 2013 16:01, honey ruby <emailtoh...@gmail.com> wrote:
> I need some good tutorials to learn rails3 with detail any suggestions

As always, railstutorial.org which is free to use online, though I see
this was suggested to you (by myself and others) in August 2012,
February 2012, December 2011 and August 2011

Colin
Reply all
Reply to author
Forward
0 new messages