Piotr_S
(Piotr S.)
1
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
···
--
Posted via http://www.ruby-forum.com/.
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:
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
--
Posted via http://www.ruby-forum.com/\.
--
Florian Gilcher
smtp: flo@andersground.net
jabber: Skade@jabber.ccc.de
gpg: 533148E2
Piotr_S
(Piotr S.)
3
oh man. I feel stupid. Thanks
···
--
Posted via http://www.ruby-forum.com/.