Skip to content

Instantly share code, notes, and snippets.

@Oshuma
Created October 19, 2009 13:24
Show Gist options
  • Select an option

  • Save Oshuma/213353 to your computer and use it in GitHub Desktop.

Select an option

Save Oshuma/213353 to your computer and use it in GitHub Desktop.
$ macgem list
*** LOCAL GEMS ***
bacon (1.1.0)
httpattack-lib (0.2.1)
$ macirb
irb(main):001:0> require 'rubygems'
=> false
irb(main):002:0> require 'bacon'
LoadError: no such file to load -- bacon
from (irb):2:in `require'
from (irb):2
from /usr/local/bin/macirb:12:in `<main>'
# MacRuby can find gems if using Ruby 1.9
$ rvm 1.9
$ macirb
irb(main):001:0> require 'bacon'
=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment