Replace backticks with Gitlab::Popen
Remove duplicate code
Replace shell commands with FileUtils
Invoke Kernel#system with separate arguments
The packages are production ready.
Add ruby to package.
 Merge branch 'out-of-beta' into 'master'

Out Of Beta
 Merge branch 'shell_new_style' into 'master'

Use new style shell commands