Created
October 12, 2010 14:00
-
-
Save metaskills/622202 to your computer and use it in GitHub Desktop.
This file contains 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 characters
function my-rvm-prompt() { | |
rvmvg=$(~/.rvm/bin/rvm-prompt v g) | |
if [[ x$rvmvg != x ]]; then | |
color=$fg[yellow] | |
[ x$rvmvg != x ] && echo " %{$color%}$rvmvg$reset_color%}" | |
fi | |
} |
You guy might have already seen my blog post from today, but for posterity sake, here's more detail about my usage of bundler and rvm for applications. This comment thread was actually what originally set the spark to write this post.
http://ryan.mcgeary.org/2011/02/09/vendor-everything-still-applies/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, it should work for any ruby project. I use Gemfiles even for one-off spikes nowadays. The only hiccup, I suppose, is coordinating your Gemfile with your gemspec.