You can log out on each of the dashboard pages.
I may have done a bad thing
I fixed the gemfile again. If it gives you problems, try running the command 'gem update --system' before changing the gemfile.