-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gemfile excludes windows for many gems (ex: rubocop) #282
Comments
Ruby Version. Can you send me a PR which works for you as well? |
Please make sure, that all supported rubies are part of that PR. |
It's not clear from the comments whether everyone's aware, so I'll just point out as it can cause some confusion. The Gemfile is only used when someone is hacking on Aruba with the source code cloned from Github. A regular user of Aruba will only get the dependencies specified in the gemspec. |
I think @weedySeaDragon is hacking arubas' source code to make it run on windows (again). |
Exactly right, @dg-ratiodata. @mattwynne, I'm trying to get aruba to run on windows. I'm actually working on the ammeter gem, which uses aruba to run critical tests. I can run the tests on travis, but need to be really sure they also pass on windows. (It's always worth pointing out the difference between the gemspec dependencies and the purpose of the Gemfile.) |
I added some configuration for appveyor already. Should be part of the master branch. |
(Good to see the appveyor config, @maxmeyer !) Question about the Gemfile: The lines that are like this:
that have :jruby and :rbx -- is the intention: I assume it's (2), but am not sure. |
I excluded only those platforms which have troubles with a gem. Some gems make trouble in mri 1.8.7 and I was a bit lazy to search for an up to date documentation of the platform values. Just writing an incorrect one makes bundler output an up to date list but without any explanation. |
In the current Gemfile as it is written, since both JRuby and Rubinius are explicitly specified and thus included for every version of every gem except cucumber-pro, that means that JRuby and Rubinius have been working (passing builds) without any trouble for all of those gems, then. Yes? Given that you chose (1), then the Gemfile becomes fairly simple: it's mostly checking for versions < 1.9, <= 1.9, and > 1.9 (and those 2 gems just for Rubinius at the end). If everything is working for JRuby and Rubinius, there's no reason to specify them -- they're already included. (Except for those 2 gems just for Rubinius at the end, of course). Is that sounding right? |
Yes.
I choose Gate 1. ;-) Though I'm not sure if we really should use RUBY_VERSION here.... |
FYI: The current version of the Gemfile (the one that's on master now) is working well for me. |
Ok. If its work. I will close this one. |
Using the master (v. 0.8.0) The lines like
in the Gemfile are specifying platforms, not ruby versions or engines. These lines do not include any windows platforms. See http://bundler.io/man/gemfile.5.html
(Note that cygwin development is reported as MRI.)
In the Gemfile, this conditional excludes Windows
So the rubocop gem will not be installed on any windows platform. The same issue applies to:
byebug, prybug, pry-stack_explorer, bkat, kramdown, cucumber-pro, license-finder, relish
.Are these lines supposed to be testing the ruby version or engine?
The text was updated successfully, but these errors were encountered: