Hello,
I've set up my blog's xmlrpc url in the blog settings. When I try to "fetch post" I receive the following error:
ruby: No such file to load -- jcode (LoadError)
I've searched the list archives and the help file and don't see any mention of this... I also curl'd the header and received a HTTP/1.1 200 OK, so the url is fine.
Any help would be appreciated.
Thanks, jeremy
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0] which lives here: /usr/local/bin/ruby
Is there a chance that Textmate is looking at the old apple ruby install?
On 7/14/06, Allan Odgaard throw-away-1@macromates.com wrote:
On 14/7/2006, at 17:49, jeremy*pinnix wrote:
ruby: No such file to load -- jcode (LoadError)
What version of Ruby? Maybe jcode wasn't included with 1.6.
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 7/14/06, jeremy*pinnix jpinnix.alt@gmail.com wrote:
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0] which lives here: /usr/local/bin/ruby
On 7/14/06, Allan Odgaard throw-away-1@macromates.com wrote:
On 14/7/2006, at 17:49, jeremy*pinnix wrote:
ruby: No such file to load -- jcode (LoadError)
What version of Ruby? Maybe jcode wasn't included with 1.6.
Hello, I'm still having the same error. I made sure that $TM_RUBY was set to point to my install of ruby in the Preferences.
On 22/7/2006, at 17:03, jeremy*pinnix wrote:
What version of Ruby? Maybe jcode wasn't included with 1.6.
Hello, I'm still having the same error. I made sure that $TM_RUBY was set to point to my install of ruby in the Preferences.
So your default Ruby is 1.6? If so have a look at the bottom of this page [1]. It is not sufficient to set TM_RUBY for the blogging bundle.
[1] http://macromates.com/textmate/manual/shell_commands#search_path
So your default Ruby is 1.6? If so have a look at the bottom of this page [1]. It is not sufficient to set TM_RUBY for the blogging bundle.
Hello Allan,
I guess the quotes from earlier posts were removed.... You had asked if I was running ruby 1.6, and I was said that I am running ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0]. And I have set the TM_RUBY variable to it's location: /usr/local/bin/ruby
jeremy
On 22/7/2006, at 22:32, jeremy*pinnix wrote:
So your default Ruby is 1.6? If so have a look at the bottom of this page [1]. It is not sufficient to set TM_RUBY for the blogging bundle.
I guess the quotes from earlier posts were removed.... You had asked if I was running ruby 1.6, and I was said that I am running ruby 1.8.4
From the path you quoted the 1.8 is an ADDITIONAL install (not your default, as that one resides in /usr/bin.)
Setting TM_RUBY does NOT work for the blogging bundle (as mentioned.)
On 7/22/06, Allan Odgaard throw-away-1@macromates.com wrote:
On 22/7/2006, at 22:32, jeremy*pinnix wrote:
So your default Ruby is 1.6? If so have a look at the bottom of this page [1]. It is not sufficient to set TM_RUBY for the blogging bundle.
I guess the quotes from earlier posts were removed.... You had asked if I was running ruby 1.6, and I was said that I am running ruby 1.8.4
From the path you quoted the 1.8 is an ADDITIONAL install (not your default, as that one resides in /usr/bin.)
My /usr/bin/ruby is version 1.8.2 that comes with OS X 10.4. I have 1.8.4 in /usr/local/bin/ruby, and in my .bash_profile I have: export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH
According to the link you provided earlier, Textmate should honor that PATH setting, right?
On 23/7/2006, at 7:05, jeremy*pinnix wrote:
[...] My /usr/bin/ruby is version 1.8.2 that comes with OS X 10.4. I have 1.8.4 in /usr/local/bin/ruby, and in my .bash_profile I have: export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH
According to the link you provided earlier, Textmate should honor that PATH setting, right?
No, not for shebang scripts. Please re-read the last part of the page I have been linking to [1].
But jcode should be there for 1.8.2 as well, try this from Terminal:
/usr/bin/ruby -rjcode -KU -e 'p "æble".jlength' and /usr/local/bin/ruby -rjcode -KU -e 'p "æble".jlength'
If it fails for 1.8.2 you can setup the PATH as explained last here [1] however you likely have a broken default ruby. Did you mess with system files when upgrading to 1.8.4?
[1] http://macromates.com/textmate/manual/shell_commands#search_path