diff --git a/dev/Setting-Up-a-Metasploit-Development-Environment.md b/dev/Setting-Up-a-Metasploit-Development-Environment.md index 9914dd92ac..da610ceb63 100644 --- a/dev/Setting-Up-a-Metasploit-Development-Environment.md +++ b/dev/Setting-Up-a-Metasploit-Development-Environment.md @@ -179,10 +179,10 @@ or editor -- we'll get to those next. ---- ```bash curl -sSL https://rvm.io/mpapis.asc | gpg --import - && -curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby=2.1.6 && +curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby=2.1.7 && source $HOME/.rvm/scripts/rvm && gem install bundler && -ruby -v && # See that it's 2.1.6 +ruby -v && # See that it's 2.1.7 gconftool-2 --set --type boolean /apps/gnome-terminal/profiles/Default/login_shell true ``` ---- @@ -203,7 +203,7 @@ curl -sSL https://rvm.io/mpapis.asc | gpg --import - Next, get RVM itself: ``` -curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby=2.1.6 +curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby=2.1.7 ``` This does pipe straight to bash, which can be a [sensitive @@ -212,14 +212,14 @@ issue][dont-pipe]. For the longer, safer way: ``` curl -o rvm.sh -L https://get.rvm.io cat rvm.sh # Read it and see it's all good -cat rvm.sh | bash -s stable --autolibs=enabled --ruby=2.1.6 +cat rvm.sh | bash -s stable --autolibs=enabled --ruby=2.1.7 ``` Once that's done, fix your current terminal to use RVM's version of ruby: ``` source $HOME/.rvm/scripts/rvm -ruby -v # See that it's 2.1.6 +ruby -v # See that it's 2.1.7 ``` And finally, install the `bundler` gem in order to get all the other gems you'll need: @@ -243,13 +243,13 @@ as a login shell**. It looks like this: [[/screens/kali-gnome-terminal.png]] -Finally, see that you're now running Ruby 2.1.6: +Finally, see that you're now running Ruby 2.1.7: ``` ruby -v ``` -It should say `ruby 2.1.6p336`, unless there is a later version and this doc hasn't been updated yet. +It should say `ruby 2.1.7p400`, unless there is a later version and this doc hasn't been updated yet. # Install an Editor @@ -886,10 +886,10 @@ echo 'YOUR_PASSWORD_FOR_KALI' | sudo -kS apt-get -y install \ ---- ```bash curl -sSL https://rvm.io/mpapis.asc | gpg --import - && -curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby=2.1.6 && +curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby=2.1.7 && source $HOME/.rvm/scripts/rvm && gem install bundler && -ruby -v && # See that it's 2.1.6 +ruby -v && # See that it's 2.1.7 gconftool-2 --set --type boolean /apps/gnome-terminal/profiles/Default/login_shell true ```