ranmocy/guard-rails

0.5.3 can't find rake; 0.5.2 works correctly

dankohn opened this issue · 2 comments

I get this error:

$ bundle exec guard
17:45:39 - INFO - Guard is using TerminalNotifier to send notifications.
17:45:39 - INFO - Guard is using TerminalTitle to send notifications.
17:45:39 - INFO - [Guard::Rails] will start the default web server on port 3000 in development.
17:45:39 - INFO - Starting Rails...

Could not find rake-10.3.2 in any of the sources
Run `bundle install` to install missing gems.
17:46:09 - INFO - Rails NOT started, check your log files.

17:46:09 - INFO - Guard is now watching at '/Users/dan/Dropbox/Documents/dev/chewy'
[1] guard(main)> 

My Guardfile looks like:

guard 'rails' do
  watch('Gemfile.lock')
  watch(%r{^(config|lib|app/validators)/.*})
end

When I change back to guard-rails 0.5.2, my server starts up correctly. In both cases, rake 10.3.2 is installed.

The bug is about the way guard-rails starts the rails.
Please check out the newest 0.6.0 version.
Thanks~

0.6.0 fixed it, thanks.