I cannot commit a file to my repository using the subversion bundle. When I try I get this error message:
Couldn't find /usr/bin/ruby
We need Ruby to proceed.
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS /opt/local/bin /opt/local/sbin /Users/phurley/bin /usr/local/bin /sw/bin /sw/sbin /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /Applications/TextMate.app/Contents/SharedSupport/Support/bin
From the bash prompt:
which ruby
/opt/local/bin/ruby
ruby -v
ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.8.2]
which svn
/opt/local/bin/svn
svn --version
svn, version 1.4.2 (r22196) compiled Jan 9 2007, 01:05:16
(snip)
FYI I can add files to repository without a problem. Any suggestions would be welcome,
Thanks pth
On 15. Feb 2007, at 14:43, Patrick Hurley wrote:
I cannot commit a file to my repository using the subversion bundle. When I try I get this error message:
Couldn't find /usr/bin/ruby
I take it you deleted the default Ruby install from your system?
Either a) bring it back, or b) set TM_RUBY in Preferences → Advanced → Shell Variables to the (hopefully) new Ruby you installed.
On 2/16/07, Allan Odgaard throw-away-1@macromates.com wrote:
On 15. Feb 2007, at 14:43, Patrick Hurley wrote: I take it you deleted the default Ruby install from your system?
I must have as it is missing.
Either a) bring it back, or b) set TM_RUBY in Preferences → Advanced → Shell Variables to the (hopefully) new Ruby you installed.
Yup that fixed it. Thanks pth
On Feb 16, 2007, at 11:55 AM, Patrick Hurley wrote:
On 2/16/07, Allan Odgaard throw-away-1@macromates.com wrote:
On 15. Feb 2007, at 14:43, Patrick Hurley wrote: I take it you deleted the default Ruby install from your system?
I must have as it is missing.
Either a) bring it back, or b) set TM_RUBY in Preferences → Advanced → Shell Variables to the (hopefully) new Ruby you installed.
Yup that fixed it.
That's actually a bug in the Commit command. It should not have specified the full path.
But you should definitely put the default /usr/bin/ruby back regardless. Third-party programs might rely on it.
Chris
On 2/16/07, Chris Thomas chris@cjack.com wrote:
But you should definitely put the default /usr/bin/ruby back regardless. Third-party programs might rely on it.
I did a little searching and found I had renamed it to ruby182. I left it and added a symlink to "my" ruby. Everything seems good right now.
Thanks again pth