Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (8)

Sign In or Sign Up now to post a comment!
  • my routes.rb file has different content. For example, the second line has get "home/index" and the two lines of code at the bottom of your file, before you start typing, aren't there. Either way, any changes I make are spewing out tons of errors when I start the server with "rails server"

  • Thanks @OV3RS1GHT - I was wondering why my browser would not display the localhost:3000 - now I'm on Rails. THANKS!

  • That worked @OV3RS1GHT - guess it was written for an older version of Ruby? I'm running 1.9.2p180 and I had run into a previous problem in the tutorial.

    Thanks a ton - that was extremely helpful :-)

  • @levygeorge Not a problem. Ever since version 3 "rails" now handles much of the scripting.

  • @levygeorge Oh, and if you haven't figured it out already, use "rails server" to start the server, and you can access it in your browser at localhost:3000

  • I have the same problem... Everything had been going smoothly until I reach the step of typing in

    ruby script \generate controller home index

    Then it just returns the error:

    ruby: No such file or directory -- script/generate (LoadError)

    Can't get beyond that... Everything had been going well until now. Any suggestions as to what I may have done incorrectly? I'm copying exactly what you are doing.

    Tx!

  • @levygeorge try the following:

    rails generate controller home index

  • Hi There,

    It is a good tutorial that you did! I was following exactly what you did. until I type the command ruby script\server. I get an error

    You may encounter a bug of Ruby interpreter. Bug reports are welcome.This application has requested the Runtime to terminate it in an unusual way.

    Where I am I going wrong?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more