How to install a gem via user account?
I am logged in as user. I gave all root privileges to user. Now I am doing bundle install. It is breaking by saying "Make sure that gem install nokogiri before bundling. Now when I try to install by gem install nokogiri , it says permission denied. When I try it with sudo gem install nokogiri, then it says "sudo: gem: command not found". How can I install this gem?