我的应用程序在Elasticbeanstalk
上正常运行。因为我已将我的回购邮件与gemnasium
连接起来,所以它说了过时的宝石,我更新了它们。
1:首先,我刚刚运行了bundle update命令,然后部署了我收到了错误
Creating application version archive "app-51c4-160115_105334".
Uploading evercam-admin-live/app-51c4-160115_105334.zip to S3. This may take a while.
Upload Complete.
INFO: Environment update is starting.
INFO: Deploying new version to instance(s).
ERROR: [Instance: i-40adb5c9] Command failed on instance. Return code: 1 Output: (TRUNCATED)...ror: cannot load such file -- bundler/setup
/var/app/ondeck/config/boot.rb:3:in `<top (required)>'
/var/app/ondeck/config/application.rb:1:in `<top (required)>'
/var/app/ondeck/Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace).
container_command 01seed in .ebextensions/seed.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
ERROR: Unsuccessful command execution on instance id(s) 'i-40adb5c9'. Aborting the operation.
ERROR: Failed to deploy application.
ERROR: Failed to deploy application.
在stackoverflow
周围搜索后,我发现分别更新每个宝石会更好并做同样的事情。
没有版本号的宝石。我做了bundle update gemname
并且对于那些版本号为i的人更新了gemfile中的版本号并再次执行相同的bundle update gemname
2:它也更新了宝石。然后我再次部署了那个分支。
并再次得到完全相同的错误。
anyhelp将不胜感激