After automatically upgrading to 1324 at the weekend I've been having problems with some functions in the Subversion bundle. If I try a commit I get a popup window saying:
/Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1:in `require': No such file to load -- erb (LoadError) from /Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1 from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:13: in `require' from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:13
I get a similar message for status checks, but updating to HEAD is fine...
I have no idea what this means or why it hates me, but I can't help wondering if it's because I'm running OS X Panther. As I understand it, TM itself is Panther compatible, but some bundles aren't. Could it be that a bundle update caused this?
If anyone has any ideas I'm all ears. Thanks.
I think sometimes you have to do an update on /Library/Application Support/TextMate/Support .. maybe you can try that? (If you haven't already)
http://macromates.com/textmate/manual/bundles#support_folder
-steve
On Nov 8, 2006, at 2:48 PM, Adre wrote:
After automatically upgrading to 1324 at the weekend I've been having problems with some functions in the Subversion bundle. If I try a commit I get a popup window saying:
/Library/Application Support/TextMate/Support/lib/erb_streaming.rb: 1:in `require': No such file to load -- erb (LoadError) from / Library/Application Support/TextMate/Support/lib/erb_streaming.rb: 1 from /Library/Application Support/TextMate/Bundles/ Subversion.tmbundle/Support/svn_commit.rb:13:in `require' from / Library/Application Support/TextMate/Bundles/Subversion.tmbundle/ Support/svn_commit.rb:13
I get a similar message for status checks, but updating to HEAD is fine...
I have no idea what this means or why it hates me, but I can't help wondering if it's because I'm running OS X Panther. As I understand it, TM itself is Panther compatible, but some bundles aren't. Could it be that a bundle update caused this?
If anyone has any ideas I'm all ears. Thanks. ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Thanks for the quick response, I gave it a quick try but it doesn't seem to have made any difference. As far as I can tell the checkout was successful, but no change to my SVN commands.
-Adré
On Nov 8, 2006, at 19:52, Steve Lianoglou wrote:
I think sometimes you have to do an update on /Library/Application Support/TextMate/Support .. maybe you can try that? (If you haven't already)
http://macromates.com/textmate/manual/bundles#support_folder
-steve
On Nov 8, 2006, at 2:48 PM, Adre wrote:
After automatically upgrading to 1324 at the weekend I've been having problems with some functions in the Subversion bundle. If I try a commit I get a popup window saying:
/Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1:in `require': No such file to load -- erb (LoadError) from /Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1 from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb: 13:in `require' from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:13
I get a similar message for status checks, but updating to HEAD is fine...
I have no idea what this means or why it hates me, but I can't help wondering if it's because I'm running OS X Panther. As I understand it, TM itself is Panther compatible, but some bundles aren't. Could it be that a bundle update caused this?
If anyone has any ideas I'm all ears. Thanks. ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
You need Ruby 1.8 for the commands which use ERb.
On 8. Nov 2006, at 21:02, Adre wrote:
Thanks for the quick response, I gave it a quick try but it doesn't seem to have made any difference. As far as I can tell the checkout was successful, but no change to my SVN commands.
-Adré
On Nov 8, 2006, at 19:52, Steve Lianoglou wrote:
I think sometimes you have to do an update on /Library/Application Support/TextMate/Support .. maybe you can try that? (If you haven't already)
http://macromates.com/textmate/manual/bundles#support_folder
-steve
On Nov 8, 2006, at 2:48 PM, Adre wrote:
After automatically upgrading to 1324 at the weekend I've been having problems with some functions in the Subversion bundle. If I try a commit I get a popup window saying:
/Library/Application Support/TextMate/Support/lib/ erb_streaming.rb:1:in `require': No such file to load -- erb (LoadError) from /Library/Application Support/TextMate/Support/ lib/erb_streaming.rb:1 from /Library/Application Support/ TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:13:in `require' from /Library/Application Support/TextMate/Bundles/ Subversion.tmbundle/Support/svn_commit.rb:13
I get a similar message for status checks, but updating to HEAD is fine...
I have no idea what this means or why it hates me, but I can't help wondering if it's because I'm running OS X Panther. As I understand it, TM itself is Panther compatible, but some bundles aren't. Could it be that a bundle update caused this?
If anyone has any ideas I'm all ears. Thanks. ____________________________________________________________________ __ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
This wonderfully descriptive error message is caused by the new use of the ERB templating system, which is bundled with Ruby 1.8, but not 1.6.
Your options are:
1. (free) Install Ruby 1.8.5 and point TM_RUBY to it.
OR
2. (probably not free) Upgrade to Tiger, which has Ruby 1.8 preinstalled.
Chris
On Nov 8, 2006, at 2:52 PM, Steve Lianoglou wrote:
I think sometimes you have to do an update on /Library/Application Support/TextMate/Support .. maybe you can try that? (If you haven't already)
http://macromates.com/textmate/manual/bundles#support_folder
-steve
On Nov 8, 2006, at 2:48 PM, Adre wrote:
After automatically upgrading to 1324 at the weekend I've been having problems with some functions in the Subversion bundle. If I try a commit I get a popup window saying:
/Library/Application Support/TextMate/Support/lib/erb_streaming.rb: 1:in `require': No such file to load -- erb (LoadError) from / Library/Application Support/TextMate/Support/lib/erb_streaming.rb: 1 from /Library/Application Support/TextMate/Bundles/ Subversion.tmbundle/Support/svn_commit.rb:13:in `require' from / Library/Application Support/TextMate/Bundles/Subversion.tmbundle/ Support/svn_commit.rb:13
I get a similar message for status checks, but updating to HEAD is fine...
I have no idea what this means or why it hates me, but I can't help wondering if it's because I'm running OS X Panther. As I understand it, TM itself is Panther compatible, but some bundles aren't. Could it be that a bundle update caused this?
If anyone has any ideas I'm all ears. Thanks. ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Thanks you all for your quick replies and suggestions, I'm happy to say it's now working. It seems Chris and Allan were on the right lines, but I was a little confused as I am already running Ruby on Rails with a 1.8.4 install of Ruby!
Well it seems that for whatever reason TextMate was showing a preference for the pre-installed 1.6 version in /usr/bin rather than the 1.8 version in /usr/local/bin, which appears first in $PATH. A quick trip to TextMate's Preferences>Advanced>Shell Variables to create TM_RUBY and point it to my 1.8 installation and everything's back to normal.
Thanks again to all who helped.
On Nov 8, 2006, at 20:08, Chris Thomas wrote:
This wonderfully descriptive error message is caused by the new use of the ERB templating system, which is bundled with Ruby 1.8, but not 1.6.
Your options are:
- (free) Install Ruby 1.8.5 and point TM_RUBY to it.
OR
- (probably not free) Upgrade to Tiger, which has Ruby 1.8
preinstalled.
Chris
On Nov 8, 2006, at 2:52 PM, Steve Lianoglou wrote:
I think sometimes you have to do an update on /Library/Application Support/TextMate/Support .. maybe you can try that? (If you haven't already)
http://macromates.com/textmate/manual/bundles#support_folder
-steve
On Nov 8, 2006, at 2:48 PM, Adre wrote:
After automatically upgrading to 1324 at the weekend I've been having problems with some functions in the Subversion bundle. If I try a commit I get a popup window saying:
/Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1:in `require': No such file to load -- erb (LoadError) from /Library/Application Support/TextMate/Support/lib/erb_streaming.rb:1 from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb: 13:in `require' from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb: 13
I get a similar message for status checks, but updating to HEAD is fine...
I have no idea what this means or why it hates me, but I can't help wondering if it's because I'm running OS X Panther. As I understand it, TM itself is Panther compatible, but some bundles aren't. Could it be that a bundle update caused this?
If anyone has any ideas I'm all ears. Thanks. _____________________________________________________________________ _ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Nov 8, 2006, at 5:21 PM, Adre wrote:
Thanks you all for your quick replies and suggestions, I'm happy to say it's now working. It seems Chris and Allan were on the right lines, but I was a little confused as I am already running Ruby on Rails with a 1.8.4 install of Ruby!
Well it seems that for whatever reason TextMate was showing a preference for the pre-installed 1.6 version in /usr/bin rather than the 1.8 version in /usr/local/bin, which appears first in $PATH. A quick trip to TextMate's Preferences>Advanced>Shell Variables to create TM_RUBY and point it to my 1.8 installation and everything's back to normal.
http://macromates.com/textmate/manual/shell_commands#search_path
See the above if you'd like to really fix your path rather than just patching around the real problem :)