Tag: digital ocean

Rails部署Digitalocean ActiveSupport :: MessageEncryptor :: InvalidMessage:

我正在按照本指南在digitalocean上部署应用程序: https : //www.digitalocean.com/community/tutorials/deploying-a-rails-app-on-ubuntu-14-04-with-capistrano-nginx-and-彪马#先决条件 当我使用cap cap production deploy:initial –trace我一直收到此错误 部署在此处停止: 01 ~/.rvm/bin/rvm default do bundle exec rake assets:precompile 01 rake aborted! 01 01 ActiveSupport::MessageEncryptor::InvalidMessage: ActiveSupport::MessageEncryptor::Inva… 01 01 ~/.rvm/bin/rvm default do bundle exec rake assets:precompile 01 rake aborted! 01 01 ActiveSupport::MessageEncryptor::InvalidMessage: ActiveSupport::MessageEncryptor::Inva… 01 当我运行bundle exec rake资产时:在本地预编译我得到yarn install v1.7.0 [1/4] 🔍 Resolving packages… success Already up-to-date. ✨ […]

如何在使用dokku部署的rails应用程序上启动faye服务器?

我使用Dokku在Digitalocean上托管了我的rails应用程序。 我的应用程序需要通过Faye运行实时应用程序。 我一直在尝试几种方式,如Dokku的shoreman插件,并添加faye: bundle exec rackup faye.ru -s thin -E production到“Procfile”文件。 但是直到现在还没有运气,需要帮助我如何让这个Faye服务器运行我的应用程序。