SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    new here, problems with simply rails2, p.42

    I installed InstantRails as directed in the book. It seems that MySQL installed but SQLight did not. I wonder why.
    I tried to start the shovell application (page 42 in the book) in the in the rRuby Console Window and it reports error.
    Can you please explain what should I do?
    Thanks,
    Nethanel

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,454
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    I can't use InstantRails http://www.sitepoint.com/forums/showthread.php?t=563276 and for me installations tend to be very frustrating.
    AFAIK, InstantRails does not come with SQLite(3)
    But you can use another database to work through the book, just specify it in the config\database.yml file.
    What error message(s) are you getting?

  3. #3
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    '$' is not recognized as an interna or external command, operable program or bach file.

    So I don't understand where or how to create the shovell application the book teaches.
    Thanks,
    Nethanel

  4. #4
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,454
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    It sounds like you are trying to enter the Unix prompt as part of the command line.
    On Windows, the console would look like
    ...>rails shovell
    But on Unix, the ">" prompt is a "$", and would look like
    ...$rails shovell
    Many Ruby/Rails examples show the Unix prompt, but is not part of the command.

  5. #5
    SitePoint Member
    Join Date
    Sep 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    THANKS that works.
    Nethanel


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •