8/15/2023 0 Comments Rubyinstaller 1.8.1![]() ![]() Pdk (ERROR): The spec_clean rake task failed with the following error(s): Puppet-module-win-system-r2.1 was resolved to 0.3.1, which depends onīeaker-module_install_helper was resolved to 0.1.7, which depends onīeaker was resolved to 3.34.0, which depends onīeaker-aws was resolved to 0.4.0, which depends onĪws-sdk-v1 was resolved to 1.67.0, which depends on Make sure that `gem install json -v '1.8.6'` succeeds before bundling. `popen': No such file or directory - cygpath (Errno::ENOENT)Ĭ:/PROGRA~1/PUPPET~1/DevelopmentKit/private/ruby/2.1.9/lib/ruby/2.1.0/mkmf.rb:1841:inĬ:/PROGRA~1/PUPPET~1/DevelopmentKit/private/ruby/2.1.9/lib/ruby/2.1.0/mkmf.rb:2192:inĬ:/Users/glenn.sarti/AppData/Local/PDK/cache/ruby/2.1.0/gems/json-1.8.6 forĬ:/Users/glenn.sarti/AppData/Local/PDK/cache/ruby/2.1.0/extensions/圆4-mingw32/2.1.0/json-1.8.6/gem_make.outĪn error occurred while installing json (1.8.6), and Bundler cannot continue. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.Ĭ:/PROGRA~1/PUPPET~1/DevelopmentKit/private/ruby/2.1.9/bin/ruby.exe -r Installing ruby-ll 2.1.2 with native extensions Installing byebug 9.0.6 with native extensionsįetching parallel_tests 2.21.3 (was 2.14.2) Installing json 1.8.6 (was 1.8.1) with native extensions Installing unicode-display_width 1.3.2 (was 1.3.0) To add those platforms to the bundle, run `bundle lock -add-platform ruby`.įetching unicode-display_width 1.3.2 (was 1.3.0) Bundler is installing for 圆4-mingw32 but the dependency is only for ruby. The dependency puppet-module-posix-system-r2.1 (>= 0) will be unused by any of the platforms Bundler is installing for. To add those platforms to the bundle, run `bundle lock -add-platform ruby`. The dependency puppet-module-posix-dev-r2.1 (>= 0) will be unused by any of the platforms Bundler is installing for. Pdk (FATAL): The dependency puppet-module-posix-default-r2.1 (>= 0) will be unused by any of the platforms Bundler is installing for. Installing missing Gemfile dependencies. I was trying to PDK convert the puppetlabs-windows module (a metadata only module) and I couldn't run pdk unit because the bundling process was failing Ĭ:\Source\puppetlabs-windows > pdk test unit If you encounter this issue on a Windows platform, you must remove or comment out the Gemfile dependencies that include native extensions or that have dependencies that include native extensions. If you encounter this issue on a platform other than Windows, you might be able to resolve it by researching and installing the required dependencies for the gem that is failing to install. On Windows, however, the Ruby installations managed by PDK are not configured to support native extension compilation, even if the necessary tools are present. On some platforms, PDK can install gems with native extensions, if you already have the required compilation tools and libraries installed. When you run pdk validate or pdk test unit on a module, PDK tries to install any missing module dependencies before it runs validations or tests. Beaker has several dependencies that include these native extensions. PDK packages cannot always install gems that include native extensions, which must be compiled before they can be used by a Ruby application. You might not be able to use PDK with a module if that module's Gemfile requires the beaker acceptance testing library or certain other Ruby gems, particularly when running on Windows. Gems that require native compilation that aren't part of the dependency tree of Beaker, will still require compilation. Modules that include beaker in their Gemfile can now install and use the packaged PDK without having to alter their Gemfile. To address this specific issue, PDK will package the beaker dependencies that require native compilation. Pdk test fails trying to compile native gems with beaker on Windows ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |