From 994fddf1693f09c754d16fa414064c7b0ceca285 Mon Sep 17 00:00:00 2001 From: todb-r7 Date: Tue, 11 Sep 2012 14:39:16 -0700 Subject: [PATCH] Add an alternative method of getting RVM. --- dev/Metasploit-Development-Environment.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dev/Metasploit-Development-Environment.md b/dev/Metasploit-Development-Environment.md index 2ba9ca8c27..04c3681cf6 100644 --- a/dev/Metasploit-Development-Environment.md +++ b/dev/Metasploit-Development-Environment.md @@ -32,8 +32,21 @@ Most (all?) standard distributions of Ruby are lacking in one regard or another. $ curl -L get.rvm.io | bash -s stable ```` -Note the *lack* of sudo; you will nearly always want to install this as a regular user, and not as root. Follow this by editing your .bashrc to include this line at the end (if it doesn't have it already): +Note the *lack* of sudo; you will nearly always want to install this as a regular user, and not as root. Lately, though, this incantation isn't always reliable. This is nearly identical, but more typing: +````bash +$ curl -o rvm.sh -L get.rvm.io && cat rvm.sh | bash -s stable +```` + +Also, if you're sketchy about piping a web site directly to bash, you can perform each step individually, without the &&: + +````bash +$ curl -o rvm.sh -L get.rvm.io +$ less rvm.sh +$ cat rvm.sh | bash -s stable +```` + +However you get RVM installed, follow this by editing your .bashrc to include this line at the end (if it doesn't have it already): \[\[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM