Help! E-Text Editor Can’t Run My Rake Tasks…

I downloaded the E-Text Editor to work with my ruby / rake stuff, because it’s a great editor and because it supports all of the TextMate bundles. The idea is that I should be able to run all of my Rake tasks and RSpec tests directly from E. However, I can’t seem to run my rake tasks.

I’ve got Cygwin installed (am new to this… don’t really know much about it). I’ve got the Ruby one-click installer installed (I’ve been using this for several months now). And I’ve got the Ruby textmate bundle installed into E(updated it from the E bundles menu).

Whenever I try to run a rake task, though, I get this error:

c:Rubybinruby.exe: No such file or directory -- C:UsersderickbAppDataRoamingeInstalledBundlesRuby.tmbundleSupportRakeMaterake_mate.rb (LoadError)

I have checked for the file that it says it can’t find. The file does exist. Does anyone have any clue what this error means and how to fix it? My google searches on this have been returning nothing.


Post Footer automatically generated by Add Post Footer Plugin for wordpress.

About Derick Bailey

Derick Bailey is an entrepreneur, problem solver (and creator? :P ), software developer, screecaster, writer, blogger, speaker and technology leader in central Texas (north of Austin). He runs SignalLeaf.com - the amazingly awesome podcast audio hosting service that everyone should be using, and WatchMeCode.net where he throws down the JavaScript gauntlets to get you up to speed. He has been a professional software developer since the late 90's, and has been writing code since the late 80's. Find me on twitter: @derickbailey, @mutedsolutions, @backbonejsclass Find me on the web: SignalLeaf, WatchMeCode, Kendo UI blog, MarionetteJS, My Github profile, On Google+.
This entry was posted in Rake, Ruby. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • http://www.codebork.com/ Alastair Smith

    Are you on an x64 platform? I’ve seen this error before when (for example) a 64-bit process tries to load a 32-bit-only DLL. Try digging out CORFLAGS and checking the platforms the DLLs were built for.

  • Aleksander
  • T. Moriarty

    Derick, by default, the ruby bundle runs cygwin ruby, not ruby installed by the one click installer. So you can either edit or create a new Rake Task command in the ruby bundle.

    @”C:\Ruby18\bin\ruby.exe — %TM_BUNDLE_SUPPORT%”\RakeMate\rake_make.rb”

    Make sure the environment drop down is set to run “Windows native” in the bundle command editor for the rake command. I have not run rake task from e, but I have added commands to invoke the one-click ruby and iron ruby from e in a similiar manner.

  • http://www.lostechies.com/members/derick.bailey/default.aspx derick.bailey

    well after much frustration and dissapointment, i was not able to get the e text editor workign with the one click installer… so i installed the cygwin version of ruby, made the “rubyopt” change in my environment variables, and things seem to be working.

    I’m still not happy with this, though. I don’t like the idea of maintaining two separate instances of ruby and the gems, etc. I’ll be trying to find another way to get E to work with the one click installer, at some point.

  • Uchiha Itachi

    I conceived about Editor Textbox Control