The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Issues running any Ruby dependent extension

Peter | Last updated: Jul 24, 2015 03:32PM UTC

I'm trying to run Buby on my MacBook Pro Burp Pro. When trying to load the extension, I get the following error: LoadError: no such file to load -- pp require at org/jruby/RubyKernel.java:1040 (root) at /Users/peter/Desktop/work/tools/burp/bapps/bd453f3f4b364b9fba4e40e1eb6e8fb0/lib/buby.rb:1 require at org/jruby/RubyKernel.java:1040 (root) at /Users/peter/Desktop/work/tools/burp/bapps/bd453f3f4b364b9fba4e40e1eb6e8fb0/lib/buby/burp_extender.rb:1 require at org/jruby/RubyKernel.java:1040 (root) at /Users/peter/Desktop/work/tools/burp/bapps/bd453f3f4b364b9fba4e40e1eb6e8fb0/lib/buby/burp_extender.rb:1 org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- pp at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:132) at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:118) at burp.lbc.<init>(Unknown Source) at burp.erb.a(Unknown Source) at burp.gb.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- pp at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040) at RUBY.(root)(/Users/peter/Desktop/work/tools/burp/bapps/bd453f3f4b364b9fba4e40e1eb6e8fb0/lib/buby.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040) at RUBY.(root)(/Users/peter/Desktop/work/tools/burp/bapps/bd453f3f4b364b9fba4e40e1eb6e8fb0/lib/buby/burp_extender.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040) at RUBY.(root)(/Users/peter/Desktop/work/tools/burp/bapps/bd453f3f4b364b9fba4e40e1eb6e8fb0/lib/buby/burp_extender.rb:1) Any suggestions?

PortSwigger Agent | Last updated: Jul 27, 2015 08:23AM UTC

To use Ruby extensions, you need to download the JRuby JAR file, and configure its location at Extender / Options / Ruby Environment. You can test whether this part is working by trying to install a simple Ruby-based extension such as Faraday. I believe there is an issue with Buby which means that you have to launch Burp with the working directory set to the location of the Burp JAR file. So if you are starting Burp from the command line, ensure that you cd into the Burp directory before doing so.

Burp User | Last updated: Mar 22, 2016 01:12AM UTC

I know that's an old thread but I had a similar problem today, where both Farday and Buby could not load because of "LoadError". Using the "complete" JRuby jar seems to solve many dependencies problems, including these ones. Download v1.7.23 (current version) from: https://s3.amazonaws.com/jruby.org/downloads/1.7.23/jruby-complete-1.7.23.jar

Burp User | Last updated: Oct 19, 2016 06:04PM UTC