Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7775357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:36:38+00:00 2026-06-01T17:36:38+00:00

I started playing around with Ruby on Windows. I downloaded Ruby and started it

  • 0

I started playing around with Ruby on Windows. I downloaded Ruby and started it with the command line with Ruby.

I typed in irb to the command prompt and it changed to the irb command prompt.

Then I started trying out commands like 1 => 1; and other things, but I got no output. I just go the next prompt. What ta heck am I doing with that? 🙂

What should I do to make sure I have RoR set up and start creating applications?

Thanks and sorry for the generally confused question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:36:40+00:00Added an answer on June 1, 2026 at 5:36 pm

    In irb you can tell if your current line is unterminated doesn’t start with >.

    irb(main):001:0> "I'm gonna wait
    irb(main):002:0" to finish this string"    # The string isn't terminated
    => "I'm gonna wait\nto finish this string"
    irb(main):003:0>
    

    But more interestingly in irb it would seem that a semi-colon(;) it won’t terminate the line. Since semi-colons(;) inRuby aren’t necessary and are just meant to be statement separators. irb won’t actually run your statements until you end one without a semi-colon. Also 1 => 1 isn’t a valid Ruby statement.

    irb(main):001:0> string = ""
      => ""
    irb(main):002:0> string << "I'm gonna run this line\n";
    irb(main):003:0* string << "Plus this line\n"
      => "I'm gonna run this line\nPlus this line\n"
    irb(main):004:0> string << "Semi-colons are not cool in Ruby"
      => "I'm gonna run this line\nPlus this line\nSemi-colons are not cool in Ruby"
    irb(main):005:0>
    

    So your problem should be solved by NEVER using semi-colons in Ruby

    Also all these examples were run on Windows 7 using Powershell

    PS C:\Users\Justin> ruby -v
    ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
    

    As Aaron mentioned the best way to get started is probably RailsInstaller. I haven’t used it personally, but it looks like it does pretty much everything for you.

    I use RubyInstaller and set up my Rails environment myself. RailsInstaller does all that for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just started playing around in Haskell. After years of Ruby, I got used
I just started playing around with the Twitter Streaming API and using the command
I cloned a git repo and then started playing around in its master branch.
Just started playing around with ice_cube I've got a weekly schedule (with a granularity
I just started playing around with threading today and I ran into something that
I just started playing around with the 960 CSS framework and found that it
I have started playing around with Apache camel recently. So being the experimental type
I've started playing around with transitions and have come up against quite a big
I've started playing around with CSS3 transitions in one of my projects, and I
A few years ago we started playing around with XForms from the W3C for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.