moxley / atom-ruby-test

Run Ruby tests, Rspec examples, and Cucumber features from Atom
MIT License
43 stars 36 forks source link

Could not locate Gemfile or .bundle/ directory #46

Closed jacobwalkr closed 9 years ago

jacobwalkr commented 9 years ago

I get this error if I use ctrl-shift-Y, ctrl-shift-T or ctrl-shift-R.

My project uses Rspec and has a valid Gemfile at its root, and I've changed the command in settings to use "bundle exec rspec" instead of just "rspec".

I also use rbenv, in case that's relevant.

moxley commented 9 years ago

If you open the JavaScript developer console and enter this atom.project.getPaths(), what does it return?

jacobwalkr commented 9 years ago

Whoops, sorry. My root folder wasn't my project, but rather a folder containing a number of projects. I believe that's what was causing the issue.