安装json(1.8.3)时发生错误,Bundler无法继续。在亚马逊Linux上

时间:2016-05-11 16:30:33

标签: ruby-on-rails ruby json ruby-on-rails-4 rubygems

您好我尝试将我的rails应用程序部署到Amazon Linux。

我收到了错误

 [e93b81e2] Command: cd /var/www/peace/releases/20160511161913 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.1.7" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /var/www/peace/shared/bundle --without development test --deployment --quiet )
DEBUG [e93b81e2]    An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as ec2-user@52.193.101.5: bundle exit status: 5
bundle stdout: An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
bundle stderr: Nothing written

请提前建议。

0 个答案:

没有答案