November 2009
2 posts
2 tags
Remove an Environment Variable in Bash
export -n RAILS_ENV
Setting an environment variable to nothing is not the same as removing it entirely. If really need it to go away completely, use the -n flag on export.
Behold:
jason@idaho:~/Code/subakva$ env | grep RAILS_ENV
jason@idaho:~/Code/subakva$ export RAILS_ENV=development
jason@idaho:~/Code/subakva$ env | grep RAILS_ENV
RAILS_ENV=development
jason@idaho:~/Code/subakva$ export...
RunCodeRun
For a personal project, I’m trying out RunCodeRun, a service for doing automated builds for projects on github.
I think the idea is a good one. For gems or simple web apps without complicated integration tests, getting an automated build up and running is dead simple. It’s just a matter of adding a post-commit hook to your github project to notify runcoderun that the code has been...