ranmocy / guard-rails

Guard-Rails is watching on your development servers as you wish!
http://ranmocy.github.com/guard-rails
MIT License
137 stars 25 forks source link

0.5.3 can't find rake; 0.5.2 works correctly #32

Closed dankohn closed 10 years ago

dankohn commented 10 years ago

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.

ranmocy commented 10 years ago

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

dankohn commented 10 years ago

0.6.0 fixed it, thanks.