I have an error installing gem cassandra.

sudo gem install cassandraBuilding native extensions.  This could take
a while...ERROR:  Error installing cassandra:   ERROR: Failed to build
gem native extension.        /usr/bin/ruby1.9.1 extconf.rbchecking for
strlcpy() in string.h... nocreating Makefile

makegcc -I. -I/usr/include/ruby-1.9.1/i686-linux -I/usr/include/
ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -
D_FILE_OFFSET_BITS=64  -fPIC -g -O2 -Wall -Werror  -o struct.o -c
struct.c


Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/
thrift-0.7.0 for inspection.


irb(main):001:0> reqire 'cassandra'

NoMethodError: undefined method `reqire' for main:Object        from (irb):1
from /usr/bin/irb:12:in `<main>'

irb(main):001:0> require 'thrift'
=> true


What's wrong?

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