Subscribe to
Posts
Comments
NSLog(); Header Image

Building Ruby, Rails, LightTPD, and MySQL on Tiger

I followed these instructions for setting up these apps on Tiger and am all set. A few of the software packages had small revisions/updates, so I installed those. Now I think I'm set.

P.S. Not all set. This readline issue has popped up and I have ben unable to eliminate it so far. I've posted here in the hopes of getting some assistance. Help?

8 Responses to "Building Ruby, Rails, LightTPD, and MySQL on Tiger"

  1. Someone told me to run make test-all. I did. I got these results:

    Finished in 7392.173104 seconds.

    1) Error:
    test_01(TestDRbAry):
    DRb::DRbConnError: druby://bunny.local:65282 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:729:in `each'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:729:in `open'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:1189:in `initialize'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:1169:in `new'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:1169:in `open'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:1085:in `method_missing'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:1103:in `with_friend'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:1084:in `method_missing'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/extservm.rb:38:in `service'
    /Users/iacas/Desktop/src/ruby-1.8.5/test/drb/drbtest.rb:35:in `ext_service'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/timeout.rb:56:in `timeout'
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/timeout.rb:76:in `timeout'
    /Users/iacas/Desktop/src/ruby-1.8.5/test/drb/drbtest.rb:34:in `ext_service'
    /Users/iacas/Desktop/src/ruby-1.8.5/test/drb/drbtest.rb:279:in `setup'

    2) Error:
    test_03_redo(TestDRbAry):
    DRb::DRbConnError: druby://bunny.local:65434 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    :
    /Users/iacas/Desktop/src/ruby-1.8.5/test/drb/drbtest.rb:279:in `setup'

    3) Error:
    test_05_break(TestDRbAry):
    DRb::DRbConnError: druby://bunny.local:65518 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    :
    /Users/iacas/Desktop/src/ruby-1.8.5/test/drb/drbtest.rb:279:in `setup'

    4) Error:
    test_07_break_18(TestDRbAry):
    DRb::DRbConnError: druby://bunny.local:65534 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    :
    /Users/iacas/Desktop/src/ruby-1.8.5/test/drb/drbtest.rb:279:in `setup'

    5) Error:
    test_01(TestDRbSSLAry):
    DRb::DRbConnError: drbssl://bunny.local:49756 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    :
    ./drb/test_drbssl.rb:56:in `setup'

    6) Error:
    test_03_redo(TestDRbSSLAry):
    DRb::DRbConnError: drbssl://bunny.local:49807 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    :
    ./drb/test_drbssl.rb:56:in `setup'

    7) Error:
    test_05_break(TestDRbSSLAry):
    DRb::DRbConnError: drbssl://bunny.local:49864 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    :
    ./drb/test_drbssl.rb:56:in `setup'

    8) Error:
    test_07_break_18(TestDRbSSLAry):
    DRb::DRbConnError: drbssl://bunny.local:49914 - #
    /Users/iacas/Desktop/src/ruby-1.8.5/lib/drb/drb.rb:736:in `open'
    :
    ./drb/test_drbssl.rb:56:in `setup'

    1531 tests, 14677 assertions, 0 failures, 8 errors
    make: *** [test-all] Error 1

  2. Use DarwinPorts / MacPorts and all of it gets installed pretty much right.

  3. Willie, as I said in the support request linked above, I'm not installing fink or DarwinPorts just to get this working.

  4. I finally found an answer!

    Someone asked someone else if ruby -rreadline -e '1' gave an error. It did to me, so they said to go into ext/readline in the ruby source directory and type ruby extconf.rb and then the make / sudo make install routine.

    It worked!

  5. I just had read your post - not the linked postings.

  6. While I absolutely sympathise with not installing fink, I'd be curious to know your reasons for avoiding DarwinPorts. I'll give you the reasons that I like it.The DarwinPorts base install is tiny, it just installs a tree of Portfilles -- instructions for fetching, patching, building & installingIt stays isolated from the rest of the filesystem in /opt/local/, so uninstalling all of DarwinPorts is rm -rf /opt/localRunning port install basically automates the process of fetching the tarball, applying any required patches, configuring, building and installingsudo port install rb-rails will give you everything you need to get up and running on railsAnd if you wait a few days my patches will be in to bring the DarwinPort of rails to 1.1.6 (and the underlying ports to their latest version) 😉

  7. Chris, your last comment gets at my biggest annoyance: having to wait for updated software. Plus, I simply don't want an /opt directory.

  8. Erik, I totally agree. Chris' comments are helpful and make sense for some, but, Darwinports definitely irks some people like me. For example, I installed Lighttpd and Rails with mysql bindings through darwin ports, and it insisted on installing mysql5 through ports. Now I have all kinds of issues with mysql sockets not being found, and multiple mysql server installations. /usr/local/* is where I want stuff, not /opt (why 'opt' anyway?).


Comments RSS

Leave a Reply


Warning: Undefined variable $user_ID in /var/www/vhosts/nslog.com/httpsdocs/wp-content/themes/nslog/comments.php on line 96

Please abide by the comment policy. Valid HTML includes: <blockquote><p>, <em>, <strong>, <ul>, <ol>, and <a href>. Please use the "Quote Me" functionality to quote comments.