Skip to content

Instantly share code, notes, and snippets.

@geeksam
geeksam / gist:1151929
Created August 17, 2011 16:24
gem_dep_tree output
rails 2.3.11 (>= 0)
actionmailer 2.3.11 (= 2.3.11)
actionpack 2.3.11 (= 2.3.11)
activesupport 2.3.11 (= 2.3.11)
rack 1.1.2 (~> 1.1.0)
activerecord 2.3.11 (= 2.3.11)
activeresource 2.3.11 (= 2.3.11)
rake 0.8.7 (>= 0.8.3)
rake 0.9.2 (>= 0.8.3)
rails 3.0.9 (>= 0)
@geeksam
geeksam / gist:1128496
Created August 5, 2011 20:54
Platypus .rvmrc file
# PROJECT_RUBY="ruby-1.8.7-p302"
PROJECT_RUBY="rbx-1.2.3-20110315"
# use the global gemset in order to check for and install bundler, since we
# don't need it to be different for different projects
rvm use $PROJECT_RUBY@global --create --install
NEED_GEM_VERSION='1.3.7'
echo -n "Rubygems version 1.3.7 required. Do we have the right version?... "
if `ruby -rubygems -e "puts (Gem::VERSION == '$NEED_GEM_VERSION') ? exit(0) : exit(1)"`; then