uninitialized constant Rack::Session::Abstract::Persisted to start Rails 5 server

前端 未结 1 1537
南方客
南方客 2021-01-25 11:28

I am getting this error while running command rails s

=> Booting Thin
=> Rails 5.0.0.1 application starting in development on http://localh         


        
相关标签:
1条回答
  • 2021-01-25 12:08

    It looks you're using rack from two places /usr/lib/ruby/vendor_ruby/rack and /var/lib/gems/2.2.0/gems/rack-2.0.1. Removing that vendor_ruby (not confirmed) could help. Buy maybe a better choice is to install rvm or rbenv to handle your ruby/gems versions.

    0 讨论(0)
提交回复
热议问题