我开始使用TextMate1.5.11为Chef编写Ruby代码,在尝试从RakeFile运行任务时遇到一个错误,需要一些帮助。
当我尝试运行Bundles->Ruby-> rake ->run rake task时,我希望系统会提示我从rakefile运行哪个任务。相反,我得到了以下错误:
需要‘from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RakeMate/rake_mate.rb:7:in’的/opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- run_rake_task (LoadError) from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
非常感谢您的帮助。
谢谢
发布于 2014-02-16 04:49:45
有关这个特定问题的一些答案,以及如何诊断您自己的情况的一些建议,请参阅Textmate + RVM + Rake = Rake not using expected gem environment。
https://stackoverflow.com/questions/18285114
复制相似问题