Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

chef exec rake fails on Ubuntu 14.04 #125

Closed
pghalliday opened this issue Aug 3, 2014 · 1 comment
Closed

chef exec rake fails on Ubuntu 14.04 #125

pghalliday opened this issue Aug 3, 2014 · 1 comment

Comments

@pghalliday
Copy link

The following can be worked around by running eval "$(chef shell-init bash)" first but as far as I know it should work without that

pghalliday@ubuntu:~$ chef exec rake
/opt/chefdk/embedded/apps/chef-dk/lib/chef-dk/command/exec.rb:27:in `exec': No such file or directory - rake (Errno::ENOENT)
    from /opt/chefdk/embedded/apps/chef-dk/lib/chef-dk/command/exec.rb:27:in `run'
    from /opt/chefdk/embedded/apps/chef-dk/lib/chef-dk/command/base.rb:57:in `run_with_default_options'
    from /opt/chefdk/embedded/apps/chef-dk/lib/chef-dk/cli.rb:66:in `run'
    from /opt/chefdk/embedded/apps/chef-dk/bin/chef:25:in `<top (required)>'
    from /usr/bin/chef:41:in `load'
    from /usr/bin/chef:41:in `<main>'
pghalliday@ubuntu:~$ 
@danielsdeleo
Copy link
Contributor

Pretty sure this is a duplicate of #103

ksubrama pushed a commit that referenced this issue Jan 11, 2016
Add Mac OS X 10.8-9 and Windows 7-8 to package lists
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
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

2 participants