[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

About rb2js converter...

Zangief Ief

1/6/2008 1:03:00 AM

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'
--
Posted via http://www.ruby-....

7 Answers

Michael Guterl

1/6/2008 1:27:00 AM

0

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

On Jan 5, 2008 8:02 PM, Zangief Ief <z4n9ief@gmail.com> wrote:

> 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'
> --
> Posted via http://www.ruby-....
>
>

Marcin Raczkowski

1/6/2008 8:53:00 AM

0

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

Zangief Ief

1/6/2008 9:27:00 AM

0

> sudo gem install ParseTree

It's perfect,
Thanks a lot.
--
Posted via http://www.ruby-....

Michael Neumann

1/6/2008 11:43:00 AM

0

Zangief Ief wrote:
> Hi all,
>
> I would like to use rb2js converter but when I enter the command:
> $ ruby /Users/cyril/Downloads/Ruby2JS/test.rb

Seems like a Ruby to Javascript converter.

You might want to try out RubyJS as well which you can find here:

http://www.ntecs.de/hg-projec...

Regards,

Michael

Axis of Evil

2/13/2014 2:35:00 AM

0

??? 12/2/2014 23:43, BYS ??????:
> On 2/11/2014 8:38 PM, haha wrote:
>> ?????????????????????????????????????????????????????????????????????????????????????????????????????????
>> ????????????????????????????????????????????????????????????????????????????????????????????????????????????
>> ?????????????????????????????????
>>
>> http://cn.wsj.com/big5/20140212/rcu...
>>
>> ????????????????????????????????????????????????????????????????????????????????????????????????????????????
>> ??????????????????????????????????????????????????????????????????7.5????????????46?????????????????????
>> ???0?????????????????????
>>
>> ??????????????????(Hong Kong Observatory)??????????????????????????????????????????????????????
>> ????????????1996????????????2??????????????????????????????????????????2???????????????????????????
>> 15-19??C??????????????????????????????????????????????????????????????????????????????????????????16??C???
>>
>> ?????????????????????????????????????????????????????????(Krasnaya Polyana)????????????????????????
>> ??????15??C????????????????????????????????????????????????????????????(RusSki Gorki Jumping
>> Center)?????????????????????????????????????????????????????????????????????????????????
>>
>
> ????????????????????????????????????????????????????????????????????????????????????????????????
> ????????????????????????????????????????????????????????????????????????????????????????????????
> ??????????????????????????????????????????????????????????????????????????????????????????????????????
> ??????????????????15???16??????????????????????????????????????????
>
> ?????????????????????????????????????????????????????????????????????????????????????????????
> ????????????????????????????????????????????????????????????

??????????????????????????????????
?????????????????????????????????????????????????????????????
1960??????????????????????????????????????????????????????, ???????????????????????????,
???????????????????????????????????????.


http://www.wunderground.com/weather-forecast/US/CA/Olympic_Valley...

>

haha

2/13/2014 2:54:00 AM

0

??? 13/2/2014 10:35, Axis of Evil ??????:
> ??? 12/2/2014 23:43, BYS ??????:
>> On 2/11/2014 8:38 PM, haha wrote:
>>> ?????????????????????????????????????????????????????????????????????????????????????????????????????????
>>> ????????????????????????????????????????????????????????????????????????????????????????????????????????????
>>> ?????????????????????????????????
>>>
>>> http://cn.wsj.com/big5/20140212/rcu...
>>>
>>> ????????????????????????????????????????????????????????????????????????????????????????????????????????????
>>> ??????????????????????????????????????????????????????????????????7.5????????????46?????????????????????
>>> ???0?????????????????????
>>>
>>> ??????????????????(Hong Kong Observatory)??????????????????????????????????????????????????????
>>> ????????????1996????????????2??????????????????????????????????????????2???????????????????????????
>>> 15-19??C??????????????????????????????????????????????????????????????????????????????????????????
>>> 16??C???
>>>
>>> ?????????????????????????????????????????????????????????(Krasnaya Polyana)????????????????????????
>>> ??????15??C????????????????????????????????????????????????????????????(RusSki Gorki Jumping
>>> Center)?????????????????????????????????????????????????????????????????????????????????
>>>
>>
>> ????????????????????????????????????????????????????????????????????????????????????????????????
>> ????????????????????????????????????????????????????????????????????????????????????????????????
>> ??????????????????????????????????????????????????????????????????????????????????????????????????????
>> ??????????????????15???16??????????????????????????????????????????
>>
>> ?????????????????????????????????????????????????????????????????????????????????????????????
>> ????????????????????????????????????????????????????????????
>
> ??????????????????????????????????
> ?????????????????????????????????????????????????????????????
> 1960??????????????????????????????????????????????????????, ???????????????????????????,
> ???????????????????????????????????????.

????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????????????????????????????????????????????????????

>
>
> http://www.wunderground.com/weather-forecast/US/CA/Olympic_Valley...
>
>>
>

Axis of Evil

2/13/2014 6:50:00 AM

0

??? 13/2/2014 10:53, haha ??????:
> ??? 13/2/2014 10:35, Axis of Evil ??????:
>> ??? 12/2/2014 23:43, BYS ??????:
>>> On 2/11/2014 8:38 PM, haha wrote:
>>>> ?????????????????????????????????????????????????????????????????????????????????????????????????????????
>>>> ??????????????????????????????????????????????????????????????????????????????????????????????????????
>>>> ??????
>>>> ?????????????????????????????????
>>>>
>>>> http://cn.wsj.com/big5/20140212/rcu...
>>>>
>>>> ??????????????????????????????????????????????????????????????????????????????????????????????????????
>>>> ??????
>>>> ??????????????????????????????????????????????????????????????????7.5????????????46?????????????????????
>>>> ???0?????????????????????
>>>>
>>>> ??????????????????(Hong Kong Observatory)??????????????????????????????????????????????????????
>>>> ????????????1996????????????2??????????????????????????????????????????2???????????????????????????
>>>> 15-19??C??????????????????????????????????????????????????????????????????????????????????????????
>>>> 16??C???
>>>>
>>>> ?????????????????????????????????????????????????????????(Krasnaya Polyana)??????????????????
>>>> ??????
>>>> ??????15??C????????????????????????????????????????????????????????????(RusSki Gorki Jumping
>>>> Center)?????????????????????????????????????????????????????????????????????????????????
>>>>
>>>
>>> ????????????????????????????????????????????????????????????????????????????????????????????????
>>> ????????????????????????????????????????????????????????????????????????????????????????????????
>>> ??????????????????????????????????????????????????????????????????????????????????????????????????????
>>> ??????????????????15???16??????????????????????????????????????????
>>>
>>> ?????????????????????????????????????????????????????????????????????????????????????????????
>>> ????????????????????????????????????????????????????????????
>>
>> ??????????????????????????????????
>> ?????????????????????????????????????????????????????????????
>> 1960??????????????????????????????????????????????????????, ???????????????????????????,
>> ???????????????????????????????????????.
>
> ????????????????????????????????????????????????????????????????????????????????????????????????????????????
> ????????????
> ????????????????????????????????????????????????????????????????????????????????????????????????????????????
> ????????????????????????????????????????????????????????????????????????????????????
> ????????????????????????????????????????????????????????????????????????????????????????????????????????????
> ?????????????????????????????????????????????????????????????????????????????????????????????
> ?????????????????????????????????????????????????????????????????????????????????
>

???, ???????????????????????????, ?????????????????????????????????
???????????????????????????, ???????????? "???????????????????????????"?
??????????????????????????????, ??????????????????????????????????????????,
???????????????, ????????????, ????????????, " ????????????????????????", ????????????


????????????, ???????????????????????????????????????????????????????????????,
????????????????????????, ?????????????