Use chown
on the whole .rvm
and .gem
directories back to your user. You probably used sudo
before and it screwed up permissions.
sudo chown -R username:group ~/.rvm
sudo chown -R username:group ~/.gem
Of course, change username to your username and group to your group
More Related Contents:
- How to remove RVM (Ruby Version Manager) from my system
- Ruby Gem install Json fails on Mavericks and Xcode 5.1 – unknown argument: ‘-multiply_definedsuppress’
- How to install a gem or update RubyGems if it fails with a permissions error
- How do I update Ruby Gems from behind a Proxy (ISA-NTLM)
- How to make –no-ri –no-rdoc the default for gem install?
- Meaning of tilde-greater-than (~>) in version requirement?
- Can’t install gems on OS X “El Capitan”
- The ‘json’ native gem requires installed build tools
- What does tilde-greater-than (~>) mean in Ruby gem dependencies? [duplicate]
- Why are we installing Ruby 1.9.2/1.9.3 gems into a 1.9.1 folder?
- How can I install a local gem?
- Adding a directory to $LOAD_PATH (Ruby)
- Installing RubyGems in Windows
- Unresolved specs during Gem::Specification.reset:
- How do you downgrade rubygems?
- Installing Jekyll without root
- Why are gems installed in a directory with a different Ruby version than I’m running?
- find_spec_for_exe’: can’t find gem bundler (>= 0.a) (Gem::GemNotFoundException)
- Ignoring GEM because its extensions are not built
- ERROR: While executing gem … (Errno::EPERM) Operation not permitted [duplicate]
- ERROR: While executing gem … (Gem::FilePermissionError)
- List of installed gems?
- Why does “compass watch” say it cannot load sass/script/node (LoadError)?
- Check for Ruby Gem availability
- Rubygems: How do I add platform-specific dependency?
- ERROR: Error installing ffi: ERROR: Failed to build gem native extension
- Ruby gem for finding timezone of location [closed]
- Functional code examples in ruby
- Ruby : How to write a gem? [closed]
- How to install therubyracer gem on 10.10 Yosemite?