I had crazy issues getting the mysql gem working properly and after
hours of trying to get it run I decided to reinstall my whole Ruby /
Rails / Gems setup.

Previously had macports versions of everything installed, went the
compile it from source route this time.

Proceeded to build it all from source and now when I get my last Mysql
gem installe, to run a "rails projname" test, it spits out the
following.

*** OUTPUT
[BUG] cross-thread violation on rb_gc()
(null)

Abort trap
*** END OUTPUT

I read that this is due to that specific gem being compiled /built with
an old version of Ruby (Not really possible as I ONLY have the current
version installed.. I think) but I tried fixing it anyway.

jb> cd /usr/local/lib/ruby/gems/1.8/gems

gems jb> ls -1 **/**/*.bundle|ruby -pe '$_.gsub! /\-.*/, ""'|uniq

This command only shows the 'mysql' gem being out of date, any attempt
at reinstalling / even using the 'arch' settings has the same effect.

Here's a "dump" of my environment: (Snow Leopard)

gems jb> gem env

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.5
  - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.2.0]
  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/local/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-darwin-10
  - GEM PATHS:
     - /usr/local/lib/ruby/gems/1.8
     - /Users/jbateman/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/

Willing to try anything even re-ripping ruby/rails etc out of my system
again.

Thanks.
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to