In RVM (Ruby Version Manager) you can create .rvmrc files for a per-project basis. This handles basic ruby version and library (gem) management. This script is automatically executed when you cd into an directory. However, it is nothing more than a Bash script. There is one particular part in the script that is as follows:
(
if ! command -v bundle ; then
gem install bundler --no-rdoc --no-ri
fi
bundle | grep -v 'Using' | grep -v 'complete' | sed '/^$/d'
) &
Since this is executed ever time you cd into a directory, it would be nice if I didn't get the following every time:
[1]+ Done ( if ! command -v bundle; then
gem install bundler --no-rdoc --no-ri;
fi; bundle | grep --color=auto -v 'Using' | grep --color=auto -v 'complete' | sed '/^$/d' )
Is there any way that I can run these set of commands in the background and not be notified when it is completed. Or at least notified in a less obnoxious way such that the message might be like:
[1]+ Bundler is done! :-)
Thanks!