I like Spring
It makes up your development speed by preloading the code.
I highly recommend you to use Spring.
Then, I've installed "Direnv".
It's environment variables management tool by each directory.
When you change the directory, it changes environment variables immediately.
It means, you need not to type 'bin' anymore 😀
# before bin/rspec spec/xxx_spec.rb # after rspec spec/xxx_spec.rb
How to install and use it?
I suppose we use 'Mac OSX'
brew install direnv
~/.bash_profile and write it.
# Direnv eval "$(direnv hook bash)"
Make .envrc file at root directory of your app.
touch .envrc echo 'PATH_add bin' > .envrc
Then, you'll see following message.
direnv: error /Users/your_name/your_app/.envrc is blocked. Run `direnv allow` to approve its content
So, Run it.
3. try using it
Not only this
It seems more nice useful ways to use.
i.e, docker with direnv.
Top comments (2)
there's no instruction as how to deploy a docker container with direnv.