# Ruby 1.9.1-p0 runner.rb errors on Mac OSX Leopard compile

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182>\
**Category:** Ruby\
**Created:** [February 2, 2009, 12:14am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182 "2009-02-02T00:14:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![parasew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/6bbea6/32.png) [@parasew](https://www.ruby-forum.com/u/parasew)\
**Post date:** [February 2, 2009, 12:14am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182/1 "2009-02-02T00:14:12Z")

</div>

hi there,  
we are currently compiling the packages for the Ruby O.-Click Installer  
for OSX ( [http://rubyosx.com](http://rubyosx.com) )  
just wondering if anyone on OSX Leopard experienced the same error  
output from running “ruby runner.rb” in the /test directory of the  
sources.

we thought there might be readline issues involved, since some people  
suggested patching and compiling readline before compiling ruby, but  
that actually didn’t change anything.  
here’s the link to our current discussion:  
[http://rubyforge.org/pipermail/rubyosx-list/2009-February/000014.html](http://rubyforge.org/pipermail/rubyosx-list/2009-February/000014.html)

here is the output from a ruby 1.9.1-p0 compilation on mac osx leopard  
10.5.6 and the following compile settings:

./configure --prefix=/usr/local --enable-shared --enable-install-doc  
–enable-pthread && make && make install && make install-doc

1. Failure:  
test\_delete(TestDBM)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/dbm/test\_dbm.rb:327]:  
DBMError expected but nothing was raised.

2. Error:  
test\_05\_too\_large\_ary(TestDRbLarge):  
DRb::DRbConnError: druby://localhost:55819 - #\<Errno::ECONNREFUSED:  
Connection refused - connect(2)\>  
/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/drb/test\_drb.rb:266:in  
`teardown’

3. Failure:  
test\_readable\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:146]:  
Failed assertion, no message given.

4. Failure:  
test\_readable\_real\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:155]:  
Failed assertion, no message given.

5. Failure:  
test\_stat\_readable\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:615]:  
Failed assertion, no message given.

6. Failure:  
test\_stat\_readable\_real\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:623]:  
Failed assertion, no message given.

7. Failure:  
test\_stat\_writable\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:641]:  
Failed assertion, no message given.

8. Failure:  
test\_stat\_writable\_real\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:649]:  
Failed assertion, no message given.

9. Failure:  
test\_writable\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:175]:  
Failed assertion, no message given.

10. Failure:  
test\_writable\_real\_p(TestFileExhaustive)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/ruby/test\_file\_exhaustive.rb:184]:  
Failed assertion, no message given.

11. Failure:  
test\_self\_ensure\_gem\_directories\_write\_protected\_parents(TestGem)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem.rb:211]:  
Failed assertion, no message given.

12. Failure:  
test\_self\_ensure\_gem\_directories\_write\_protected(TestGem)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem.rb:194]:  
Failed assertion, no message given.

13. Failure:  
test\_self\_prefix(TestGem)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem.rb:374]:  
Expected “/Users/ppl/Desktop/test/ruby-1.9.1-p0”, not nil.

14. Failure:  
test\_execute(TestGemCommandsEnvironmentCommand)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_commands\_environment\_command.rb:26]:  
Expected /RUBYGEMS PREFIX: / to match "RubyGems Environment:\n -  
RUBYGEMS VERSION: 1.3.1\n - RUBY VERSION: 1.9.1 (2009-01-30 patchlevel

15. [i386-darwin9.6.0]\n - INSTALLATION DIRECTORY:  
/private/tmp/test\_rubygems\_63552/gemhome\n - RUBY EXECUTABLE:  
/usr/local/bin/ruby\n - EXECUTABLE DIRECTORY:  
/private/tmp/test\_rubygems\_63552/gemhome/bin\n - RUBYGEMS PLATFORMS:\n

- ruby\n - x86-darwin-8\n - GEM PATHS:\n -  
/private/tmp/test\_rubygems\_63552/gemhome\n - GEM CONFIGURATION:\n -  
:update\_sources =\> true\n - :verbose =\> true\n - :benchmark =\>  
false\n - :backtrace =\> false\n - :bulk\_threshold =\> 1000\n -  
REMOTE SOURCES:\n - [http://gems.example.com](http://gems.example.com)\n".

1. Failure:  
test\_uninstall\_doc\_unwritable(TestGemDocManager)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_doc\_manager.rb:23]:  
Gem::FilePermissionError expected but nothing was raised.

2. Failure:  
test\_user\_install\_disabled\_read\_only(TestGemInstallUpdateOptions)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_install\_update\_options.rb:54]:  
Gem::FilePermissionError expected but nothing was raised.

3. Failure:  
test\_generate\_bin\_script\_no\_perms(TestGemInstaller)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_installer.rb:293]:  
Gem::FilePermissionError expected but nothing was raised.

4. Failure:  
test\_generate\_bin\_symlink\_no\_perms(TestGemInstaller)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_installer.rb:378]:  
Gem::FilePermissionError expected but nothing was raised.

5. Failure:  
test\_install\_bindir\_read\_only(TestGemInstaller)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_installer.rb:721]:  
Failed assertion, no message given.

6. Failure:  
test\_install\_user\_local\_fallback(TestGemInstaller)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_installer.rb:702]:  
Failed assertion, no message given.

7. Failure:  
test\_download\_read\_only(TestGemRemoteFetcher)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_remote\_fetcher.rb:285]:  
Failed assertion, no message given.

8. Failure:  
test\_download\_local\_read\_only(TestGemRemoteFetcher)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_remote\_fetcher.rb:272]:  
Expected “/private/tmp/test\_rubygems\_63552/a-1.gem”, not  
“/private/tmp/test\_rubygems\_63552/gemhome/cache/a-1.gem”.

9. Failure:  
test\_cache\_data\_none\_readable(TestGemSourceInfoCache)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_source\_info\_cache.rb:142]:  
Expected {}, not  
{“[http://gems.example.com/](http://gems.example.com/)”=\>#\<Gem::SourceInfoCacheEntry:0x565a374  
@source\_index=#\<Gem::SourceIndex:0x565a338 @gems={}, @spec\_dirs=nil\>,  
@size=0, @all=false\>}.

10. Failure:  
test\_cache\_data\_none\_writable(TestGemSourceInfoCache)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_source\_info\_cache.rb:148]:  
RuntimeError expected but nothing was raised.

11. Failure:  
test\_write\_cache\_user\_from\_scratch(TestGemSourceInfoCache)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_source\_info\_cache.rb:392]:  
system\_cache\_file

12. Failure:  
test\_cache\_file\_user\_fallback(TestGemSourceInfoCache)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_source\_info\_cache.rb:197]:  
Expected “/private/tmp/test\_rubygems\_63552/gemhome/.gem/user\_cache”, not  
“/private/tmp/test\_rubygems\_63552/gemhome/source\_cache”.

13. Failure:  
test\_cache\_file\_none\_writable(TestGemSourceInfoCache)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test\_gem\_source\_info\_cache.rb:203]:  
RuntimeError expected but nothing was raised.

14. Error:  
test\_write\_cache\_user\_no\_directory(TestGemSourceInfoCache):  
Errno::ENOENT: No such file or directory -  
/private/tmp/test\_rubygems\_63552/gemhome/.gem/user\_cache  
/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/gemutilities.rb:190:in  
`read_cache' /Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rubygems/test_gem_source_info_cache.rb:425:in `test\_write\_cache\_user\_no\_directory’

15. Failure:  
test\_handle\_special\_CROSSREF\_no\_underscore(TestRDocMarkupToHtmlCrossref)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rdoc/test\_rdoc\_markup\_to\_html\_crossref.rb:87]:  
Expected "

 ", not "

/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/rdoc/rdoc\_markup\_to\_html\_crossref\_reference.rb

 ".
1. Failure:  
test\_readonly(TestSDBM)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/sdbm/test\_sdbm.rb:539]:  
SDBMError expected but nothing was raised.

2. Failure:  
test\_s\_open\_error(TestSDBM)  
[/Users/ppl/Desktop/test/ruby-1.9.1-p0/test/sdbm/test\_sdbm.rb:124]:  
Errno::EACCES expected but nothing was raised.

5780 tests, 2514732 assertions, 29 failures, 2 errors, 0 skips

---

<div class="post-metadata">

**Author:** ![parasew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/6bbea6/32.png) [@parasew](https://www.ruby-forum.com/u/parasew)\
**Post date:** [February 2, 2009, 2:26pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182/2 "2009-02-02T14:26:16Z")

</div>

On 02.02.2009, at 00:14, Matthias T. wrote:

> here’s the link to our current discussion:  
> [http://rubyforge.org/pipermail/rubyosx-list/2009-February/000014.html](http://rubyforge.org/pipermail/rubyosx-list/2009-February/000014.html)
> 
> here is the output from a ruby 1.9.1-p0 compilation on mac osx leopard  
> 10.5.6 and the following compile settings:
> 
> ./configure --prefix=/usr/local --enable-shared --enable-install-doc  
> –enable-pthread && make && make install && make install-doc

----------------8\<-------------

> 5780 tests, 2514732 assertions, 29 failures, 2 errors, 0 skips

Yesterday I compiled it and `make test’ runs without errors.

$ ruby191 test/runner.rb  
…  
5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips

I used different configure flags:  
autoconf && ./configure --prefix=/usr/local --program-suffix=191

$ ruby191 --version  
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.6.0]

$ uname -mprsv  
Darwin 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST  
2008; root:xnu-1228.9.59~1/RELEASE\_I386 i386 i386  
#(10.5.6) on a new macbook

regards, Sandor  
Sz

---

<div class="post-metadata">

**Author:** ![parasew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/6bbea6/32.png) [@parasew](https://www.ruby-forum.com/u/parasew)\
**Post date:** [February 2, 2009, 2:42pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182/3 "2009-02-02T14:42:30Z")

</div>

Sandor SzÃ¼cs wrote:

> $ ruby191 test/runner.rb  
> …  
> 5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips

sandor, can you tell us which system you are on and which tests exactly  
failed?

thanks,  
matthias

---

<div class="post-metadata">

**Author:** ![parasew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/6bbea6/32.png) [@parasew](https://www.ruby-forum.com/u/parasew)\
**Post date:** [February 3, 2009, 12:07am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182/4 "2009-02-03T00:07:55Z")

</div>

Sandor SzÃ¼cs wrote:

> > > 5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips

i am wondering why you have different errors on your tests that we had  
on osx leopard compiles of 1.9.1-p0

can you also post your results to removed\_email\_address@domain.invalid ?  
and can you tell us if you did any readline patching or if you compiled  
ruby straight with no other precompiles?

thanks, parasew

---

<div class="post-metadata">

**Author:** ![parasew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/6bbea6/32.png) [@parasew](https://www.ruby-forum.com/u/parasew)\
**Post date:** [February 2, 2009, 3:15pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182/5 "2009-02-02T15:15:53Z")

</div>

On 02.02.2009, at 14:42, Matthias T. wrote:

> Sandor Szücs wrote:
> 
> > $ ruby191 test/runner.rb  
> > …  
> > 5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips
> 
> sandor, can you tell us which system you are on and which tests  
> exactly  
> failed?

The system as already mentioned (# Mac OSX 10.5.6 (build 9G55) on a  
new macbook):  
$ uname -mprsv  
Darwin 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST  
2008; root:xnu-1228.9.59~1/RELEASE\_I386 i386 i386

$ ruby191 test/runner.rb  
…

1. Failure:  
test\_self\_prefix(TestGem) [/Users/sszuecs/src/ruby/ruby-1.9.1-p0/test/  
rubygems/test\_gem.rb:374]:  
Expected “/Users/sszuecs/src/ruby/ruby-1.9.1-p0”, not nil.

2. Failure:  
test\_execute(TestGemCommandsEnvironmentCommand) [/Users/sszuecs/src/  
ruby/ruby-1.9.1-p0/test/rubygems/  
test\_gem\_commands\_environment\_command.rb:26]:  
Expected /RUBYGEMS PREFIX: / to match "RubyGems Environment:\n -  
RUBYGEMS VERSION: 1.3.1\n - RUBY VERSION: 1.9.1 (2009-01-30  
patchlevel 0) [i386-darwin9.6.0]\n - INSTALLATION DIRECTORY: /private/  
var/folders/hB/hBWewULTHUKJimmse-1pdE+++TM/-Tmp-/test\_rubygems\_38546/  
gemhome\n - RUBY EXECUTABLE: /usr/local/bin/ruby191\n - EXECUTABLE  
DIRECTORY: /private/var/folders/hB/hBWewULTHUKJimmse-1pdE+++TM/-Tmp-/  
test\_rubygems\_38546/gemhome/bin\n - RUBYGEMS PLATFORMS:\n - ruby  
\n - x86-darwin-8\n - GEM PATHS:\n - /private/var/folders/hB/  
hBWewULTHUKJimmse-1pdE+++TM/-Tmp-/test\_rubygems\_38546/gemhome\n - GEM  
CONFIGURATION:\n - :update\_sources =\> true\n - :verbose =\> true  
\n - :benchmark =\> false\n - :backtrace =\> false\n

- :bulk\_threshold =\> 1000\n - REMOTE SOURCES:\n -  
[http://gems.example.com](http://gems.example.com)  
\n".

5779 tests, 2514940 assertions, 8 failures, 0 errors, 0 skips

If you need more information I will provide them.

Regards, Sandor  
Szücs
