# Rake install environments

**URL:** <https://discourse.chef.io/t/rake-install-environments/3498>\
**Category:** Chef Infra (archive)\
**Created:** [January 14, 2013, 6:35pm UTC](https://discourse.chef.io/t/rake-install-environments/3498 "2013-01-14T18:35:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cassiano\_Leal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/cassiano_leal/32/86_2.png) [@Cassiano\_Leal](https://discourse.chef.io/u/Cassiano_Leal)\
**Post date:** [January 14, 2013, 6:35pm UTC](https://discourse.chef.io/t/rake-install-environments/3498/1 "2013-01-14T18:35:43Z")

</div>

Hello,

Is “rake install” supposed to upload the environments to the Chef repo? I ask because for me it doesn’t…

I found this thread on the archive that has no answer to this same question: [http://lists.opscode.com/sympa/arc/chef/2012-06/msg00060.html](http://lists.opscode.com/sympa/arc/chef/2012-06/msg00060.html)

Thanks,

- cassiano

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [January 17, 2013, 4:42pm UTC](https://discourse.chef.io/t/rake-install-environments/3498/2 "2013-01-17T16:42:25Z")

</div>

On Monday, January 14, 2013 at 10:35 AM, Cassiano Leal wrote:

> Hello,
> 
> Is "rake install" supposed to upload the environments to the Chef repo? I ask because for me it doesn't…
> 
> I found this thread on the archive that has no answer to this same question: [chef - [chef] Re: Re: updating environments with Rake](http://lists.opscode.com/sympa/arc/chef/2012-06/msg00060.html)
> 
> Thanks,
> 
> - cassiano

The rake tasks are more or less deprecated and just a wrapper for knife. We encourage everyone to just use knife directly.

If you need "upload everything" functionality, check out knife-essentials, which is merged to core for Chef 11 (plugin for 10.x):

> **[GitHub - jkeiser/knife-essentials: Knife commands to treat the Chef server...](https://github.com/jkeiser/knife-essentials)**
>
> Knife commands to treat the Chef server like a filesystem - GitHub - jkeiser/knife-essentials: Knife commands to treat the Chef server like a filesystem

Includes awesome diff functionality, too.

--  
Daniel DeLeo

---

<div class="post-metadata">

**Author:** ![Cassiano\_Leal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/cassiano_leal/32/86_2.png) [@Cassiano\_Leal](https://discourse.chef.io/u/Cassiano_Leal)\
**Post date:** [January 17, 2013, 5:52pm UTC](https://discourse.chef.io/t/rake-install-environments/3498/3 "2013-01-17T17:52:31Z")

</div>

Ah, got it. I just installed knife-essentials, but I keep getting these messages for whatever command I try to issue:

ERROR: Attempt to use relative path '\*' when current directory is outside the repository path

Tried googling for it, but it seems that I'm alone on this one. 🙂

Thanks,

- cassiano

On Thursday, January 17, 2013 at 14:42, Daniel DeLeo wrote:

> On Monday, January 14, 2013 at 10:35 AM, Cassiano Leal wrote:
> 
> > Hello,
> > 
> > Is "rake install" supposed to upload the environments to the Chef repo? I ask because for me it doesn't…
> > 
> > I found this thread on the archive that has no answer to this same question: [chef - [chef] Re: Re: updating environments with Rake](http://lists.opscode.com/sympa/arc/chef/2012-06/msg00060.html)
> > 
> > Thanks,
> > 
> > - cassiano
> 
> The rake tasks are more or less deprecated and just a wrapper for knife. We encourage everyone to just use knife directly.
> 
> If you need "upload everything" functionality, check out knife-essentials, which is merged to core for Chef 11 (plugin for 10.x):
> 
> [GitHub - jkeiser/knife-essentials: Knife commands to treat the Chef server like a filesystem](https://github.com/jkeiser/knife-essentials)
> 
> Includes awesome diff functionality, too.
> 
> --  
> Daniel DeLeo
