2016-01-27 3 views
0

Когда я попытался развернуть приложение для рельсов, журнал сказал ошибку ниже.ошибка: установка gem sqlite3 -v '1.3.11'` преуспевает перед связыванием

EBUG [4b7b573d]  An error occurred while installing sqlite3 (1.3.11), and Bundler cannot 
continue. 
Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling. 
cap aborted! 
SSHKit::Runner::ExecuteError: Exception while executing as [----]: bundle exit status: 5 
bundle stdout: An error occurred while installing sqlite3 (1.3.11), and Bundler cannot 
continue. 
Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling. 
bundle stderr: Nothing written 

SSHKit::Command::Failed: bundle exit status: 5 
bundle stdout: An error occurred while installing sqlite3 (1.3.11), and Bundler cannot 
continue. 
Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling. 
bundle stderr: Nothing written 

Tasks: TOP => deploy:updated => bundler:install 
(See full trace by running task with --trace) 
The deploy has failed with an error: #<SSHKit::Runner::ExecuteError: Exception while executing as [------]: bundle exit status: 5 
bundle stdout: An error occurred while installing sqlite3 (1.3.11), and Bundler cannot 
continue. 
Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling. 
bundle stderr: Nothing written 

мой Gemfile

group :development, :test do 
    gem 'sqlite3' 
end 

Как я могу решить это и почему это происходит?

ответ

0

Вы пробовали добавлять к конфигурации/deploy.rb, настройки линии:

set :bundle_without, [:development, :test]