:public不再用于避免重载Module#public,而是使用:public_folder

时间:2012-12-30 16:58:15

标签: ruby-on-rails ruby-on-rails-3.2

我是rails.i的初学者已经给了一个项目(https://github.com/cloudspokes/cs-website-cms)。当我运行它时 命令:rails server 。有一个警告

:public不再用于避免重载Module#public,而是使用:public_folder     来自/home/ritesh/.rvm/gems/ruby-1.9.3-p327@refinery/bundler/gems/resque-c528f41f384b/lib/resque/server.rb:16:in <class:Server>' => Booting Thin => Rails 3.2.8 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/ritesh/.rvm/gems/ruby-1.9.3-p327@refinery/gems/restforce-0.1.8/lib/restforce/client.rb:281:in authenticate!':否认证中间件存在(RuntimeError)     来自/home/ritesh/rails_projects/cs-website-cms-master/config/initializers/streaming.rb:11:in`'

和错误没有身份验证中间件存在。 任何人都可以帮我如何摆脱这个警告和错误??

1 个答案:

答案 0 :(得分:0)

您可能应该运行foreman start -p 3000而不是rails s命令。正如它在自述文件中清楚地提到的那样。

谢谢, 迪内希