Inline error on 1.9.2

I’m getting the same error as this guy →
http://pastie.org/pastes/915921
I wrote a simple test to see how inline works.

require ‘rubygems’
require ‘inline’

Class Test
inline do |builder|
builder.c "
int func(){
return 2;}
"
end;end

The Gem for inline C building is called RubyInline.

You installed “inline”, a completely unrelated and abandoned gem that is
not 1.9.2-compatible. (“:” after “when” is forbidden now)

Do the following:

gem uninstall inline
gem install RubyInline

Regards,
Florian

On Jan 13, 2011, at 3:44 PM, Piotr S. wrote:

 int func(){
   return 2;}

"
end;end


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


Florian G.

smtp: [email protected]
jabber: [email protected]
gpg: 533148E2

oh man. I feel stupid. Thanks