ERROR: While executing gem … (Errno::EACCES) Permission denied @ dir_s_mkdir – /var/lib/gems


ERROR: While executing gem … (Errno::EACCES) Permission denied @ dir_s_mkdir – /var/lib/gems
An error occurred while executing the Gem Install Bundler
Reason: Insufficient permissions
Put a sudo in front of it
sudo gem install bundler
Is OK

Read More: