Installation Issue: cannot load such file -- omniauth/google/oauth2
Created by: basepi
I have been following the following guide to install GitLab on my Ubuntu 12.04 server: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md
Everything went fairly smoothly until it came to the "Initialise Database and Activate Advanced Features" section. When I tried to run the following command:
sudo -u gitlab -H bundle exec rake gitlab:app:setup RAILS_ENV=production
It reported rake aborted! cannot load such file -- omniauth/google/oauth2
The full trace is here: https://gist.github.com/4561706
I should add that I found a similar issue on the tracker: https://github.com/gitlabhq/gitlabhq/issues/1667
Adding the :require to the Gemfile did fix the oauth2 problem, but I ran into the same openssl issue that was reported there, but recompiling my ruby did not help in my case.