initializing rails server from irb

61 views
Skip to first unread message

Victor Antony

unread,
Sep 2, 2013, 8:28:34 AM9/2/13
to rubyonra...@googlegroups.com

Hi Greetings..!

    I have learned and tested initializing a server from irb of rails -v = 2.3.5 as

    $ load "script/server"

   How can I initialize a server from irb  the same in rails -v > 3.2.2 ........?

     Please help me out .

Thank you.

Colin Law

unread,
Sep 2, 2013, 10:12:07 AM9/2/13
to rubyonra...@googlegroups.com
On 2 September 2013 13:28, Victor Antony <victors...@gmail.com> wrote:
>
> Hi Greetings..!
>
> I have learned and tested initializing a server from irb of rails -v =
> 2.3.5 as
>
> $ load "script/server"
>
> How can I initialize a server from irb the same in rails -v > 3.2.2

Do you mean
rails server
or, simpler
rails s

Colin

Michael

unread,
Sep 2, 2013, 10:29:18 AM9/2/13
to rubyonra...@googlegroups.com
In irb
1. => require 'rails/commands/server'
2. => Rails::Server.start

Victor Antony

unread,
Sep 18, 2013, 2:42:33 AM9/18/13
to rubyonra...@googlegroups.com
>>>>>>  Thank you for your support........! 

Reply all
Reply to author
Forward
0 new messages