Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Ruby on Rails/Getting Started/Is everything installed?

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

If everything was installed correctly you should be able to do the following: Type irb -v on the command line and see the version number for irb, the interactive Ruby interpreter What version do you expect to see here?? Type gem -v on the command line and see the version number for RubyGems What version do you expect to see here?? Type rails -v and the installed Rails version number should be displayed What version do you expect to see here?? Type rails testapp and a new Rails app should be created in a directory called testapp Change into the testapp directory and run script/server, launching the built-in Rails server Open a browser and go to the URL http://localhost:3000. You should see the What should you see here??. Type rake and the Rails application's tests should run Will they work out of the box? What is the expected output?