Top "Irb" questions

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

rails console - display active record results in a table

Is there a way to display Active Record results in table format in the script/console environment?

ruby-on-rails ruby rubygems console irb
How do I drop to the IRB prompt from a running script?

Can I drop to an IRB prompt from a running Ruby script? I want to run a script, but then …

ruby irb
Rails console - use image_tag method

How can I execute a image_tag method in a Rails console Run the console $ rails c Load helpers include …

ruby-on-rails helper irb actionview actionviewhelper
Problems installing rdoc, irb, bluecloth, chronic on fedora 12

What do these errors mean? [root@localhost config]# gem install bluecloth Building native extensions. This could take a while... ERROR: …

ruby-on-rails irb rdoc chronic bluecloth
How to suppress the output of return value in IRB/Rails Console?

An example is if I go into IRB and do the following: jruby-1.6.7 :026 > puts [1,2,3,4,5] 1 2 3 4 5 => nil Is there anyway …

ruby-on-rails ruby irb
How do I introspect things in Ruby?

For instance, in Python, I can do things like this if I want to get all attributes on an object: &…

ruby introspection irb
Can't find gems in irb: "NameError: uninitialized constant Gem from (irb)"

When I run a Rails app it finds all of my installed gems correctly. This is the first time I …

ruby-on-rails ruby rubygems irb
IRb: how to start an interactive ruby session with pre-loaded classes

As I am going through my journey by adopting the Ruby language, I spend a lot of time inside IRb. …

ruby configuration customization irb
Require command not working within bash irb on Snow Leopard

I am working on Zed Shaw's Learn Ruby the Hard Way Exercise 25 http://ruby.learncodethehardway.org/ex25.html When I …

ruby irb learn-ruby-the-hard-way
Rails3 irb console vs rails console?

Using Rails3 and Ruby 1.9.2, I am new, just learning Ruby/Rails-- When I run irb I end up with irb(…

ruby-on-rails console irb