Hello, I am starting to develop in Rails and I would like to know is how I can develop on Rails in localhost? What I mean is using webrick but, the thing I dont understand are 2 things so I can start that are the following: 1) What is the directory for webrick and how I can set it up so its my application directory 2) what is the URL on the browser to see my app? what I missing in http:localhost:3000 Just one more question is it better to develop on local or on the server, since I am following a course and the guy on the course uses heroku to develop, can I use my VPS for it, it got Ruby on Rails installed alread. Cheers!! -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I suggest you start from the getting started guide on http://guides.rubyonrails.com which will hopefully answer most of your questions. Sent from my iPhone On Jun 6, 2012, at 12:08 PM, Code Man <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello, > > I am starting to develop in Rails and I would like to know is how I can > develop on Rails in localhost? What I mean is using webrick but, the > thing I dont understand are 2 things so I can start that are the > following: > > 1) What is the directory for webrick and how I can set it up so its my > application directory > > 2) what is the URL on the browser to see my app? what I missing in > http:localhost:3000 > > Just one more question is it better to develop on local or on the > server, since I am following a course and the guy on the course uses > heroku to develop, can I use my VPS for it, it got Ruby on Rails > installed alread. > > Cheers!! > > -- > 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Wed, Jun 6, 2012 at 3:08 PM, Code Man <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 1) What is the directory for webrick and how I can set it up so its my > application directoryIt''s automagically included in your new Rails app.> 2) what is the URL on the browser to see my app? what I missing in > http:localhost:3000Two slashes.> Just one more question is it better to develop on local or on the > server, since I am following a course and the guy on the course uses > heroku to develop, can I use my VPS for it, it got Ruby on Rails > installed alread.Developing on your local machine is fine, in fact it''s pretty much SOP. You *can''t* develop directly on Heroku (well, not easily anyway), you develop somewhere else and push the code to Heroku. I would recommend you use one of the common tutorials (the most common seems to be http://railstutorial.org). Go through it from start to finish. If you get stuck on something, Google relevant keywords, and if you still can''t find an answer, ask here. In your Copious Spare Time, also read the Rails Guides at http://guides.rubyonrails.com/ and anything else you can get your hands on. -Dave -- Dave Aronson, Cleared/Remote Ruby on Rails Freelancer (NoVa/DC/Remote); see www.DaveAronson.com, and blogs at www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> 1) What is the directory for webrick and how I can set it up so its my > application directoryTry in your application directory: $ rails server And then visit the web page:> 2) what is the URL on the browser to see my app? what I missing in > http:localhost:3000http://localhost:3000 -- Best Regards. Richard Ma My Blog: www.richardma.org -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.