ruby-2.0.sh 407 B

1234567891011121314151617
  1. #!/bin/bash
  2. fw_depends llvm-dev rvm
  3. fw_installed ruby-2.0 && return 0
  4. # rvm stable [typically] only provides one version of ruby-2.0
  5. # update this when it changes
  6. MRI_VERSION=2.0.0-p643
  7. rvm install $MRI_VERSION
  8. # Bundler is SOMETIMES missing... not sure why.
  9. rvm $MRI_VERSION do gem install bundler
  10. echo "export MRI_VERSION=${MRI_VERSION}" > $IROOT/ruby-2.0.installed
  11. source $IROOT/ruby-2.0.installed