-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with Ruby 2.0 #48
Comments
Has been fixed by downgrading back to Ruby 1.9.3 within #49 Renamed the title and keeping it open so we are reminded once we try upgrading to Ruby 2.0 again |
No longer an issue, all tools (Vagrant, ChefDK) now use Ruby 2.x, and all acceptance tests are passing (since a while already). The ChefDK approach using appbundler solved some of the issues mentioned above. The per-project Gemfiles with bundler are working too. |
Current issues when trying to get tknerr/sample-application-cookbook up and running using bill's kitchen master with omnibus chef and ruby 2.0.
Ruby 2.0 issues:
gem install yajl-ruby --platform=ruby
helps'require': incompatible library version
)gem install win32-api --platform=ruby
helps=> for 1. & 2.: can we somehow force bundler to install with the
--platform=ruby
flag? AFAIK this is not possible via configuration, but can we maybe fake our platform?Issues due to omnibus chef:
sh "knife ..."
shellouts in theRakefile
don't work anymore (can not find gems even thoough they werebundle install
ed). More general:knife -v
(uses omnibus chef) works butbundle exec knife -v
(uses gem installed chef) does not.=> using binstubs would probably solve this problem, but it did not work because
bundle install --binstubs
did not create .bat files?Specific issues with the Gemfile:
The text was updated successfully, but these errors were encountered: