Ruby: pre-install Bundler on all versions
Hello,
First I would like to thank you all for making AppVeyor and specially for allowing free usage of it for open-source projects!
I'm trying to setup a canary project to allow me test some gems against different versions of Ruby.
You can find here the appveyor.hml
file that I've
created:
https://github.com/luislavena/test-ruby-c-extension/blob/master/app...
For this, it depends on Bundler gem to be installed to install it's dependencies, but seems only 1.9.3 have it installed, as you can see from the build failures for 2.0.0 and 2.0.0-x64:
https://ci.appveyor.com/project/luislavena/test-ruby-c-extension/bu...
https://ci.appveyor.com/project/luislavena/test-ruby-c-extension/bu...
I can workaround this by doing gem install bundler
as part of the installation step, however, looking at a separate
thread:
http://help.appveyor.com/discussions/problems/691-ruby-gem-install-...
Seems this might hang from time to time.
It is possible you can pre-install Bundler in all the installed versions of Ruby?
Thank you in advance for your time and making AppVeyor!
Cheers,
Luis Lavena
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 07 Sep, 2014 06:34 PM
Hi Luis,
It's been some issue with Ruby gems that is fixed now.
You can safely proceed with
gem install bundler
. It take seconds to install:https://ci.appveyor.com/project/appvyr/appveyor-bot-test/build/1.0.14
2 Posted by Luis Lavena on 07 Sep, 2014 07:16 PM
Thank you Feodor!
I've adjusted
appveyor.yml
to install Bundler on each version and is building properly now:https://ci.appveyor.com/project/luislavena/test-ruby-c-extension/bu...
PS: Saw in the other thread that you guys are working on adding the same mechanism to change version as Node. Please let me know if you need help or changes to RubyInstaller to make that easier (I'm one of the maintainers).
Thank you again!
Luis Lavena
Luis Lavena closed this discussion on 08 Sep, 2014 01:41 PM.