Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
==> default: [2016-06-08T20:40:55+00:00] ERROR: Exception handlers complete
==> default: [2016-06-08T20:40:55+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: Chef Client failed. 94 resources updated in 412.459496146 seconds
==> default: [2016-06-08T20:40:55+00:00] ERROR: gem_package[mailcatcher] (vdd::mailcatcher line 5) had an error: Gem::InstallError: mime-types-data requires Ruby version >= 2.0.
==> default: [2016-06-08T20:40:55+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
I'm getting this error when trying to Vagrant up. I'm currently running Vagrant on Mac:
Vagrant 1.8.1
VirtualBox 4.3.16
I tried changing a line in the initial.sh file from:
apt-get install build-essential ruby1.9.1-dev --no-upgrade --yes &> /dev/null
to:
apt-get install -y build-essential ruby2.0 ruby2.0-dev ruby2.0-doc &> /dev/null
with no luck.
Comment | File | Size | Author |
---|---|---|---|
#4 | ruby2.2-2745239-4.patch | 866 bytes | ericjenkins |
Comments
Comment #2
adam_ CreditAttribution: adam_ as a volunteer commentedComment #3
ericjenkins CreditAttribution: ericjenkins at Exel Digital for Promet Source commentedWhen I run
vagrant up
, I also see the message you refer to. Here's a snippet of my computer's output:The ruby error occurs right before chef provisioning begins. However, despite seeing this message, Chef provisioning proceeds as usual, and my box still provisions correctly and successfully.
@hook_awesome: Does your box also provision successfully? Is this error worth fixing?
Comment #4
ericjenkins CreditAttribution: ericjenkins at Exel Digital for Promet Source commentedI came up with a patch to update Ruby to version 2.2. See attached Patch #4.
Not only does Patch #4 fix the Ruby error referenced in this ticket for me, but it also appears to solve the Mailcatcher error reported in Issue 2697107.
I hope this patch works for others, too!
Comment #5
Johnnie Walker CreditAttribution: Johnnie Walker as a volunteer commentedThanks for this.
I submitted the Mailcatcher Issue.
Which version of VDD did you run this patch against? Was it 8.x-1.0-alpha4 or 8.x-1.x-dev ?
Comment #6
ericjenkins CreditAttribution: ericjenkins at Exel Digital for Promet Source commentedMy apologies, @Johnnie Walker. I ran Patch #4 against the 8.x-1.x-dev version of VDD.
Comment #7
sheldonkreger CreditAttribution: sheldonkreger commentedMy build was failing until I applied this patch. Thank you.
Comment #8
laurelstreng CreditAttribution: laurelstreng commentedThanks so much! So many errors until I applied patch #4
Comment #9
LiamPower CreditAttribution: LiamPower commentedThis is exactly the same as what I did with my customised VDD.
Comment #10
awm CreditAttribution: awm commentedDoes it make sense to install 2.3 instead?
Comment #11
LiamPower CreditAttribution: LiamPower commentedI would suggest just getting this added in to make the the current VM work. I'm going to download the dev VM and apply the patch shortly to make sure it does work so we can RTBC this.
Comment #12
LiamPower CreditAttribution: LiamPower commentedWith this patch and patch #2 from https://www.drupal.org/node/2789071 this works. RTBC - Hopefully someone will merge these in, I'm, looking at @awm as he recently became a co-maintainer.
Comment #13
LiamPower CreditAttribution: LiamPower commentedComment #15
awm CreditAttribution: awm commentedcommited & pushed to 8.x-1.x
Also, I don't see how this is related to the drush master issue. I am removing the link between the 2 issues. @liam please re-add if you are convinced they're related.
Comment #16
awm CreditAttribution: awm commented