Added installation of 'bundler' gem to deploy.rb, as the 'global.gems' file seems not to be honoured.
Additionally added rubyracer to the Gemfile, for Ubuntu deployment.