RiotGamesCookbooks / rbenv-cookbook

Installs and configures rbenv
http://community.opscode.com/cookbooks/rbenv
Apache License 2.0
137 stars 109 forks source link

2.2.1 Build fails on Ubuntu 14.04 because of dependencies #122

Open rastasheep opened 9 years ago

rastasheep commented 9 years ago

I had an issues with building Ruby 2.2.1 because libffi-dev package was missing.

/usr/bin/ld: ./libffi-3.2.1/.libs/libffi.a(raw_api.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC

More info about missing dependency you can find on ruby-build issue.

It would be great if there would be way to pass attribute for additional dependencies.

mtougeron commented 9 years ago

FWIW, I got around this issue by installing that package myself in a wrapper cookbook before I called rbenv_ruby '2.2.1'