public static void main(String[] args) {
        try {
            if (args.length != 1 || StringUtils.isEmpty(args[0])) {
                System.err.println("RubyRunMain take only one parameter : a ruby string to eval");
                System.exit(1);
            }
            final String ruby = args[0];
            BSFManager.registerScriptingEngine("ruby", JRubyEngine.class.getName(), new String[]{"rb"});
            final BSFManager rubyManager = new BSFManager();
            rubyManager.eval("ruby", "RubyMojo", 0, 0, ruby);
        } catch (BSFException ex) {
            ex.printStackTrace();
            System.exit(1);
        }
    }