I'm trying to make my rails development process faster with zeus. So, I installed zeus & parallel_tests gems. All of them working good, but when I'm trying to connect this to gems via zeus-parallel_tests gem, I get this annoying warnings every operation. What can I do to avoid this warnings?
$ zeus parallel_rspec spec/
4 processes for 17 specs, ~ 4 specs per process
Warning: Specifying a Rails environment via RAILS_ENV has no effect for commands run with zeus.
Warning: Specifying a Rails environment via RAILS_ENV has no effect for commands run with zeus.
Warning: Specifying a Rails environment via RAILS_ENV has no effect for commands run with zeus.
Warning: Specifying a Rails environment via RAILS_ENV has no effect for commands run with zeus.
Tests run here
You need to unset your
RAILS_ENVenvironment variable, to make zeus stop complaining.You can achieve this by temporarily unsetting it for the
zeuscommand:If you want to set the environment variable permanently, you can export it from your
.profileor.bash_profile:To make your environment pick up the change, you will need to "source" it:
$ source ~/.profile.