SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: How to use Ruby

  1. #1
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to use Ruby

    I just installed Ruby and rails on my Linux system, at least I believe so. Now I am not certain where exactly I input the ruby commands. Should I have gotten some sort of
    interface for this?

  2. #2
    SitePoint Wizard samsm's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta, GA, USA
    Posts
    5,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use a tutorial, preferably one that is up to date (Rails 2.X at least).

    This looks ok for starters: http://www.jonathansng.com/ruby-on-r...with-more-202/
    Using your unpaid time to add free content to SitePoint Pty Ltd's portfolio?

  3. #3
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. I got it going!

  4. #4
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well maybe I spoke too soon. So opened up localhost:3000 and found that there was a problem connecting to the database. I then went into the database.yml file to enter in the database password. After having done that I now have this error:

    Mysql::Error in Rails/infoController#properties

    Unknown database 'seanapplication_development'

    RAILS_ROOT: /home/sean/seanapplication

  5. #5
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh nevermind. haha


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
  •