About rb2js converter...

Z

Zangief Ief

Hi all,

I would like to use rb2js converter but when I enter the command:
$ ruby /Users/cyril/Downloads/Ruby2JS/test.rb

I've got this error:
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- parse_tree (LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
from ./rb2js.rb:2
from /Users/cyril/Downloads/Ruby2JS/test.rb:1:in `require'
from /Users/cyril/Downloads/Ruby2JS/test.rb:1

I work on Mac OS X 10.5 and I use ruby 1.8.6 (2007-09-24 patchlevel
111) [universal-darwin9.0].

Thanks you very much! :)

Zang'
 
M

Michael Guterl

[Note: parts of this message were removed to make it a legal post.]

Hi all,

I would like to use rb2js converter but when I enter the command:
$ ruby /Users/cyril/Downloads/Ruby2JS/test.rb

I've got this error:
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- parse_tree (LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
from ./rb2js.rb:2
from /Users/cyril/Downloads/Ruby2JS/test.rb:1:in `require'
from /Users/cyril/Downloads/Ruby2JS/test.rb:1

sudo gem install ParseTree
I work on Mac OS X 10 .5 and I use ruby 1.8.6 (2007-09-24 patchlevel
111) [universal-darwin9.0].

Thanks you very much! :)

Zang'
 
M

Marcin Raczkowski

you might need to run ruby with -rubygems switch, or require 'rubygems'
before require 'parsetree'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,221
Messages
2,571,136
Members
47,749
Latest member
DomingaNow

Latest Threads

Top