Closed bgblanch closed 7 years ago
Run bundle exec rake
after installing bundler
.
C:\code\edt>bundle exec rake
Could not locate Gemfile or .bundle/ directory
I get the same thing on my linux box when I run bundle exec rake
. I cd'd to my home directory and ran it (there is a .bundle directory there) but it still returned the same error.
I see. This is because you don't have a gemfile in your project. Add a file like these to your project, run bundle
and then bundle exec rake
:
I don't think that's it. On my linux box rake
is working fine with no gemfile in the project directory. I get the same error, however, on the linux box.
I have a number of Gemfiles due to my vagrant installation but nothing in the project folder.
I'm saying that you need to add them to the project folder so you can choose the version of rake to bind to.
Otherwise, you can PR this repo with a bumped dependency on rake and I'll release a version that works out of the box without bundler.
Y:\edt >gem install bundler Successfully installed bundler-1.13.6 Parsing documentation for bundler-1.13.6 Done installing documentation for bundler after 3 seconds 1 gem installed
Y:\edt >bundle exec rake Could not locate Gemfile or .bundle/ directory
I figured it out. I had to log into the box as Administrator to run the scripts (user was an Administrator but not able to run gem install... or bundle...)
Operating System
Ruby Version
Gem List
Installation
Error Message