Skip to content

Instantly share code, notes, and snippets.

@p0deje
Last active October 1, 2017 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p0deje/63c5a0f788c3705c2bc5c8f756d767eb to your computer and use it in GitHub Desktop.
Save p0deje/63c5a0f788c3705c2bc5c8f756d767eb to your computer and use it in GitHub Desktop.
Creating the bundled JRuby for Selenium

Creating the bundled JRuby jar

  • Download latest JRuby complete release.
  • Rename downloaded JRuby complete jar to jruby-complete.jar.
  • For each gems you need to install, execute the following:
$ java -jar jruby-complete.jar -S gem install -i ./{{gem-name}} {{gem-name}} # add -v {{version}} if necessary
$ jar uf jruby-complete.jar -C {{gem-name}} .
$ rm -rf {{gem-name}}
  • Copy jruby-complete.jar to {{selenium}}/third_party/jruby
  • Update version and gems in {{selenium}}/third_party/jruby/VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment