vipin v.
2012-Oct-30 10:24 UTC
Unable to start the web application from localhost:3000(ruby on rails)
I had created a demo web application by executing rails tickets and then i executed rails script/server to run it on localhost. Initially i was able to execute the application in the browser by typing localhost:3000 in the address bar, but then I deleted the folder tickets from my hard disk. Now again i created the same folder but when i try to run it using the same command rails script/server it says that File exists - script/server I tried deleting the script/server file but i still couldn''t run the localhost:3000 in the browser What is the solution to this -- 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.
Tommaso Visconti
2012-Oct-30 10:35 UTC
Re: Unable to start the web application from localhost:3000(ruby on rails)
vipin v. ha scritto:> I had created a demo web application by executing rails tickets and then > i executed rails script/server to run it on localhost. > > Initially i was able to execute the application in the browser by typing > localhost:3000 in the address bar, but then I deleted the folder tickets > from my hard disk. > > Now again i created the same folder but when i try to run it using the > same command rails script/server it says that > > File exists - script/server > > I tried deleting the script/server file but i still couldn''t run the > localhost:3000 in the browser > > What is the solution to thisHi V., try reading this guide, it is very useful to begin with rails: http://guides.rubyonrails.org/getting_started.html Bye, Tommaso -- 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-Oct-30 10:40 UTC
Re: Unable to start the web application from localhost:3000(ruby on rails)
Your old one was rails 2.x I guess, but your new one is 3 or above. The new command for starting the server is ''rails s'' Am 30.10.2012 11:24 schrieb "vipin v." <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:> I had created a demo web application by executing rails tickets and then > i executed rails script/server to run it on localhost. > > Initially i was able to execute the application in the browser by typing > localhost:3000 in the address bar, but then I deleted the folder tickets > from my hard disk. > > Now again i created the same folder but when i try to run it using the > same command rails script/server it says that > > File exists - script/server > > I tried deleting the script/server file but i still couldn''t run the > localhost:3000 in the browser > > What is the solution to this > > -- > 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.
vipin v.
2012-Oct-30 10:44 UTC
Re: Unable to start the web application from localhost:3000(ruby on rails)
i have rails version 2.3.14 with me -- 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.
vipin v.
2012-Oct-30 10:46 UTC
Re: Unable to start the web application from localhost:3000(ruby on rails)
with rails s it gave the following output:- http://paste.ubuntu.com/1317610/ but still i was unable to localhost:3000 -- 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.
Tommaso Visconti
2012-Oct-30 10:49 UTC
Re: Re: Unable to start the web application from localhost:3000(ruby on rails)
Il 30/10/12 11:46, vipin v. ha scritto:> with rails s it gave the following output:- > http://paste.ubuntu.com/1317610/ > > but still i was unable to localhost:3000 >I think you just created a new app inside the "s" folder. Please paste the output of "ruby script/server" command -- 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.
vipin v.
2012-Oct-30 10:57 UTC
Re: Unable to start the web application from localhost:3000(ruby on rails)
can someone please help me asap.. please ! -- 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.
Jim Ruther Nill
2012-Oct-30 11:02 UTC
Re: Re: Unable to start the web application from localhost:3000(ruby on rails)
On Tue, Oct 30, 2012 at 6:44 PM, vipin v. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> i have rails version 2.3.14 with me >you should''ve not deleted the script/server file. you''re using rails 2 so the proper way to start the server is ruby script/server not rails script/server. the shorcut to this is just script/server.> > -- > 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. > > >-- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.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.
vipin v.
2012-Oct-30 11:11 UTC
Re: Re: Unable to start the web application from localhost:3000(ruby on rails)
but now i have done it, so what is the solution?? will i never be able to run the app in server again?? -- 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.
Jim Ruther Nill
2012-Oct-30 11:28 UTC
Re: Re: Re: Unable to start the web application from localhost:3000(ruby on rails)
On Tue, Oct 30, 2012 at 7:11 PM, vipin v. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> but now i have done it, so what is the solution?? > will i never be able to run the app in server again??create a new rails app and copy script/server?> -- > 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. > > >-- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.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.
vipin v.
2012-Oct-30 11:51 UTC
Re: Re: Unable to start the web application from localhost:3000(ruby on rails)
> Please paste the output of "ruby script/server" commandoutput is vverma@l-vverma:~/myExp/tickets$ rails script/server create File exists - script/server -- 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-Oct-30 11:55 UTC
Re: Re: Re: Unable to start the web application from localhost:3000(ruby on rails)
On 30 October 2012 11:51, vipin v. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:>> Please paste the output of "ruby script/server" command > > output is > > vverma@l-vverma:~/myExp/tickets$ rails script/server > create > File exists - script/serverThat looks like the output from "rails script/server" not "ruby script/server" Colin -- 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.
vipin v.
2012-Oct-31 11:17 UTC
Re: Re: Re: Unable to start the web application from localhost:3000(ruby on rails)
> > That looks like the output from "rails script/server" not "ruby > script/server"Thanks for your observation Colin All is Well now :)))) -- 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.