[MacRuby-devel] [MacRuby] #313: "sudo rake install" fails with ArgumentError

MacRuby ruby-noreply at macosforge.org
Sun Aug 23 04:05:25 PDT 2009


#313: "sudo rake install" fails with ArgumentError
-------------------------------------+--------------------------------------
 Reporter:  dmitry@…                 |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  major                    |   Milestone:  MacRuby 0.5          
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 sudo rake install fails on one of my machines:


 {{{
 ./miniruby instruby.rb --make="/usr/bin/make" --dest-dir=""
 --extout=".ext" --mflags=""
 --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list
 .installed.list
 --mantype="doc" --sym-dest-dir="/usr/local"
 given string has unrecognized encoding (ArgumentError)
 rake aborted!
 Command failed with status (1): [./miniruby instruby.rb
 --make="/usr/bin/ma...]

 }}}

 I've tracked the problem down to
 {{{val.gsub!(/\$\$|\$\(([^()]+)\)|\$\{([^{}]+)\}/) do}}} in rbconfig.rb,
 where it throws the exception on the first argument ( {{{val =
 "$(datarootdir)/doc/$(PACKAGE)}}}" ).

 MacRuby-trunk svn revision 2359
 Mac OS X 10.5.8
 rake, version 0.8.7
 MacBookPro2,1

 On another machine (MacBook Air) it doesn't fail and installs OK.

 Am I doing something wrong? Please let me know if you need more
 information.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/313>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list