What’s the convention for where to place a line of bash code that needs to get executed every time i start up rails locally? I’m creating a tunnel (ssh -gL8089:splunk-server:8089 myserver) so that I can extract splunk results locally.
What’s the convention for where to place a line of bash code that needs
Share
I think you can drop your code
into environments/environment_name.rb if you need it only for a particular environment. If you just always need it I’d throw it into environments.rb or boot.rb