displayed-notes.txt 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. * If you wish to disable the project .rvmrc file functionality, set
  2. rvm_project_rvmrc=0 in either /etc/rvmrc or ~/.rvmrc.
  3. then log out and back in.
  4. * after_use and after_cd hook now supports multiple files with after_*_*
  5. the custom hooks can be easily turned on/off by:
  6. chmod +x $rvm_path/hooks/after_cd_[hook_name]
  7. chmod -x $rvm_path/hooks/after_use_[hook_name]
  8. * If your shell exits on entering a directory with freshly checked out sources
  9. you should update .rvmrc file, and replace any `exit ` with `return `.
  10. * In case you have some old RVM files/rubies in '/usr/local/bin' or '$HOME/bin' feel free to remove them,
  11. they were copied there because of bug in path detection.
  12. * Zsh 4.3.15 is buggy, be careful with it, it can break RVM, especially multiuser installations,
  13. You should consider downgrading Zsh to 4.3.12 which has proven to work more reliable with RVM.
  14. * Optionally you can run \`rvm tools rvm-env ruby bash\` which will generate
  15. shebang wrappers for easier selecting ruby in scripts.
  16. * If you wish to get more default(global) gems installed, install RVM with this flag: --with-gems="pry vagrant"
  17. this option is remembered, it's enough to use it once.
  18. * Binary rubies are installed by default if available, you can read about it in help:
  19. rvm help install
  20. rvm help mount
  21. * RVM comes with a set of default gems including 'bundler', 'rake', 'rubygems-bundler' and 'rvm' gems;
  22. if you do not wish to get these gems, install RVM with this flag: --without-gems="rvm rubygems-bundler"
  23. this option is remembered, it's enough to use it once.
  24. * RVM will try to automatically use available package manager, might require `sudo`,
  25. read more about it in `rvm help autolibs`
  26. * The default umask for multi-user installation got extended to `umask u=rwx,g=rwx,o=rx`,
  27. comment it out to avoid automatic updates.
  28. * If you encounter any issues with a ruby 'X' your best bet is to:
  29. rvm get head && rvm reinstall X --debug
  30. * RVM will run 'rvm requirements' by default, to disable run:
  31. echo rvm_autolibs_flag=0 >> ~/.rvmrc
  32. * RVM 1.20.12 removes the automated --progress-bar from curl options,
  33. if you liked this then you can restore this behavior with:
  34. echo progress-bar >> ~/.curlrc
  35. * RVM will set first installed ruby as default and use it if run as function.
  36. To avoid this behavior either use full path to rvm binary or prefix it with `command `.
  37. * To update RVM loading code run 'rvm get ... --auto-dotfiles'
  38. * RVM 1.20 changes default behavior of Autolibs to Enabled - if you prefer the 1.19 behavior
  39. then run "rvm autolibs read-fail", read more details: rvm help autolibs
  40. * RVM 1.24 changes default package manager on OSX to Homebrew,
  41. use `rvm autolibs macports` if you prefer Macports.
  42. * RVM 1.24 changes default `--verify-downloads` flag to `1` you can get the paranoid mode again with:
  43. echo rvm_verify_downloads_flag=0 >> ~/.rvmrc
  44. * RVM 1.25 disables default pollution of rvm_path/bin, you still can generate the links using:
  45. rvm wrapper ruby-name # or for default:
  46. rvm wrapper default --no-prefix
  47. * RVM 1.25.11 'rvm remove' will by default remove gems, to remove only ruby use 'rvm uninstall'
  48. * RVM 1.30 simplifies behavior of 'rvm wrapper' subcommand