Hello all, this is my first post here, feel free to point any mistake.
So… I installed Allan's Theme Builder bundle but it always spit the same error message :
/tmp/temp_textmate.Z1KGTa:3:in `require': No such file to load -- set (LoadError) from /tmp/temp_textmate.Z1KGTa:3
Any idea what's causing this problem? Is it in TM or in Ruby?
My specs: PM G5 2x1.8GHz Mac OS X 10.3.9 Textmate 1.5.1 (v948) ruby 1.8.2 (2004-12-25) [powerpc-darwin7.8.0]
Thanks, Romain.
On 11/4/2006, at 22:54, Romain Lafourcade wrote:
Any idea what's causing this problem? Is it in TM or in Ruby?
It requires Ruby 1.8.
Since the command uses shebang to load Ruby, it will get the PATH from Finder.
Either edit the command to call the Ruby 1.8 you have installed with abs. path, or (better) modify the PATH, which is described here (scroll down to “Important”):
http://macromates.com/textmate/manual/shell_commands#search_path
Well, thank you. I changed the PATH and now it works. Great!
Le 11 avr. 2006, à 22:58, Allan Odgaard a écrit :
On 11/4/2006, at 22:54, Romain Lafourcade wrote:
Any idea what's causing this problem? Is it in TM or in Ruby?
It requires Ruby 1.8.
Since the command uses shebang to load Ruby, it will get the PATH from Finder.
Either edit the command to call the Ruby 1.8 you have installed with abs. path, or (better) modify the PATH, which is described here (scroll down to “Important”):
http://macromates.com/textmate/manual/shell_commands#search_path
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
I had the same problem with the theme builder but I alreay have an environment.plist in that directory but it seems to be regular XML (see below).
What is the proper syntax for the XML version of the file?
Thanks,
S
<?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"> <plist version="1.0"> <dict> <key>DAZSTUDIO</key> <string>/Applications/DAZStudio</string> </dict> </plist>
On Apr 11, 2006, at 5:29 PM, Romain Lafourcade wrote:
Well, thank you. I changed the PATH and now it works. Great!
Le 11 avr. 2006, à 22:58, Allan Odgaard a écrit :
On 11/4/2006, at 22:54, Romain Lafourcade wrote:
Any idea what's causing this problem? Is it in TM or in Ruby?
It requires Ruby 1.8.
Since the command uses shebang to load Ruby, it will get the PATH from Finder.
Either edit the command to call the Ruby 1.8 you have installed with abs. path, or (better) modify the PATH, which is described here (scroll down to “Important”):
http://macromates.com/textmate/manual/shell_commands#search_path
_ 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 11/4/2006, at 23:41, Steve Steiner wrote:
What is the proper syntax for the XML version of the file?
You can convert the XML to old-style using the pl shell command.
However, the XML version needs to have added:
<key>PATH</key> <string>«the path from the manual»</string>
Above/below the other key/string entry (inside the <dict>…</dict>).
<?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">
<plist version="1.0"> <dict> <key>DAZSTUDIO</key> <string>/Applications/DAZStudio</string> </dict> </plist>