Sha256: d3cdb3705833c3aa373a0023f1189bbf9dbf58f13b9ad583bebd363d9b011f1b
Contents?: true
Size: 925 Bytes
Versions: 7
Compression:
Stored size: 925 Bytes
Contents
#!/usr/bin/env bash # http://rvm.beginrescueend.com/workflow/rvmrc/ ruby_string="ruby-1.9.2" gemset_name="xmp" if rvm list strings | grep -q "${ruby_string}" ; then # Load or create the specified environment if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \ && -s "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}" ]] ; then \. "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}" else rvm --create "${ruby_string}@${gemset_name}" fi # ( # Ensure that Bundler is installed, install it if it is not. if ! command -v bundle &> /dev/null; then echo "Installing bundler and creating bundle" gem install bundler bundle fi # )& else # Notify the user to install the desired interpreter before proceeding. echo "${ruby_string} was not found, please run 'rvm install ${ruby_string}' and then cd back into the project directory." fi
Version data entries
7 entries across 7 versions & 4 rubygems
Version | Path |
---|---|
xmp_fixed-0.2.4 | .rvmrc |
xmpfixed-0.2.3 | .rvmrc |
xmp-fixed_prefix-0.2.2 | .rvmrc |
xmp-fixed_prefix-0.2.1 | .rvmrc |
xmp-0.2.0 | .rvmrc |
xmp-0.1.1 | .rvmrc |
xmp-0.1.0 | .rvmrc |