Top "Irb" questions

Interactive Ruby (IRB) is a shell for programming in Ruby.

How to suppress Rails console/irb outputs

I'm stuck with a pretty weird problem. I was testing some db entries in our production server in Rails Console …

ruby-on-rails ruby irb
Get all local variables or available methods from irb?

When I go into irb and type in a command that does not exist I get an error stating "undefined …

ruby reflection irb
Stop rails console from printing out the object at the end of a loop

If I, say, loop through all the instances of a given model and output something from each, at the end, …

ruby-on-rails ruby console irb
Load and use fixture in rails console

I wonder if there's a way to load and/or use fixture in rails console. Actually, I'd like to create …

ruby-on-rails ruby-on-rails-3 fixtures irb
How to run Ruby programs in MAC OS Terminal

Possible Duplicate: How to run ruby files? I am starting to learn Ruby and having a hard time running the …

ruby-on-rails ruby irb
irb history not working

in ~/.irbrc i have these lines: require 'irb/ext/save-history' #History configuration IRB.conf[:SAVE_HISTORY] = 100 IRB.conf[:HISTORY_FILE] = "#{…

ruby irb
rails console fails with `Switch to inspect mode` in windows

I create a rails project by rails new foo, then cd foo, and run rails c. Then I got message …

ruby-on-rails ruby windows irb
Digest::MD5 in Ruby 1.9.3

I'm running into something weird here. I have an "authenticator" that relies on ND5 to hash a certain string we …

ruby rubygems md5 irb ruby-1.9.3
Why isn't current directory on my Ruby path?

Is there any reason why my present working directory is not on my Ruby path? Consider: ~:499$ irb ruby-1.9.2-p136 :002 > …

ruby irb
How to enable auto completion in Ruby's IRB

When I use Merb's built in console, I get tab auto-completion similar to a standard bash prompt. I find this …

ruby irb tab-completion