I cloned a Ruby project called Publify (an open-source blogging platform.) However, when I run rails server, I get the following error (I have copy-pasted the info below the image) >
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:Simple> at /home/ubuntu/workspace/publify-master/lib/i18n_interpolation_deprecation.rb:24)
=> Booting Thin
=> Rails 5.0.3 application starting in development on http://0.0.0.0:8080
=> Run `rails server -h` for more startup options
Exiting
/usr/local/rvm/gems/ruby-2.2.2/gems/actionpack-5.0.3/lib/action_controller/railtie.rb:60:in `block (3 levels) in <class:Railtie>': Invalid option key: page_cache_directory= (RuntimeError)
And then a slew of "From:" statements (as seen in the image.)
My open repo is here, if you would like to take a look: https://gitlab.com/AvBloom98/publify. I did some work to update the gems and such, because they were failing before, thus it is not 1-to-1 with the original Publify Github (found here: https://github.com/publify/publify)
The Publify gem is setting up page caching directory in its configuration but page caching has been deprecated and removed from Rails 4.
However, you can put page caching support back by adding actionpack-page_caching gem into the project, as documented in the Rails guides. From this issue I assume the gem will run nicely in Rails 5, too.