fix gemfile, precompile assets