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