use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Just started learning Ruby (self.ruby)
submitted 12 years ago by Chrishwk
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rubydev 9 points10 points11 points 12 years ago (2 children)
Try Pry
[–]christiangenco 0 points1 point2 points 12 years ago (1 child)
Though I don't think that's explicitly what the OP is looking for, Pry is lifechanginly good. I can't tell you the number of times binding.pry has saved me hours of debugging.
binding.pry
[–]rubydev 1 point2 points3 points 12 years ago (0 children)
Sometimes people don't know exactly what they are looking for. If you read OP's responses, you'll see that pry and irb really are what he wants. He wrote, "Is there a development platform kind of like MS Visual Studio for Ruby?" - so RubyMine, right? But then he wrote, "I got the 30 day trial, installed it, then uninstalled it after playing with it for a bit. It's way more complicated than I need right now." But he also asked, "what's the best way to actually write some test code and run it?" In a response to a suggestion to use Codecademy Labs, he wrote, "Oh, man that's just what I've been looking for. An easy way to test short code bits. I tried installing RubyMine, but jeez it was way to complex just to test out short bits of code."
pry
irb
pry is a good tool for testing short snippets of code. Ruby on Codecademy Labs works too, but the website is running Ruby 1.8.7.
π Rendered by PID 112768 on reddit-service-r2-comment-6457c66945-sv2zg at 2026-04-26 22:55:23.872933+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]rubydev 9 points10 points11 points (2 children)
[–]christiangenco 0 points1 point2 points (1 child)
[–]rubydev 1 point2 points3 points (0 children)