Fernando P. wrote:
In you application controller file add:
This does not respond to the OP’s actual problem (and one I now have).
At the terminal I see:
$ ruby script/plugin install ssl_requirement
Plugin not found: [“ssl_requirement”]
It happens that I do have “include SslRequirement” in my application
controller, but that isn’t the problem. The problem is that
script/plugin can not find the ssl_requirement plugin to install.
This puzzles me, as I’ve installed this plugin in another project a
month ago. It also worries me, as I’ve seen support for other Rails
technologies “disappear” without notice.
I suppose I could simply copy the installed plugin directory from the
other project, but I’d rather do it right. How can I get this to work?