add gems into the standalone archive

beunwa's Avatar

beunwa

02 Jan, 2013 03:51 PM

Hello,

I try to run the nightlie with some of my custom plugin who use some gems not integrated by the archive.
I have some trouble to understand where to put my gems in order to run my plugins without trouble.

When I use require 'mygem' in one of my plugins arachni cannot load it, I dont know why, the gem is install on my system, I also tryed to put those gems into the gems/gems folder of the archive.

Is there something special to do in order to put more gems in the archive ?

  1. Support Staff 1 Posted by Tasos Laskos on 02 Jan, 2013 04:11 PM

    Tasos Laskos's Avatar

    If your gem doesn't need to compile anything you can:

    bin/arachni_shell
    gem install mygem
    

    Otherwise you'll have to build your own environment:

    ARACHNI_BUILD_ENV=development; wget -O - https://raw.github.com/Arachni/build-scripts/master/bootstrap.sh --no-check-certificate | bash
    arachni-build-dir/arachni/bin/arachni_shell
    gem install mygem
    

    Let me know if you come across any problems.

  2. Tasos Laskos closed this discussion on 02 Jan, 2013 04:11 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac