irbrc 248 B

123456789101112
  1. #!/usr/bin/env bash
  2. # Create the irbrc for the currently selected ruby installation.
  3. __rvm_irbrc()
  4. {
  5. if
  6. [[ -d "$rvm_ruby_home" && ! -s "$rvm_ruby_irbrc" ]]
  7. then
  8. __rvm_cp "$rvm_scripts_path/irbrc" "$rvm_ruby_irbrc" || return $?
  9. fi
  10. }