Inline error on 1.9.2

I’m getting the same error as this guy ->
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;}

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


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

 int func(){
   return 2;}


Posted via

Florian G.

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

oh man. I feel stupid. Thanks