TomRossi7 wrote:
> Has anyone been able to get Rails talking to Microsoft SQL Server from
> OSX Snow Leopard?  In the past with Leopard, I used the instructions
> found here: http://wiki.rubyonrails.org/database-support/ms-sql.  But
> with Snow Leopard I get the following error when I try to access an
> ActiveRecord object:
> 
> /usr/local/lib/ruby/gems/1.8/gems/dbd-odbc-0.2.4/lib/dbd/odbc/
> statement.rb:41: [BUG] Segmentation fault
> ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0]

I wonder if you seeing a similar issue as with MySQL. Maybe you need to 
force the C extensions for your gems to compile for your specific 
platform using ARCHFLAGS:

Example:
sudo env ARCHFLAGS="-arch x86_64" gem install <gem_name> <options>

Make sure the -arch setting is correct for your platform.
One of [ i386 (32-bit), x86_64(64-bit), ppc, ppc64 ].

This is only a guess as to the cause of your problem, but maybe 
something you might want to look into.
-- 
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 [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