本文主要是介绍Metasploit ---- Could not find rake,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
昨天更新了一下系统,今天Metasploit出了点问题,如下所示: |
nixawk@paul:~/sectools/metasploit-framework$ ./msfconsole /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound) from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `map!' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `materialize' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:132:in `specs' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:177:in `specs_for' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:166:in `requested_specs' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/environment.rb:18:in `requested_specs' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/runtime.rb:13:in `setup' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler.rb:121:in `setup' from /home/nixawk/sectools/metasploit-framework/config/boot.rb:33:in `<top (required)>' from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require' from ./msfconsole:45:in `<main>' offensive@paul:~/sectools/metasploit-framework$ ./msfconsole -L /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound) from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `map!' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `materialize' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:132:in `specs' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:177:in `specs_for' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:166:in `requested_specs' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/environment.rb:18:in `requested_specs' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/runtime.rb:13:in `setup' from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler.rb:121:in `setup' from /home/nixawk/sectools/metasploit-framework/config/boot.rb:33:in `<top (required)>' from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require' from ./msfconsole:45:in `<main>' nixawk@paul:~/sectools/metasploit-framework$ bundle install --path vendor/cache Fetching gem metadata from https://rubygems.org/......... |
解决方法: bundle install --path vendor/cache |
参考链接:
http://stackoverflow.com/questions/14247996/could-not-find-rake-10-0-3-in-any-of-the-sources-when-working-with-whenever-and
这篇关于Metasploit ---- Could not find rake的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!