<br><font size=2 face="sans-serif">I would volunteer some support to this
as well!</font>
<br>
<br><font size=2 face="sans-serif">---<br>
<br>
Steven M. Klass<br>
<br>
Strategic Manager, Design Automation - Analog Mixed Signal<br>
<br>
SMSC<br>
3930 East Ray Road, Suite 200<br>
Phoenix, Arizona 85044<br>
(480) 704-7046 (Desk)<br>
(480) 225-1112 (Mobile)<br>
steven.klass@smsc.com</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Daryl Spitzer"
<daryl.spitzer@gmail.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: textmate-bounces@lists.macromates.com</font>
<p><font size=1 face="sans-serif">03/21/07 01:17 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
TextMate users <textmate@lists.macromates.com></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">textmate@lists.macromates.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[TxMt] Re: Getting started with the
Perforce bundle?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>I solved my problem. It occurred to me that
the Perforce bundle<br>
commands that use shell scripts have environment variables set in my<br>
.bash_profile, but the commands that use Ruby scripts don't. Adding<br>
P4PORT, P4USER and P4CLIENT shell variables in TextMate's Advanced<br>
preferences did the trick.<br>
<br>
I didn't get any replies to my earlier emails, which makes me wonder<br>
if the Perforce bundle needs a maintainer. If so, I would like to<br>
volunteer.<br>
<br>
--<br>
Daryl<br>
<br>
<br>
On 3/19/07, Daryl Spitzer <daryl.spitzer@gmail.com> wrote:<br>
> I just noticed that Perforce->Open for Editing works (but<br>
> Perforce->Diff With Base still doesn't). I see in the Bundle
Editor<br>
> that Open for Editing is a simple shell script (that just does `p4<br>
> edit`) but Diff With Base is a Ruby script that requires 'p4_diff'
and<br>
> calls "Perforce::diff_active_file()". So the error
message I get may<br>
> be misleading.<br>
><br>
> I wonder if I need to install the Perforce Ruby API separately.<br>
><br>
> --<br>
> Daryl<br>
><br>
><br>
> On 3/19/07, Daryl Spitzer <daryl.spitzer@gmail.com> wrote:<br>
> > I'm new to TextMate, but after reading James Gray's book, I'm
eager to<br>
> > become a "power user"...<br>
> ><br>
> > I installed the Perforce bundle (using the GetBundle bundle)
and just<br>
> > tried it for the first time. I selected Perforce->Diff
With Base with<br>
> > a file open that I've already ran `p4 edit` on in the command-line,<br>
> > and I get:<br>
> ><br>
> > Perforce client error:<br>
> > Connect to server failed; check $P4PORT.<br>
> > TCP connect to perforce failed.<br>
> > perforce: host unknown.<br>
> ><br>
> > I double-checked that $P4PORT is set properly, and I can run
Perforce<br>
> > fine from Terminal (and from BBEdit). Do I need to do something
else<br>
> > to setup the bundle? (Is there a way to find documentation
for<br>
> > bundles that I haven't found yet?)<br>
> ><br>
> > I also noticed that all the key equivalents in the Perforce bundle
are<br>
> > "^$". Is this a sign of some kind of problem?<br>
> ><br>
> > --<br>
> > Daryl<br>
> ><br>
><br>
<br>
______________________________________________________________________<br>
For new threads USE THIS: textmate@lists.macromates.com<br>
(threading gets destroyed and the universe will collapse if you don't)<br>
http://lists.macromates.com/mailman/listinfo/textmate<br>
</font></tt>
<br>