Closed michiels closed 9 years ago
@michiels What is different in this patch compared to: https://github.com/intercity/chef-repo/pull/186/files?
Ah! I'm sorry, I didn't see that one.
The only difference would be that I put it in the rails::setup
recipe that contains all the shared setup for both the Unicorn as Passenger stack. I prefer keeping that setup for the shared things. Do you agree?
@michiels Ok, but then this patch would be about moving that line right? So it needs to be removed from the other files.
Correct. I will add it.
Done. Rebase & merge?
@michiels Yes :)
I hit the same problem with the test-kitchen LIBRARIAN_COOKBOOKS setting that was wrong. So I just wasted 3 hours to figure out that libffi was already in there ;) So see this PR as an unintentional refactoring.
:dancer:
This should be it.
This PR fixes the Ruby 2.2.0 FFI build errors by adding a default package dependency of "libffi-dev" to the Rails setup recipes.
See for reference: https://github.com/sstephenson/ruby-build/issues/690
and https://github.com/sstephenson/ruby-build/wiki#build-failure-of-fiddle-with-ruby-220