Gemfile, created while trying to set up this to run on Windows#89
Conversation
… Windows without having to remember all dependencies. btw, tests are failing and I can't install win32-service through bundler, because it won't compile in the git bash
|
There are a number of tests that are known to fail on Windows due to things like missing support in types/providers. If you run the tests by doing something like |
|
I think this is a great idea, although I'll have to run the code a bit more as I've had problems in the past once bundler starts getting inserted into rake files. One thing is I don't think facter should be listed in the dev gem dependencies since it's possible, and rather common when developing to NOT have facter installed as a gem. Instead it might be running from source (by putting facter's lib in RUBYLIB) or from a package. Facter has loadpath issues if it's installed with different versions more than one way on a system. Also, I think this is ticket 7143. I'll update that ticket to point to this pull request. http://projects.puppetlabs.com/issues/7143 |
|
So this has happened to me before and it doesn't seem like it should, but when I check out that patch and run simple rake tasks, they're failing with the new bundler file even though the gem it's failing on is in a group in the Gemfile so shouldn't be required. Maybe it's something with my setup, but it seems simple enough it shouldn't be. Also, with this patch I don't see the point of doing the Here's the output I get: ─[~/work/puppet]─[matthewrobinson@mattmac]─[20110901 - 10:16]- Tasks: TOP => default Tasks: TOP => unit |
|
facter is required, or some unit tests will fail with something like 'cannot require 'facter''. I drove the gemfile from the errors I got from a fairly clean system. I think running rake should not fail directly; but it shouldn't not fail either - requiring, e.g. with I think 'win32-dir' comes from win32-service, but I'm not sure. Strange, I'm not getting that error message though. When trying to get the aforementioned service gem to install, by changing to , it seems my ruby install got fried. Don't try the above. ^^ |
…les_init_script (PE-2776) Wait for puppet to start in sles init script
puppet node_aws terminate example
…xp-config (maint) Update PXP readme example config
started hacking at getting a Gemfile up so that I can try this out in Windows without having to remember all dependencies. btw, tests are failing and I can't install win32-service through bundler, because it won't compile in the git bash