Primero production setup issue

Thanks for the reply @irlawrence.
Yes I have ubuntu 16.04 on the target machine and I carried all the steps you mentioned above but yet it is asking for password during [ruby-bundle -install].
I have created a passwordless sudo user on the target machine as mentioned here How can I quickly set up Primero and after entering the password it stalls and I get this “Mixlib::ShellOut::CommandTimeOut” error almost after 1 hour.
Why is this happening?
Please refer the attached screenshot.


Any kind of help is appreciated.