Projects

Ticket #567 (closed defect: fixed)

Opened 2 years ago

Last modified 22 months ago

macirb can't exit after trying to load a gem that doesn't exit

Reported by: mattaimonetti@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.6
Component: MacRuby Keywords:
Cc:

Description

$ macirb --simple-prompt
>> require 'rubygems'
=> true
>> require 'dummygem'
LoadError: no such file to load -- dummygem
	from core:in `raise:'
	from core:in `require:'
>> exit
Errno::EACCES: Permission denied - /Library/Frameworks/MacRuby.framework/Versions/0.6/usr/lib/ruby/Gems
	from core:in `raise:'
	from core:in `reverse_each'
>> 

Note that:

$ macruby -e "require 'rubygems'; require 'dummygem'; exit"

Works just fine and so is:

$ macirb --simple-prompt
>> require 'dummy'
LoadError: no such file to load -- dummy
	from (irb):1:in `<main>'
	from core:in `eval:'
	from core:in `evaluate:'
>> exit

Change History

Changed 2 years ago by martinlagardette@…

Hey Matt, could you check if this is still happening for you with the latest trunk? It works correctly for me now apparently :-)

Changed 22 months ago by martinlagardette@…

  • status changed from new to closed
  • resolution set to fixed

Well, closing, this seems to work fine :-)

Note: See TracTickets for help on using tickets.