Skip to content

Commit

Permalink
update rvmrc to use any 1.9.3 patchlevel available, and add Gemfile f…
Browse files Browse the repository at this point in the history
…or required gems
  • Loading branch information
mrbrdo committed Mar 8, 2013
1 parent 6e0d845 commit b354549
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
18 changes: 1 addition & 17 deletions .rvmrc
@@ -1,18 +1,2 @@
#!/usr/bin/env bash

environment_id="ruby-1.9.3@mruby_cc"

if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
then
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
[[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
\. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
else
# If the environment file has not yet been created, use the RVM CLI to select.
rvm --create "$environment_id" || {
echo "Failed to create RVM environment '${environment_id}'."
return 1
}
fi

rvm 1.9.3@mruby_cc --fuzzy --create
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gem 'activesupport'
gem 'i18n'
12 changes: 12 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,12 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (3.0.0)
i18n (0.6.4)

PLATFORMS
ruby

DEPENDENCIES
activesupport
i18n

0 comments on commit b354549

Please sign in to comment.