It seems likely that the C extensions in your gem aren't compatible with
your Ruby version.  I used to see errors like this back before the MySQL gem
was updated for Ruby 1.9.

Can you try running under 1.8.7 to see whether you have the same issues?  If
not, you may want to check the source / release notes for the gem to see
whether or not it's been upgraded or whether you have the newest version.

On Tue, Feb 15, 2011 at 1:58 AM, John Merlino <li...@ruby-forum.com> wrote:

> Hey all,
>
> I tried to do bundle install in my Rails 3 project and got this error:
>
> /Users/jmerlino/.rvm/rubies/ruby-1.9.2-p136/bin/ruby extconf.rb
> checking for stdio.h... yes
> creating Makefile
>
> make
> gcc -I.
>
> -I/Users/jmerlino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/x86_64-darwin10.2.0
>
> -I/Users/jmerlino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/backward
> -I/Users/jmerlino/.rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1 -I.
> -DHAVE_STDIO_H -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -O3
> -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith
> -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32
> -Wno-long-long  -fno-common -pipe  -o fast_xs.o -c fast_xs.c
> fast_xs.c: In function ‘fast_xs’:
> fast_xs.c:169: error: ‘struct RArray’ has no member named ‘ptr’
> fast_xs.c:170: error: ‘struct RArray’ has no member named ‘len’
> fast_xs.c:175: error: ‘struct RArray’ has no member named ‘ptr’
> fast_xs.c:176: error: ‘struct RArray’ has no member named ‘len’
> make: *** [fast_xs.o] Error 1
>
> Anyone know what's wrong?
>
> --
> 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-talk@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.
>
>

-- 
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-talk@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