-
Notifications
You must be signed in to change notification settings - Fork 57
uninitialized constant OmniAuth (NameError) #31
Comments
This problem is because required gem in not loaded. Did you run bundle and restart your service? |
I ran bundle in redmine and plugin dir and restarted Apache. |
Can you please paste the bundle output? |
Using bundler 1.16.0.pre.2 |
Are you sure ruby process serving redmine has been restarted? Because gems are supposed to be downloaded, but the instance runing says it can't find OmniAuth class provided by one of the used gems |
just rebooted the system, but no change |
Which redmine version are you using? |
3.2.1-2 |
during installation I had some issues getting nokogiri 1.6.2.2 installed. Finally, I made it by installing 1.8.0. |
I can't reproduce your problem. I've followed this steps. Asuming you have installed ruby version 2.3.x or newer with bundler gem installed: Download redmine & plugingit clone http://github.com/redmine/redmine.git
cd redmine
git checkout 3.2-stable
git clone http://github.com/chrodriguez/redmine_omniauth_saml.git plugins/redmine_omniauth_saml Edit
|
I followed this procedure: |
I removed redmine and installed again, following your procedure and it worked! |
trying to configure without success...
error.log is stating:
Message from application: uninitialized constant OmniAuth (NameError)
/usr/share/redmine/lib/plugins/redmine_omniauth_saml-master/lib/redmine_omniauth_saml.rb:119:in
configure_omniauth_saml_middleware' /usr/share/redmine/lib/plugins/redmine_omniauth_saml-master/lib/redmine_omniauth_saml.rb:110:in
validate_configuration!'/usr/share/redmine/lib/plugins/redmine_omniauth_saml-master/lib/redmine_omniauth_saml.rb:60:in `configure'
Any ideas?
The text was updated successfully, but these errors were encountered: