所以我在虛擬機中運行回溯5。我正在嘗試更新metasploit。我從github下載了metasploit目錄,並完全按照Web告訴我的方式(https://community.rapid7.com/community/metasploit/blog/2013/05/20/git-clone-metasploit-dont-svn-checkout)刪除了舊的svn目錄。當我運行msfupdate我得到這個錯誤:沒有這樣的文件加載 - 捆綁(LoadError)
[email protected]:~/metasploit# ./msfupdate
[*]
[*] Attempting to update the Metasploit Framework...
[*]
[*] Checking for updates via git
[*] Note: Updating from bleeding edge
HEAD is now at a02e0ee Land #2682 - Kimai v0.9.2 'db_restore.php' SQL Injection
Already on 'master'
Already up-to-date.
[*] Updating gems...
./msfupdate:188:in `require': no such file to load -- bundler (LoadError)
from ./msfupdate:188:in `update_git!'
from ./msfupdate:137:in `block in run!'
from ./msfupdate:135:in `chdir'
from ./msfupdate:135:in `run!'
from ./msfupdate:292:in `<main>'
我知道我可以運行bundle命令,以「捆綁更新」和「包安裝」。其中,在一個側面說明,也導致了一個錯誤,當你運行「捆綁更新」:
Gem::InstallError: factory_girl requires Ruby version >= 1.9.2.
這是奇怪的考慮,我得到這個,當我問Ruby的版本:
[email protected]:~/metasploit# ruby -v
ruby 1.9.2dev (2010-07-02) [x86_64-linux]
這是不是最新版本,但是我在更新Ruby時遇到了問題,在這一點上,我想我可能會問問互聯網,並且有人真的知道這裏會發生什麼事情來幫助。
您使用的是RVM嗎? –