diff -Naur korundum-4.9.4/src/krubypluginfactory.cpp korundum-4.9.4-magellan/src/krubypluginfactory.cpp --- korundum-4.9.4/src/krubypluginfactory.cpp 2012-11-30 07:30:09.000000000 +0000 +++ korundum-4.9.4-magellan/src/krubypluginfactory.cpp 2013-01-02 01:44:58.781914380 +0000 @@ -165,7 +165,8 @@ #if RUBY_VERSION >= 0x10900 VALUE gem = rb_define_module("Gem"); rb_const_set(gem, rb_intern("Enable"), Qtrue); - Init_prelude(); + char *opts[] = { "ruby", "-e;" }; + ruby_options(2, opts); #endif ruby_incpush(QFile::encodeName(program.path())); @@ -342,7 +343,8 @@ #if RUBY_VERSION >= 0x10900 VALUE gem = rb_define_module("Gem"); rb_const_set(gem, rb_intern("Enable"), Qtrue); - Init_prelude(); + char *opts[] = { "ruby", "-e;" }; + ruby_options(2, opts); #endif ruby_incpush(QFile::encodeName(program.path()));