On 12 December 2015 at 05:28, Naresh Jilla <[email protected]> wrote: > Colin Law wrote in post #1179830: >> On 11 December 2015 at 10:25, Naresh Jilla <[email protected]> wrote: >>> hi all, >>> How to install WEBrick server in ubuntu14.0 >> >> There is no Ubuntu 14.0, perhaps you mean 14.04. >> >> What exactly are you trying to do? Do you mean that you want it to be >> used when you run rails s? If so then which version of rails are you >> using? >> >> Colin > > Hi Colin, > > my rails version is 4.0.2,ruby version is 1.9.3p484 and i am trying to > design login page but when i try to start rails server following is > message coming and i am not able open on the browser by localhost > because it doesnot display any port number > > guest-QI1NUN@bitstack-vindhya:~$ rails s > Usage: > rails new APP_PATH [options]
That usually means you are trying to 'run rails s' from the wrong directory. You must run it from the root of the rails application. So you did rails new my_app then you must do cd my_app to enter that directory, then if you run ls you should see the directories app, config and so on. Then you can run rails s However, I guess that you are a newcomer to Rails so suggest you start by working right through a good tutorial such as railstutorial.org (which is free to use online) which will show you the basics of Rails. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv9Uctpzd_KZHfTEM3yb3kMTJoNxutqxAWeuzu%2BSyzuPA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

