Hello. Just trying to get started with Ruby on Rails. I downloaded and installed Instant Rails. I''m trying to follow Patrick Lenz''s tutorial at http://www.sitepoint.com/article/learn-ruby-on-rails, but I can''t get beyon his initial demonstration: (We''ll start with a really brief example: irb> 1 => 1)>From the Instant Rails control panel, I chose Rail Applcations / Open RubyConsole Window. In the window, I type "irb>1" and enter. I excpect to see "=> 1, but all I see is a blinking cursor. I tried installing on a second computer. Same result. I suspect a configuration issue, but don''t know how to address it. Thanks, Peter -- PETER RASHKIN http://thedagger.com/ (310) 518-3425 (310) 528-7161 (cell) 21934 Millpoint Ave. Carson, CA 90745 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070322/ee5c58b7/attachment.html
Hi Peter, Peter Rashkin wrote:> From the Instant Rails control panel, I chose Rail Applcations / Open Ruby > Console Window. > > In the window, I type "irb>1" and enter.I haven''t checked out the tutorial you''re using but... 1) enter ''irb'' (without the quote marks). That will get you to the ''irb>'' prompt or something like it, depending on your local config. 2) enter ''1''. That will get you to ''=> 1'' hth, Bill
William (Bill) Froelich
2007-Mar-22 16:48 UTC
[Instantrails-users] problem gettting started
Hello. Just trying to get started with Ruby on Rails. I downloaded and installed Instant Rails. I''m trying to follow Patrick Lenz''s tutorial at http://www.sitepoint.com/article/learn-ruby-on-rails, but I can''t get beyon his initial demonstration: (We''ll start with a really brief example: irb> 1 => 1) From the Instant Rails control panel, I chose Rail Applcations / Open Ruby Console Window. In the window, I type "irb>1" and enter. I excpect to see "=> 1, but all I see is a blinking cursor. I tried installing on a second computer. Same result. I suspect a configuration issue, but don''t know how to address it. [Bill Froelich] I think the confusion is in the fact that irb is actually an application that you need to invoke first. Irb is the Interactive Ruby shell where you can play and try out things. Once you open the Ruby Console Window type irb and press [Enter]. You should see the main irb prompt irb(main):001:0> Then when you type in the examples from the tutorial (the stuff after the irb> ) you should see results very similar to what they are indicating. Hope that helps! --Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20070322/74667c0e/attachment.html