... | ... | @@ -21,13 +21,12 @@ install more gems inside that env if need be. |
|
|
(If you don't plan on installing extra gems you can leave the ```ARACHNI_BUILD_ENV```
|
|
|
variable undefined and save some space.)
|
|
|
|
|
|
Finally, if you are using RVM, put this in your ```.rvmrc``` file:
|
|
|
## Setting the environment
|
|
|
|
|
|
# Clear RVM's env overrides to make room for ours
|
|
|
rvm reset
|
|
|
Place the following into an `.env` file:
|
|
|
|
|
|
# Get us into the package env
|
|
|
source /home/<username>/arachni-build-dir/arachni/system/setenv
|
|
|
source ~/builds/arachni-dev-env/system/setenv
|
|
|
|
|
|
# The setenv script sets this to 'production', so unset it.
|
|
|
unset RAILS_ENV
|
... | ... | @@ -36,6 +35,4 @@ Finally, if you are using RVM, put this in your ```.rvmrc``` file: |
|
|
unset ARACHNI_FRAMEWORK_LOGDIR
|
|
|
unset ARACHNI_WEBUI_LOGDIR
|
|
|
|
|
|
|
|
|
If not using RVM, you'll have to run the above (except for the first line) manually when working from the
|
|
|
terminal while developing Arachni. |
|
|
And then, from your working directory, run `source .env` |
|
|
\ No newline at end of file |