Rubyist Rohit
2012-Aug-19 07:58 UTC
What is the alternative of "ruby script/server" in Rails 3.2.8?
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? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
saikiran mothe
2012-Aug-19 08:02 UTC
Re: What is the alternative of "ruby script/server" in Rails 3.2.8?
*rails s -- to start server * ruby script/server --- for 2.3.8 On Sun, Aug 19, 2012 at 1:28 PM, Rubyist Rohit <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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? > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Aug-19 08:42 UTC
Re: What is the alternative of "ruby script/server" in Rails 3.2.8?
On 19 August 2012 08:58, Rubyist Rohit <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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> > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Rubyist Rohit
2012-Aug-19 08:49 UTC
Re: What is the alternative of "ruby script/server" in Rails 3.2.8?
I am also referring railstutorial.org but it is quite boring when compared to Head First Rails. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Aug-19 08:54 UTC
Re: Re: What is the alternative of "ruby script/server" in Rails 3.2.8?
On 19 August 2012 09:49, Rubyist Rohit <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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> > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Norbert Melzer
2012-Sep-24 08:31 UTC
Re: What is the alternative of "ruby script/server" in Rails 3.2.8?
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 Rohit" <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:> 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? > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.