I created new application skeleton using:
rails new DemoApp.
Now my books says to run command:
ruby script/server
The book was written with a previous obsolete version in mind. What
command should I run when using Rails 3.2.8 with Ruby 1.9.3?
I created new application skeleton using:
rails new DemoApp.
Now my books says to run command:
ruby script/server
The book was written with a previous obsolete version in mind. What
command should I run when using Rails 3.2.8 with Ruby 1.9.3?
*rails s – to start server *
ruby script/server — for 2.3.8
On 19 August 2012 08:58, Rubyist R. [email protected] wrote:
I created new application skeleton using:
rails new DemoApp.
Now my books says to run command:
ruby script/server
The book was written with a previous obsolete version in mind. What
command should I run when using Rails 3.2.8 with Ruby 1.9.3?
Don’t use a tutorial for an earlier version of rails, you will have
continual grief, when it does not work you will waste time working out
whether you have done something wrong or whether it is just that the
turorial is out of date. Use an up to date tutorial such as
railstutorial.org which is free to use online.
Colin
On 19 August 2012 09:49, Rubyist R. [email protected] wrote:
I am also referring railstutorial.org but it is quite boring when
compared to Head First Rails.
It will work however, which is a big advantage. Also you will learn
how to use Rails 3 rather than how to use an obsolete version, which
is not much use unless you need to maintain a legacy app.
Colin
That tutorial seems to be somewhat inconsistent, since rails new is only
possible since that day that made script /server obsolet.
Am 19.08.2012 09:58 schrieb “Rubyist R.” [email protected]:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs