Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 0.08+ breaks under ruby 1.8.7 #34

Open
ianheggie opened this issue Dec 15, 2013 · 1 comment
Open

version 0.08+ breaks under ruby 1.8.7 #34

ianheggie opened this issue Dec 15, 2013 · 1 comment

Comments

@ianheggie
Copy link

rake spec, script/server etc error out with versions 0.0.8 and 0.0.9:

rake aborted!
/home/ianh/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/guard-rake-0.0.8/lib/guard/rake.rb:56: syntax error, unexpected tIDENTIFIER, expecting tAMPER
      ::Rake::Task[@task].invoke(*@options[:task_args], paths)
                                                             ^
.../rails2.3.18app/config/boot.rb:123:in `load_gems'
.../rails2.3.18app/config/environment.rb:46
Tasks: TOP => spec => db:test:prepare => db:abort_if_pending_migrations => environment
(See full trace by running task with --trace)

Workaround is to lock version in gemfile:

gem "guard-rake", '0.0.7'
@andres-k
Copy link

andres-k commented Jan 2, 2014

Another workaround is to manually change ::Rake::Task[@task].invoke(*@options[:task_args], paths) to
::Rake::Task[@task].invoke(paths)

This should work for 0.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants