0

一旦构建在 jenkins 服务器上运行,部署就会失败并出现错误 -

remote:        An error occurred while installing libv8 (3.16.14.19), and Bundler cannot        
remote:        continue.        
remote:        Make sure that `gem install libv8 -v '3.16.14.19' --source        
remote:        'https://rubygems.org/'` succeeds before bundling.        
remote:                
remote:        In Gemfile:        
remote:          therubyracer was resolved to 0.12.3, which depends on        
remote:            libv8        
remote: [1m[31m        
remote:  !        
remote:  !     Failed to install gems via Bundler.        
remote:  ![0m        
remote:  !     Push rejected, failed to compile Ruby app.        
remote: 
remote:  !     Push failed        
remote: Verifying deploy...        
remote: 
remote: !   Push rejected to dev-branch.        
remote: 
To https://git.heroku.com/dev.git
 ! [remote rejected] dev-branch -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/dev.git'

我尝试了多种解决方案,但没有任何效果。有谁知道为什么会出现这个错误?

4

0 回答 0