Skip to content
Browse files

Using rb_eval_string to load Ruby extensions

  • Loading branch information...
1 parent da5f291 commit 695ecb860ad6a4194664ea8405ba0d4ee53eb880 @wedesoft committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/init.cc
View
2 ext/init.cc
@@ -30,7 +30,7 @@ extern "C" {
void Init_hornetseye_alsa(void)
{
- rb_require( "multiarray" );
+ rb_eval_string( "require 'multiarray'" );
VALUE rbHornetseye = rb_define_module( "Hornetseye" );
AlsaOutput::registerRubyClass( rbHornetseye );
AlsaInput::registerRubyClass( rbHornetseye );

0 comments on commit 695ecb8

Please sign in to comment.
Something went wrong with that request. Please try again.