RVM Ruby Configuration on Mac

Abstract

This blog talks about ruby configuration.

Basics

  1. rvm, ruby version manager, is used to intall Ruby and manage your Rails versions.

  2. ruby, is the interpreter for the Ruby programming language.

  3. rails, is a web application development framework.

  4. gems, is the soft libraries.

    1
    2
    gem install **
    gem uninstall **
  5. gemset is to store different gems for different purposes. You can use rvm gemset list to show all the gemset. By default, there are two gemsets, one is default, one is global. You can use rvm gemset use global to swith to global gemset. When you install gem in global gemset, it will come use to all other gemset.

Install

follow the guide in InstallRubyonRailsmac

Usages

  • remove rvm
    1
    2
    rvm implode
    rm -rf ~/.rvm

Errors

. bundle install returns Could not locate Gemfile or .bundle/ directory
You just need to change directories to your app, THEN run bundle install :) Stackoverflow