Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

LoadError: cannot load such file -- NaElement #7

Open
rushins opened this issue Aug 14, 2018 · 0 comments
Open

LoadError: cannot load such file -- NaElement #7

rushins opened this issue Aug 14, 2018 · 0 comments

Comments

@rushins
Copy link

rushins commented Aug 14, 2018

I am getting the following Error though I have copied the NetApp SDK files on Library folder but running “chef” command removes the content I update (

I did all the requirements but the file NaServer.rb is removing the entry I made (require NaElement With -require File.dirname(FILE) + "/NaElement")

Save the NetApp SDK to this NetApp cookbook in the "libraries" dir.
Update the NaServer.rb to specify the path of NaElement. Replace the line: require NaElement With -require File.dirname(FILE) + "/NaElement"

This is the error. Do you have any idea what could be the issue.

[2018-08-13T08:15:53-07:00] FATAL: Stacktrace dumped to /Users/i811144/rushi/devops/chef/chef-local/chef-repo/chef-stacktrace.out
[2018-08-13T08:15:53-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-08-13T08:15:53-07:00] FATAL: LoadError: cannot load such file -- NaElement
C1MS354MH3QK:chef-repo i811144$ vi /Users/i811144/rushi/devops/chef/chef-local/chef-repo/cookbooks/netapp/libraries/lib/ruby/NetApp/NaServer.rb

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant