Support for Ruby < 2.3
sshaw opened this issue Β· comments
Skye Shaw commented
Hi, your gem supports Rails >= 4.1 (π) but since you use the safe navigation operator (&.
) one must have Ruby >= 2.3.
I understand that 2.3 is EOL'd but unfortunately that does not mean systems will stop using these versions.
I can put together a PR for this is you're interested. I see no downside.
Skye Shaw commented
Though actually User Agent Parser requires 2.4. You'd have to change gem requirement to 2.4.1 to support Ruby <= 2.3.