So, here's how this turned out.  It seems that I had two versions of
openssl installed on my system - one old one (from fink?
macports? ...) in /usr/[bin include lib] and the other newly built
from source in /opt/local/[bin include lib].

I was building all systems from source with config --prefix=/opt/local
but, when it came to gem install thin the older version of openssl was
linked in from /usr/lib.  This led to the conflict between thin and
ruby that generated the bus error.

I really wanted to figure this out because I'm guessing that ruby
1.9.1p1 might be fairly quickly supplanted by p[2-?] and I'ld rather
not wait on someone else tracking the changes and building a new
executible.

Besides, I'm enough of a motorhead that I like to look inside and see
all the whirry bits...

So, to all who fed me information, thanks again for your help,
Rick

On Feb 25, 9:53 pm, Conrad Taylor <[email protected]> wrote:
> On Wed, Feb 25, 2009 at 7:48 PM, Rick <[email protected]> wrote:
>
> > Hey Conrad, thanks for that...
>
> > I've found two separate bug reports against Ruby 1.9.[01] that have
> > the same bus error triggered by different actions.  So, I it's not a
> > thin (exclusive) problem.
>
> > There are 2 things I'm wondering now:
>
> > 1) what causes the bus error once triggered by thin to propogate into
> > WEBrick and hang there until the thin, daemon, and eventmachine gems
> > are uninstalled?  Related to this is - does your system have daemons
> > and eventmachine gems installed?  If so, did they come along with the
> > thin install?
>
> Hey Rick, they were installed automatically because they were thin
> dependencies.
> For example, the dependencies for 'thin' can be found by doing the
> following:
>
> gem dependency thin  # if it's installed locally.
>
> or
>
> gem dependency thin -r # if it's not installed locally.
>
> > 2) what are the steps that were used to build the thin that's
> > distributed via macports?
>
> I installed thin by using the following:
>
> sudo gem install thin
>
> Good luck,
>
> -Conrad
>
>
>
> > On Feb 23, 4:17 pm, Conrad Taylor <[email protected]> wrote:
> > > On Mon, Feb 23, 2009 at 12:37 AM, Rick <[email protected]>
> > wrote:
>
> > > > Here's my particulars:
>
> > > > Mac OS X 10.5.6
> > > > 1.25 GHz PPC G4
>
> > > > /test 726 > script/about
> > > > /opt/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.0/lib/
> > > > action_controller/routing/segments.rb:6: warning: encoding option is
> > > > ignored - N
> > > > About your application's environment
> > > > Ruby version              1.9.1 (powerpc-darwin9.6.0)
> > > > RubyGems version          1.3.1
> > > > Rails version             2.3.0
> > > > Active Record version     2.3.0
> > > > Action Pack version       2.3.0
> > > > Active Resource version   2.3.0
> > > > Action Mailer version     2.3.0
> > > > Active Support version    2.3.0
> > > > Application root          /Users/rick/test
> > > > Environment               development
> > > > Database adapter          sqlite3
> > > > Database schema version   0
>
> > > > /test 727 > gem list thin
>
> > > > *** LOCAL GEMS ***
>
> > > > thin (1.0.0)
>
> > > > /test 728 > script/server thin
> > > > => Booting Thin
> > > > => Rails 2.3.0 application starting onhttp://0.0.0.0:3000
> > > > /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error
> > > > ruby 1.9.1 (2008-10-28 revision 19983) [powerpc-darwin9.6.0]
>
> > > [snip]
>
> > > Hi Rick, here's the steps that I took without modifying any gem:
>
> > >http://www.ruby-forum.com/topic/178659
>
> > > Please note that some steps maybe optional.
>
> > > Good luck,
>
> > > -Conrad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to