Initializing rails server from irb

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.

On 2 September 2013 13:28, Victor A. [email protected]
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

In irb

  1. => require ‘rails/commands/server’
  2. => Rails::Server.start

On Monday, September 2, 2013 7:59:18 PM UTC+5:30, Michael Lutsiuk wrote:

I have learned and tested *initializing a server from irb* of rails

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