r8 / vagrant-lamp

My default LAMP development stack for Vagrant
http://r8.github.io/vagrant-lamp/
753 stars 255 forks source link

Mailcatcher requires Ruby version >= 1.9.3 #111

Closed TimBAtGov closed 9 years ago

TimBAtGov commented 9 years ago

Hi I ran into an issue while trying to set up vagrant-lamp. The mailcatcher failed to install due to an incompatible version of Ruby.

Error Message Log ==> default: [2015-01-12T21:55:53+00:00] INFO: bash[move_box] ran successfully ==> default: =================================================================== ==> default: Error executing action install on resource 'gem_package[mailcatcher]' ==> default: =================================================================== ==> default: Gem::InstallError ==> default: ----------------- ==> default: ==> default: i18n requires Ruby version >= 1.9.3. ==> default: ==> default: Resource Declaration: ==> default: --------------------- ==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/vagrant_main/recipes/default.rb ==> default: ==> default: 24: %w{ rdoc mailcatcher }.each do |a_gem| ==> default: 25: gem_package a_gem ==> default: 26: end ==> default: ==> default: Compiled Resource: ==> default: ------------------ ==> default: # Declared in /tmp/vagrant-chef-3/chef-solo1/cookbooks/vagrant_main/recipes/default.rb:25:in 'from_file' ==> default: ==> default: gem_package("mailcatcher") do ==> default: retry_delay 2 ==> default: retries 0 ==> default: recipe_name "default" ==> default: action :install ==> default: cookbook_name :vagrant_main ==> default: package_name "mailcatcher" ==> default: provider Chef::Provider::Package::Rubygems ==> default: end ==> default: ==> default: [2015-01-12T21:58:40+00:00] ERROR: Running exception handlers ==> default: [2015-01-12T21:58:40+00:00] ERROR: Exception handlers complete ==> default: [2015-01-12T21:58:40+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> default: [2015-01-12T21:58:40+00:00] FATAL: Gem::InstallError: gem_package[mailcatcher](vagrant_main::default line 25) had an error: Gem::InstallError: i18 n requires Ruby version >= 1.9.3. Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

lukasbesch commented 9 years ago

+1 Same problem here

hypebeast commented 9 years ago

+1 Same problem here

pudgereyem commented 9 years ago

I also got this problem. Seems like @r8 is working on it tho; https://github.com/r8/vagrant-lamp/issues/114