passbe/beef-migration-test-3 — Issue #484: Ruby Breaks BeeF??
Author: passbe
Created: 2011-12-09 01:14:33+00:00
State: open

Arch Linux
----------
Using Pacman to download Ruby, downloads Ruby 1.9. When I run ruby install it does what it is supposed to. Prompts to find the gems and then finds/downloads them automatically. Then, I run ruby beef and I get the error below:

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- windows_console_color_support (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/text/output/stdio.rb:2:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/text/output.rb:15:in `<class:Output>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/text/output.rb:13:in `<module:Text>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/text/output.rb:5:in `<module:Ui>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/text/output.rb:4:in `<module:Rex>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/text/output.rb:3:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:18:in `<class:Output>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:12:in `<module:Ui>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:4:in `<module:Rex>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:3:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui.rb:7:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:18:in `<class:Output>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:12:in `<module:Ui>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:4:in `<module:Rex>'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui/output.rb:3:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/librex-0.0.63/lib/rex/ui.rb:7:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/kmoney/Bin/Beef/core/loader.rb:35:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from beef:37:in `<main>'

I then used the AUR to download Ruby 1.8 because I had it working before with 1.8. This is when I receive the error "Ruby version 1.8.7 is no longer supported. Please upgrade 1.9 or later." Confused, I went to my laptop with beef and ran ruby install and did the auto install. Then ran ruby beef and it worked. Could it be an issue between 64 bit and 32 bit? The first computer is 32 bit and the laptop is 64 bit.

Thanks.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=568