From 6ee85bb626dccaae6074b9fba8da8c0a27e6de60 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Sat, 21 May 2011 00:25:11 +0200 Subject: [PATCH] add a .rvmrc_custom if you want to overide the one in the repo --- .gitignore | 1 + .rvmrc | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7cedbc51d..5fa4f1592 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ config/deploy_config.yml .bundle vendor/bundle/* config/database.yml +.rvmrc_custom # Generated files log/* diff --git a/.rvmrc b/.rvmrc index 956bdbf3e..2ab45d03d 100644 --- a/.rvmrc +++ b/.rvmrc @@ -1 +1,6 @@ -rvm ree-1.8.7-2011.03 +#!/bin/bash +if [ -e '.rvmrc_custom' ]; then + source .rvmrc_custom; +else + rvm --create use ree@diaspora; +fi