Occasionally when installing gems I'll get an abort trap failure message.
Often I've found this means the version of Ruby isn't compatible with the gem. Sometimes I'll strike lucky and they'll be another version of the gem that does work.
However, that isn't always the case and there are times when it's not the version of Ruby that's the problem. Specifically I've seen this happen when installing Capistrano on Ruby 1.8.6
The way round this is simply to install the Highline gem first. To be honest I can't remember how I figured this out but it works for me. Hope it saves someone out there some time if they hit the same problem.
About Paul
Paul works for Kyan web design agency in Surrey, UK as a Ruby on Rails developer.
Follow Paul on Twitter
Email: paulsturgess [at] gmail.com
Comments...
Thank you. Most helpful.
Mike at 07 Dec 11 at 13:37
Thanks, this worked when I installed highline 1.5.2. Newer versions of highline gave me their own abort trap errors.
Mike Boone at 07 Dec 11 at 20:43
Thank you for this very helpful post and for the comment that mentioned the Highline version to install.
Anand at 11 Feb 12 at 12:22
Got something to say?