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,069
  • 2
  • 16
  • 29
Anubhi Golechha
  • 167
  • 2
  • 14

1 Answers1

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