#993: Assertion failure : vm.cpp ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: major | Milestone: MacRuby 0.10 Component: MacRuby | Resolution: Keywords: gems, bundler, deps | ---------------------------------------+------------------------------------ Changes (by jhamor@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [ticket:993 hungerandthirst@…]:
no idea where this comes from but when trying to use bundler to manage gem deps in a macruby app like so
require "rubygems" require "bundler/setup"
I get the following:
Assertion failed: ((size_t)pos < current_exceptions.size()), function pop_current_exception, file vm.cpp, line 3370.
If I remove the 'require bundler/setup' line, it works fine.
Using 7.1 release.
Excuse me, sir! Hate to bring this back. However, this only works (for me) when you dont do it right ;) If i dont have a Gemfile, your sample output works. The second i create a Gemfile, the thing continues to error as before. This is with the latest nightly downloaded moments ago. $ /usr/local/bin/macruby -r rubygems -e "require 'bundler/setup'; p 42" 42 $ echo "" > Gemfile $ /usr/local/bin/macruby -r rubygems -e "require 'bundler/setup'; p 42" Assertion failed: ((size_t)pos < current_exceptions.size()), function pop_current_exception, file vm.cpp, line 3426. Abort trap $ -- Ticket URL: <http://www.macruby.org/trac/ticket/993#comment:5> MacRuby <http://macruby.org/>