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

No such file to load -- rake/dsl_definition #93

Open
hemang opened this issue May 28, 2012 · 3 comments
Open

No such file to load -- rake/dsl_definition #93

hemang opened this issue May 28, 2012 · 3 comments

Comments

@hemang
Copy link

hemang commented May 28, 2012

Hi,

I am getting the following error running heroku_san with rake 0.8.7. As recommended in several stack overflow results, I have set rake to 0.8.7 explicitly and tried adding require 'rake/dsl_definition' to the top of my Rakefile but I still get the same error.

Please see the trace below:

/Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require': no such file to load -- rake/dsl_definition (LoadError) from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inblock in require'
from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in block in load_dependency' from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:innew_constants_in'
from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in load_dependency' from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire'
from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bundler/gems/heroku_san-08fcd7c9dc27/lib/git.rb:2:in <top (required)>' from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:inrequire'
from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in block in require' from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inblock in load_dependency'
from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in new_constants_in' from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:inload_dependency'
from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in require' from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bundler/gems/heroku_san-08fcd7c9dc27/lib/heroku_san.rb:2:in<top (required)>'
from /Users/hpatel/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require'

Any suggestions to fix this would be greatly appreciated.

Thanks,
Hemang

@thechrisoshow
Copy link

I updated rake to 0.9.2.2 and it seemed to do the trick

@kmayer
Copy link
Contributor

kmayer commented Jun 19, 2012

Yeah, I thought so. I'll look into writing in some rake 0.8.7 backward compat.

@hemang
Copy link
Author

hemang commented Jun 19, 2012

yup, I opened the issue only for 0.8.7 compatibility. Thanks for looking in to it @kmayer

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

No branches or pull requests

3 participants