1

I am trying to install Rails on Ubuntu, but it is showing the following error:

ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /var/lib/gems/1.9.1 directory.

Please help me to install the Rails gem.

almcd
  • 1,059
  • 2
  • 16
  • 29
Anubhi Golechha
  • 167
  • 2
  • 13

1 Answers1

1
Run This Command
sudo gem update --system
bk chovatiya
  • 345
  • 2
  • 8