Ticket #313 (closed defect: fixed)
"sudo rake install" fails with ArgumentError
| Reported by: | dmitry@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | major | Milestone: | MacRuby 0.5 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.

