[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Problem in compilation and installation of Ruby 1.9

Yukihiro Matsumoto

7/11/2007 1:04:00 PM

Hi,

In message "Re: Problem in compilation and installation of Ruby 1.9"
on Wed, 11 Jul 2007 18:15:13 +0900, Chirag Mistry <chirag80bece@gmail.com> writes:

|./tool/insns2vm.rb:7:in `require': ./tool/../lib/vm/instruction.rb:105:
|syntax error (SyntaxError)
| load_insns_def opts[:"insns.def"] || 'insns.def'

Upgrade your ruby before compiling trunk.

matz.

1 Answer

chirag80bece

7/12/2007 2:52:00 PM

0

Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: Problem in compilation and installation of Ruby 1.9"
> on Wed, 11 Jul 2007 18:15:13 +0900, Chirag Mistry
> <chirag80bece@gmail.com> writes:
>
> |./tool/insns2vm.rb:7:in `require': ./tool/../lib/vm/instruction.rb:105:
> |syntax error (SyntaxError)
> | load_insns_def opts[:"insns.def"] || 'insns.def'
>
> Upgrade your ruby before compiling trunk.
>
> matz.

Hi
Thanks for the reply. I have installed ruby 1.8.6 which is
installed under "/usr/local". The older version ruby 1.6.8 is still in
"/usr". the "ruby" command now upgraded with /usr/local/bin/ruby which
latest ruby 1.8.6. But still I am getting below error. Please give your
feedback.
---
rbconfig.rb unchanged
/users/username1/UnoRuby/ruby_1.9_sourcecode/lib/fileutils.rb:1026:in
`method_missing': private method `open' called for false:FalseClass
(NoMethodError)
from
/users/username1/UnoRuby/ruby_1.9_sourcecode/lib/fileutils.rb:1026:in
`rescue in block in touch'
from
/users/username1/UnoRuby/ruby_1.9_sourcecode/lib/fileutils.rb:1022:in
`block in touch'
from
/users/username1/UnoRuby/ruby_1.9_sourcecode/lib/fileutils.rb:1020:in
`each'
from
/users/username1/UnoRuby/ruby_1.9_sourcecode/lib/fileutils.rb:1020:in
`touch'
from ./mkconfig.rb:188:in `<main>'
make: *** [.rbconfig.time] Error 1
---

--
Posted via http://www.ruby-....