在使用Dokku的红宝石将Rails应用程序部署到数字海洋期间,收到此错误
我使用此命令进行部署:git push dokku master
Counting objects: 3860, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3571/3571), done.
Writing objects: 100% (3860/3860), 54.68 MiB | 1.27 MiB/s, done.
Total 3860 (delta 139), reused 0 (delta 0)
remote: Resolving deltas: 100% (139/139), done.
-----> Cleaning up...
-----> Building borrouphost from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Fetching custom buildpack
To ***.**.**.***:borrouphost
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@***.**.**.***:borrouphost'
我尝试过
1)我更新了npm,我现在是6.4,现在是6.9 v。
2)我试图运行这些命令
sudo wget -O /etc/init/docker.conf https://raw.github.com/dotcloud/docker/master/contrib/init/upstart/docker.conf
--2019-04-13 18:16:01--https://raw.github.com/dotcloud/docker/master/contrib/init/upstart/docker.conf
sudo service docker restart
项目根看起来像这样
borroup
.bundle
.ebextensions
app
bin
config
db
lib
log
node_modules
public
test
tmp
vendor
.env
.static
/*config.ru
/*Gemfile
Gemfile.lock
/*package.json
/*Rakefile
swaks
yarn.lock