RubyMine - Unable to create new Puppet Module project

已回答

Hello, I am having some difficulty creating a new Puppet Module in RubyMine. I am on Windows and have installed the Ruby Installer. I go into RubyMine and select my SDK and install the Puppet Gem that is suggested but when it tries to create the module I run into this error and the project does not create. Thank you!

  • Puppet finished with exitcode 1: [DEPRECATION] Struct layout is already defined for class Windows::ServiceStructs::SERVICE_STATUS_PROCESS. Redefinition as in C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/win32-service-0.8.8/lib/win32/windows/structs.rb:67:in `<class:SERVICE_STATUS_PROCESS>' will be disallowed in ffi-2.0.

 

0

Hello,

could you please specify Puppet gem version you're using?

0
Avatar
Permanently deleted user

Hi Olga, I am using Puppet gem version 6.18

 

0

At the moment there's no support for pdk so could you please add your vote to https://youtrack.jetbrains.com/issue/RUBY-22698

0
Avatar
Permanently deleted user

So it has not worked for 2 years yet it is an advertised feature of RubyMine. I'm sorry but that looks pretty bad. It should be made very clear to the user who is looking to purchase a piece of software that is marketed as being able to integrate into Puppet, that it can't integrate into PDK. Furthermore, why does RubyMine automatically download Puppet gem 6.18. If it isn't compatible, it should not download it automatically! It should tell me that it's broken and not waste my time troubleshooting.

Additionally, the docs need to make this clear. There is nothing that says you can't use 6.x versions. https://www.jetbrains.com/help/ruby/puppet.html#createModule

Where I'm from, this is called false advertising.

 

0

You're right, we'll re-check our documentation. As for the wizard I've submitted a corresponding issue on our tracker:

https://youtrack.jetbrains.com/issue/RUBY-27239

Sorry for that inconvenience. 

0

请先登录再写评论。