def luruju_bin(file) File.join File.dirname(__FILE__),'..','..','bin', file end def am_i_jruby? require "java" self.class.method_defined? :include_class rescue LoadError false end def am_i_cruby?() !am_i_jruby? end def ruby_vm_name() am_i_jruby? ? 'jruby' : 'cruby' end Inflector.inflections do |inflect| inflect.irregular 'schema', 'schemata' end