You don't have /home/user/.gem/ruby/2.7.0/bin in your PATH nano .bashrc PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"