passbe/beef-migration-test-2 — Issue #230: Install.rb did not catch missing json gem
Author: passbe
Created: 2011-12-05 09:35:28+00:00
State: open

When I ran up the last 0.4.2.tar.gz from Scotty, the install.rb did not pick up on a JSON gem discrepancy I had.

I got the following errors when I tried to run modules:
[2010-12-06 16:15:59] ERROR SystemStackError: stack level too deep
/home/christian/beef/0.4.2/0.4.2-alpha/lib/ui/modules/modules.rb:342:in `to_json'

I performed the following: sudo gem install json, which reported:

Building native extensions. This could take a while...
Successfully installed json-1.4.6
1 gem installed
Installing ri documentation for json-1.4.6...
Installing RDoc documentation for json-1.4.6...

After that, BeEF ran fine, without throwing the above error.

Original link: http://code.google.com/p/beef/issues/detail?id=195