Permalink
Browse files

Getting xmpfilter (Execute and Update '# =>' Markers) working under R…

…uby 1.9. Patch by Dave Thomas.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Ruby.tmbundle@11078 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent c41473f commit d1b5b1f2ba0fdabce71646028d4e52ce02643596 @JEG2 JEG2 committed Jan 5, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 Commands/Execute and Insert Results.tmCommand
View
5 Commands/Execute and Insert Results.tmCommand
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
@@ -8,7 +8,8 @@
<string>export RUBYLIB="$TM_BUNDLE_SUPPORT/vendor/rcodetools/lib${RUBYLIB:+:$RUBYLIB}"
export TM_RUBY=$(which "${TM_RUBY:-ruby}")
-"${TM_RUBY}" -- "$TM_BUNDLE_SUPPORT/vendor/rcodetools/bin/xmpfilter"
+
+"${TM_RUBY}" -r "${TM_SUPPORT_PATH}/lib/ruby1.9/add_1.8_features.rb" -- "$TM_BUNDLE_SUPPORT/vendor/rcodetools/bin/xmpfilter"
</string>
<key>fallbackInput</key>
<string>document</string>

0 comments on commit d1b5b1f

Please sign in to comment.