Skip to content

Commit

Permalink
fix mutex calling by workaround now
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 24, 2013
1 parent 2ed5146 commit 3c6f86a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/binary/YRuby.cc
Expand Up @@ -78,6 +78,9 @@ YRuby::YRuby()

RUBY_INIT_STACK;
ruby_init();
//trick to prelude - http://www.ruby-forum.com/topic/4408161
static char* args[] = { "ruby", "/dev/null" };
ruby_process_options(2, args);
ruby_script("yast");
ruby_init_loadpath();

Expand Down

0 comments on commit 3c6f86a

Please sign in to comment.