Problem with ssl_requirement



I am trying to enable SSL for my rails app. I have installed the
ssl_requirements plugin and added “include SslRequirement” in the
application controller. Then I restart the server and access the home

Then I am getting this error:

NameError in ProjectsController#index
uninitialized constant SslRequirement::UserSystem

I have searched for this error, no luck. I notice that the plugin is
correctly installed in the vendors directory. As soon as I remove the
line “include SslRequirement”, my site works again.

What am I doing wrong??

Thanks again!


Hi Peter,

you might be using an outdated version of the plugin, read more here.



Hi Peter,

the reason for this might be that you are using an outdated version of
ssl_requirement, read more at: