Because I'm running into this MIXLIB-11 error that I've reported to Mixlib team, I need to find a walkaround, an alternative to Mixlib::Shellout.
Briefly about the problem:
Here is a statement which says "*No surprise -- the read is happening at compile time, but the remote_file resource is actually created at execution time.**"
Because of this feature, Mixlib::Shellout.new("ls", :cwd => '/opt/cubrid/share/webmanager')
raises "No such file or directory" error even though that directory is created at execution time by a previous recipe included in this current recipe.
Is there a way to read a file/directory at execution time?