Comments (9)
Inclusion of 'fat binaries' starts with Nokogiri 1.6.2 https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.rdoc#162--2014-05-12
from beaker.
@Aethylred you might be able to workaround for the time being by installing the ruby devkit from rubyinstaller.org. Make sure to select the compiler version that matches your ruby version.
from beaker.
I've tried that, to no avail. I've even installed the whole Windows and mingw development environment. I'm not a Ruby developer, having to install the dev kit to use a testing tool seems overkill.
(OTOH I've got things to say about packages that require compiler tools on Linux too)
from beaker.
beaker is only designed to be able to run tests on windows nodes, not to be run on windows itself - you are in pretty much uncharted territory here so I can't say if there is a way to get it to work.
from beaker.
I don't think designed is the word you want there, it's more that there was no intention for it to run under Windows... however without the operational environment for beaker being specified in the documentation it would be assumed that beaker can run where Ruby, Puppet and Vagrant can be run.
from beaker.
The more relevant point (that came to me later) is that if a policy ever comes in that module PR must include beaker acceptance tests (like they now require puppet-rspec tests), then this will exclude users who develop modules on Windows (i.e. me) unless some kind of hosted beaker test suite is provided (similar to Travis).
Note: though I contribute to Linux modules, the environment I develop in is Windows, because of stupid policy and compliance regulations we do our work in.
from beaker.
I've run into similar issues on x64 Windows. On that platform, Nokogiri requires a 1.6.x
version to build properly, and our gemspec
references ~> 1.5.10
.
http://stackoverflow.com/a/23437057
I'm not sure what to make of the comment in the gemspec
about the inclusion of this version for Ruby 1.8 support, but since we haven't shipped a Ruby 1.8 version on Windows any longer, my suggestion is to simply exclude Nokogiri from the gemspec on Windows.
https://github.com/puppetlabs/beaker/blob/master/beaker.gemspec#L51
Change
s.add_runtime_dependency 'nokogiri', '~> 1.5.10'
to
platform ||= RUBY_PLATFORM[/java/] || 'ruby'
s.add_runtime_dependency 'nokogiri', '~> 1.5.10' if platform.to_s == 'ruby'
You can see a more complete example of the use of platform specific dependencies here:
https://github.com/apache/buildr/blob/7760bcfb73afb59e7db5e4aaf35ee881aeec449f/buildr.gemspec
I don't have the cycles to verify this now @Aethylred , but perhaps you could build the gem locally and try to install it with those changes.
from beaker.
Last comment from @Iristyle quite a while back.
Please re-open if you need further help.
from beaker.
In case people get to this page when searching for a solution to install Beaker on Windows:
I was able to install beaker on Windows. For me, I installed current Ruby release (2.1.5) AND devkit and with those two, I was able to install beaker. So this issue appears to be at least resolved from that aspect.
from beaker.
Related Issues (20)
- The beaker reboot needs to cross minute boundaries based on the method used HOT 6
- retry_on says that it can take an Array of hosts, but it will fail if one is passed
- beaker is failing to run acceptance tests on existing node HOT 2
- Rsync may not be able to use a provided password for the SSH connection HOT 2
- (BKR-1690) Rm -rf not working when path has spaces and logging on localhost
- (BKR-1675) Update net-scp to version 3.0.0 HOT 1
- Add support for opensuse? HOT 3
- The get_ip method should match on any vagrant-backed hypervisor
- ssh_config file not used by default HOT 3
- EL 9 error - /sbin/service: No such file or directory
- Failed to exec 'vagrant up' (rbenv, ruby 2.7.6, bundler 2.3.19, virtualbox) HOT 11
- Ruby 3.1/Psych 4 compatibility issues HOT 3
- 4.39.0 breaks beaker-puppet tests HOT 1
- SSH Timeouts on Centos 6 tests HOT 3
- beaker master scp issue HOT 1
- Support installing modules from git branches HOT 4
- puppet_module_install excludes too much HOT 4
- having error finding my class using beaker HOT 1
- how can i test hiera roles using beaker? HOT 2
- Better Openstack IP address assignment HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beaker.