uninitialized constant Rake::DSL in Ruby Gem

后端 未结 4 1214
礼貌的吻别
礼貌的吻别 2020-12-13 13:07

I have been working on updating my gem (whm_xml at https://github.com/ivanoats/whm_xml_api_ruby ) to make it work with ruby 1.9.2, latest rubygems, latest bundler, latest rd

4条回答
  •  时光说笑
    2020-12-13 13:50

    I think this is something that happened with the rake 0.9.0 release. Try putting this in your Gemfile: gem 'rake', '0.8.7'

    Update

    You could try adding

    include Rake::DSL if defined?(Rake::DSL)
    

    to your app; it worked for my Rails app at one point.

提交回复
热议问题