instead of installing gems manually, just run bundle install.