# Gem error

**URL:** <https://discourse.chef.io/t/gem-error/5585>\
**Category:** Chef Infra (archive)\
**Created:** [July 31, 2014, 6:05am UTC](https://discourse.chef.io/t/gem-error/5585 "2014-07-31T06:05:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indra\_k](https://avatars.discourse-cdn.com/v4/letter/i/c89c15/32.png) [@Indra\_k](https://discourse.chef.io/u/Indra_k)\
**Post date:** [July 31, 2014, 6:05am UTC](https://discourse.chef.io/t/gem-error/5585/1 "2014-07-31T06:05:10Z")

</div>

Hi all,

how to rectify this error ?

Unable to activate net-ssh-shell-0.2.0, because net-ssh-2.9.1 conflicts with net-ssh (~\> 2.1.0)

When am doing net/ssh and net/ssh/shell in ruby\_block it shows this error.

Thanks,  
Indra

---

<div class="post-metadata">

**Author:** ![Steven\_Danna](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/steven_danna/32/195_2.png) [@Steven\_Danna](https://discourse.chef.io/u/Steven_Danna)\
**Post date:** [July 31, 2014, 8:38am UTC](https://discourse.chef.io/t/gem-error/5585/2 "2014-07-31T08:38:52Z")

</div>

Hi,

I assume from your follow up question to the list that you were able  
to work this one out?

Cheers,

Steven

On Thu, Jul 31, 2014 at 7:05 AM, Indra k [indra.k@cloudenablers.com](mailto:indra.k@cloudenablers.com) wrote:

> Hi all,  
> how to rectify this error ?
> 
> Unable to activate net-ssh-shell-0.2.0, because net-ssh-2.9.1 conflicts  
> with net-ssh (~\> 2.1.0)
> 
> When am doing net/ssh and net/ssh/shell in ruby\_block it shows this  
> error.
> 
> Thanks,  
> Indra

---

<div class="post-metadata">

**Author:** ![Indra\_k](https://avatars.discourse-cdn.com/v4/letter/i/c89c15/32.png) [@Indra\_k](https://discourse.chef.io/u/Indra_k)\
**Post date:** [July 31, 2014, 8:46am UTC](https://discourse.chef.io/t/gem-error/5585/3 "2014-07-31T08:46:59Z")

</div>

Hi,

```
  I need to run command through remote in that server i need to create directory in a /var/www folder and copy existing folder into this and compress and transfer that zip into my target machine.

```

In that cd and copy are not working it just skip that command and create a new folder in a /root folder by default

Thanks,  
Indra

* * *

From: Steven Danna [steve@opscode.com](mailto:steve@opscode.com)  
To: Indra k [indra.k@cloudenablers.com](mailto:indra.k@cloudenablers.com)  
Cc: "[chef@lists.opscode.com](mailto:chef@lists.opscode.com)" [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
Sent: Thursday, 31 July 2014 2:08 PM  
Subject: [chef] Re: gem error

Hi,

I assume from your follow up question to the list that you were able  
to work this one out?

Cheers,

Steven

On Thu, Jul 31, 2014 at 7:05 AM, Indra k [indra.k@cloudenablers.com](mailto:indra.k@cloudenablers.com) wrote:

> Hi all,  
> how to rectify this error ?
> 
> Unable to activate net-ssh-shell-0.2.0, because net-ssh-2.9.1 conflicts  
> with net-ssh (~\> 2.1.0)
> 
> When am doing net/ssh and net/ssh/shell in ruby\_block it shows this  
> error.
> 
> Thanks,  
> Indra
