-
-
Save akitaonrails/449358 to your computer and use it in GitHub Desktop.
Revisions
-
wayneeseguin revised this gist
Jun 18, 2010 . 2 changed files with 8 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,8 @@ This could be further expanded to do anything you require :) The important thing to remember is that the purpose of these files is to allow you to very easily have your 'project context' (aka 'environment') loaded automatically for you when you enter the project in the shell (cd). You can generate the .rvmrc file below by running: rvm --create --rvmrc use 1.9.2 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ # Project specific .rvmrc file if [[ -s "/Users/wayne/.rvm/environments/ruby-1.9.2-preview3" ]] ; then . "/Users/wayne/.rvm/environments/ruby-1.9.2-preview3" else rvm --create use "ruby-1.9.2-preview3" fi [[ -s "project_name.gems" ]] && rvm gemset import project_name.gems -
wayneeseguin revised this gist
Jun 15, 2010 . 4 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes.File renamed without changes.File renamed without changes. -
wayneeseguin created this gist
Jun 15, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ # Project specific .rvmrc file if [[ -s "/Users/wayne/.rvm/environments/system" ]] ; then . "/Users/wayne/.rvm/environments/system" else rvm --create use "system" fi [[ -s "project_name.gems" ]] && rvm gemset import project_name.gems bundle install This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ gem "haml" gem "compass" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ This is an example of using RVM's Project .rvmrc file to have it automatically bootstrap your environment, including bundler. This could be further expanded to do anything you require :) The important thing to remember is that the purpose of these files is to allow you to very easily have your 'project context' (aka 'environment') loaded automatically for you when you enter the project in the shell (cd). This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ bundler -v0.9.26