# Problem with ssl\_requirement

**URL:** <https://www.ruby-forum.com/t/problem-with-ssl-requirement/159093>\
**Category:** Rails\
**Created:** [January 31, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/problem-with-ssl-requirement/159093 "2009-01-31T12:50:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@peter](https://www.ruby-forum.com/u/peter)\
**Post date:** [January 31, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/problem-with-ssl-requirement/159093/1 "2009-01-31T12:50:58Z")

</div>

Hello,

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  
page.

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!

---

<div class="post-metadata">

**Author:** ![peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@peter](https://www.ruby-forum.com/u/peter)\
**Post date:** [February 1, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/problem-with-ssl-requirement/159093/2 "2009-02-01T23:55:46Z")

</div>

Hi Peter,

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

[http://blog.janus.cx/archives/270-SOLVED-uninitialized-constant-SslRequirementUserSystem.html](http://blog.janus.cx/archives/270-SOLVED-uninitialized-constant-SslRequirementUserSystem.html)

Cheers  
NoJ

---

<div class="post-metadata">

**Author:** ![peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@peter](https://www.ruby-forum.com/u/peter)\
**Post date:** [February 1, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/problem-with-ssl-requirement/159093/3 "2009-02-01T23:55:46Z")

</div>

Hi Peter,

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

[http://blog.janus.cx/archives/270-SOLVED-uninitialized-constant-SslRequirementUserSystem.html](http://blog.janus.cx/archives/270-SOLVED-uninitialized-constant-SslRequirementUserSystem.html)

cheers  
NoJ
