dmac / fezzik

A light deployment system that takes care of the heavy lifting.
https://rubygems.org/gems/fezzik
MIT License
37 stars 6 forks source link

Rake complains about fezzik not including Rake::DSL #31

Closed bkad closed 12 years ago

bkad commented 12 years ago

I'm getting this error message while running rake tasks

Loading Fezzik tasks from config/tasks
WARNING: Global access to Rake DSL methods is deprecated.  Please include
    ...  Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method Module#import called at /Users/kle/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/fezzik-0.7.0/lib/fezzik/base.rb:10:in `block in init'
cespare commented 12 years ago

Are you somehow running with a recent version of rake? Fezzik requires a particular finely aged version of rake. It should pull that in, though. Are you running with bundle exec and with fezzik in your Gemfile?

bkad commented 12 years ago

sure enough, wasn't using bundle exec. :flushed: