Subject: having a gem for 1.8 and one for 1.9
This is a simple query ... I am back after a long hiatus so have forgotten some basics of gem creation.
-
I am porting my gem (rbcurse) from 1.8 to 1.9.
I suppose if I just create a new version of the gem, it will not be clear to a user when installing which version he should install.
Should I create 2 separate gems (2 separate names??) or use a 1.9 suffix to my gem. (rbcurse and rbcurse19) -
At the same time, if a person is using 1.8 he should automatically download the 1.8 version, and 1.9 users should get the 1.9 version without having to specify or know that there are 2 versions of the gem. Is this possible ?
Sorry this is more of a gem issue but there must be a way others are doing it?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Tekkub on 05 Oct, 2009 04:01 AM
There is a
required_ruby_versionfield in the spec, I think that's what you're after.