在生产模式下,Rails显示“ active_admin尚未检出。”错误

问题描述 投票:1回答:1

我正在尝试在Digital Ocean中部署Rails应用程序。 现在,独角兽的日志显示以下行:

ERROR -- : git://github.com/gregbell/active_admin.git (at master) is not yet checked out. Run `bundle install` first. (Bundler::GitError)

这是Gemfile中使用“ active_admin” gem的部分:

gem 'activeadmin', github: 'gregbell/active_admin'

我正在使用Rails 4.1.0和Ruby 2.1.2p95。 有谁知道这个错误是什么以及如何解决?

ruby-on-rails activeadmin
1个回答
0
投票

尝试

bundle install --no-deployment
© www.soinside.com 2019 - 2024. All rights reserved.