Zapotek/arachni — Issue #132: Error while installing 0.4 : undefined method `call' for nil:NilClass
Author: softibu
Created: 2012-01-09 17:29:21+00:00
State: open

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 11.10
Release:	11.10
Codename:	oneiric
# ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
# gem -v
1.3.7
# gem list

*** LOCAL GEMS ***

addressable (2.2.6)
arachni-rpc (0.1.1)
arachni-typhoeus (0.2.0.2)
async_sinatra (0.5.0)
awesome_print (0.3.2)
bcrypt-ruby (2.1.4)
colored (1.2)
daemons (1.1.5)
data_objects (0.10.7)
datamapper (1.1.0)
dm-aggregates (1.1.0)
dm-constraints (1.1.0)
dm-core (1.1.0)
dm-do-adapter (1.1.0)
dm-migrations (1.1.0)
dm-serializer (1.1.0)
dm-sqlite-adapter (1.1.0)
dm-timestamps (1.1.0)
dm-transactions (1.1.0)
dm-types (1.1.0)
dm-validations (1.1.0)
do_sqlite3 (0.10.7)
em-synchrony (1.0.0)
eventmachine (1.0.0.beta.4)
extlib (0.9.15)
fastercsv (1.5.4)
gscraper (0.3.0)
json (1.4.6)
json_pure (1.6.1)
mechanize (1.0.0)
mime-types (1.17.2)
net-http-digest_auth (1.2)
net-http-persistent (1.9)
net-scp (1.0.4)
net-ssh (2.2.2)
nokogiri (1.5.0)
rack (1.4.0)
rack-protection (1.2.0)
sinatra (1.3.2)
sinatra-flash (0.3.0)
stringex (1.3.0)
sys-proctable (0.9.1 universal-linux)
terminal-table (1.4.3)
thin (1.3.1)
tilt (1.3.3)
typhoeus (0.3.3)
uri-query_params (0.6.0)
uuidtools (2.1.2)
webrobots (0.0.12)
# gem install arachni --debug --backtrace
[...]
Exception `NoMethodError' at /usr/lib/ruby/1.9.1/rubygems/package/tar_input.rb:49 - undefined method `readpartial' for #
Exception `IOError' at /usr/lib/ruby/1.9.1/rubygems/format.rb:50 - closed stream
Exception `Errno::EEXIST' at /usr/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /var/lib/gems/1.9.1
Exception `NoMethodError' at /usr/lib/ruby/1.9.1/rubygems/requirement.rb:134 - undefined method `call' for nil:NilClass
ERROR: While executing gem ... (NoMethodError)
undefined method `call' for nil:NilClass
/usr/lib/ruby/1.9.1/rubygems/requirement.rb:134:in `block in satisfied_by?'
/usr/lib/ruby/1.9.1/rubygems/requirement.rb:134:in `each'
/usr/lib/ruby/1.9.1/rubygems/requirement.rb:134:in `all?'
/usr/lib/ruby/1.9.1/rubygems/requirement.rb:134:in `satisfied_by?'
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:325:in `block in search'
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:323:in `select'
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:323:in `search'
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:280:in `find_name'
/usr/lib/ruby/1.9.1/rubygems/installer.rb:243:in `installation_satisfies_dependency?'
/usr/lib/ruby/1.9.1/rubygems/installer.rb:232:in `ensure_dependency'
/usr/lib/ruby/1.9.1/rubygems/installer.rb:181:in `block in install'
/usr/lib/ruby/1.9.1/rubygems/installer.rb:180:in `each'
/usr/lib/ruby/1.9.1/rubygems/installer.rb:180:in `install'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:277:in `block in install'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:247:in `each'
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:247:in `install'
/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:119:in `block in execute'
/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:116:in `each'
/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:116:in `execute'
/usr/lib/ruby/1.9.1/rubygems/command.rb:270:in `invoke'
/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:134:in `process_args'
/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:104:in `run'
/usr/lib/ruby/1.9.1/rubygems/gem_runner.rb:58:in `run'
/usr/bin/gem:21:in `

'

I had v.03 up and running before, tried gem install -v 04 first, then gem update, and did a gem cleanup before.