Fix gemfile path. Fixes #184
Copy the whole app to tmpdir. Fixes #186