0

I'm starting to write Ruby code for Chef using Textmate 1.5.11, and need some help with an error i'm getting when attempting to run tasks from a RakeFile.

When I try to run Bundles->Ruby->rake->run rake task, I'm expecting to be prompted for which task i'd like to run from my rakefile. Instead, I'm getting the following error:

/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:inrequire' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RakeMate/rake_mate.rb:7:in `'

Any help greatly appreciated.

Thank you

Jean Valjean
  • 23
  • 1
  • 6

1 Answers1

0

See Textmate + RVM + Rake = Rake not using expected gem environment for some answers about this particular problem, and some advice on how to diagnose your own situation.

Community
  • 1
  • 1
jschank
  • 554
  • 1
  • 5
  • 16