On Tue, Oct 09, 2012 at 10:13:35AM -0700, Don French wrote: > > I pulled your updated version of ruote-beanstalk down and when generating > the gem the following error results. > > Invalid gemspec in [ruote-beanstalk.gemspec]: undefined method `split' for > #<Gem::Version "2.3.1"> This can be fixed by adding .to_s after version.
Hello Don, Oh thanks, it's fixed now: https://github.com/jmettraux/ruote-beanstalk/commit/737e5ef69d0cf590efe7324f665f2922493b6541 > You seem to be using the VERSION in the version file to control the > dependency on which version of Ruote is required and the version of > ruote-beanstalk. There are problems with this approach I feel. If you > update the ruote-beanstalk it will require a dependency of ruote at the > same version since they use the same number. My suggestion is to either > place the ruote version in gemspec itself or in the version.rb file as > another variable, ROUTE_VERSION (to me preferred). It's not requiring the same version, it's requiring the same version or a more recent (">=" is used). And it's only taking into account major.minor, not the patch version. I don't want people to try the latest ruote-x against an older ruote, unless they fork ruote-x and modify the .gemspec in there and know what they do. Thanks again, -- John Mettraux - http://lambda.io/jmettraux -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
