App Academy

Bundle install / bundle exec rspec aren't working

I’ve read same questions here, in website, but none of them helped me.

I downloaded a specs from here: “App Academy Open”, but when I type “bundle install”, I get “Could not locate Gemfile”, and when I type “bundle exec rspec”, I get “Could not locate Gemfile or .bundle/ directory” no matter from where I type these commands.

you are missing the GEM file, rspec file, therefore you cannot do the bundle install.
Maybe you can type
bundle init
that will create a Gemfile for you.
In the Gemfile, you need to add
gem “pry”
gem “byebug”
gem “rspec”
then you can run bundle install

1 Like