$ gem install sinatra
Fetching: rack-1.5.2.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/local/rvm/gems/ruby-2.0.0-p0 directory.
私/etc/profile
はすでに挿入しました:
source /usr/local/rvm/scripts/rvm
注: vagrant を使用しており、group:user はadmin:vagrant
. また、これが関連する場合:
$ echo $GEM_HOME
/usr/local/rvm/gems/ruby-2.0.0-p0