Closed brejoc closed 8 years ago
This is an issue with the aws-s3 gem, which is a dependency of PRM. I know for sure that older versions of mime-type work just fine, specifically: mime-types (1.21).
Because Ruby 1.8 was EOL'd about 8 months ago, I don't think I'll be investing much into assuring that it works with 1.8 going forward. But you should be fine if you install an older version of mime-types prior to installing PRM (specifically aws-s3 dependency).
I can fully understand your argument. Too bad that e.g. Ubuntu 12.04 (LTS) only ships with 1.9.1. At least 14.04 comes with 1.9.3.
@brejoc: It might be worth looking into the tools to build an omnibus version of prm: https://github.com/rlangford/omnibus-prm
Unfortunately, omnibus-prm doesn't look to be available pre-built at this time.
As well, it looks like Ubuntu offers Ruby 1.9.3, via the ruby1.9.1 package: http://packages.ubuntu.com/precise/ruby1.9.3
A quick fix can be to use: https://github.com/alup/puppet-rbenv
Seems like mime-types requires Ruby >=1.9.2. Is prm also depending on Ruby >=1.9 or could this be fixed by e.g. using an older version of mime-types, that still supports Ruby 1.8?