Skip to content

Instantly share code, notes, and snippets.

@vinyar
Last active August 29, 2015 14:19
Show Gist options
  • Save vinyar/c77721949db8f7cb0884 to your computer and use it in GitHub Desktop.
Save vinyar/c77721949db8f7cb0884 to your computer and use it in GitHub Desktop.
Using Rubymine Chef plugin - Observations
*) When I opened a cookbook, it would throw a bunch of VCS errors.
It offered me to add VCS paths to project.
- I dont know what VCS is
- I dont know what it would do
*) I would expect the 'project' to automatically detect that I am opening a Chef cookbook (Given the relatively unique and predictable structure of a chef coobook)
_ I could not figure out how to make Rubymine see an existing cookbook as a cookbook
-- Eventually I found a blogpost (http://blog.jetbrains.com/ruby/2014/09/whats-mining-chef-integration/)
--- blog post mentioned setting the project as a cookbook via some menu. I could not find the menu
--- Eventually I found that I can right click on the root of the project (cookbook), select 'mark directory as' and select 'cookbook root'
*) Vagrantfile will not work out of the box, because vagrant comes with its own embeded ruby install.
- various definitions and methods come back as undeclared
*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment