[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34222] [PATCH 11/15] gnu: Add ruby-cliver.
From: |
Christopher Baines |
Subject: |
[bug#34222] [PATCH 11/15] gnu: Add ruby-cliver. |
Date: |
Sun, 27 Jan 2019 18:48:34 +0000 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Ricardo Wurmus <address@hidden> writes:
> Christopher Baines <address@hidden> writes:
>
>> Requirement of ruby-parser.
>>
>> * gnu/packages/ruby.scm (ruby-cliver): New variable.
> […]
>
>> + (arguments
>> + '(#:phases
>> + (modify-phases %standard-phases
>> + ;; Avoid this issue with address@hidden
>> + ;; NoMethodError: undefined method `last_comment'
>> + (replace 'check
>> + (lambda* (#:key tests? #:allow-other-keys)
>> + (when tests?
>> + (invoke "rspec"))
>> + #t)))))
>> + (native-inputs
>> + `(("bundler" ,bundler)
>> + ("ruby-rspec" ,ruby-rspec-2)))
>
> Is this a problem that would disappear when using a later version of
> Rspec?
I don't think so, I get a different exception which looks to me like an
incompatibility between the tests and address@hidden in Guix. This
`last_comment' related error is a issue between Rspec 2 and more recent
versions of Rake, and I've updated the comment as below to try and
explain this.
+ (Build-system ruby-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ ;; Avoid a incompatibility between address@hidden and rake. Using
address@hidden
+ ;; would be nice, but the tests look to be incompatible:
+ ;;
+ ;; NoMethodError: undefined method `last_comment'
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec"))
+ #t)))))
signature.asc
Description: PGP signature
- [bug#34222] [PATCH 07/15] gnu: Add ruby-webmock., (continued)
[bug#34222] [PATCH 08/15] gnu: Add ruby-rest-client., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 06/15] gnu: Add ruby-crack., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 11/15] gnu: Add ruby-cliver., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 15/15] gnu: Add ruby-rubocop., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 09/15] gnu: Add ruby-bacon-colored-output., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 14/15] gnu: Add ruby-jaro-winkler., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 10/15] gnu: Add ruby-ast., Christopher Baines, 2019/01/27