Abstract
This blog talks about ruby configuration.
Basics
rvm
, ruby version manager, is used to intall Ruby and manage your Rails versions.ruby
, is the interpreter for the Ruby programming language.rails
, is a web application development framework.gems
, is the soft libraries.12gem install **gem uninstall **gemset
is to store different gems for different purposes. You can uservm gemset list
to show all the gemset. By default, there are two gemsets, one isdefault
, one isglobal
. You can uservm gemset use global
to swith toglobal
gemset. When you install gem inglobal
gemset, it will come use to all other gemset.
Install
follow the guide in InstallRubyonRailsmac
Usages
- remove rvm12rvm imploderm -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