Make sure you are in the project directory before running bundle install. For example, after running rails new myproject, you will want to: $ cd myproject before running bundle install.