# Rake Hates Me Today

**URL:** <https://rubytalk.org/t/rake-hates-me-today/22499>\
**Category:** ruby-talk\
**Created:** [15 November 2005 20:42 UTC](https://rubytalk.org/t/rake-hates-me-today/22499 "2005-11-15T20:42:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Edward\_Gray\_II](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@James\_Edward\_Gray\_II](https://rubytalk.org/u/James_Edward_Gray_II)\
**Post date:** [15 November 2005 20:42 UTC](https://rubytalk.org/t/rake-hates-me-today/22499/1 "2005-11-15T20:42:13Z")

</div>

I'm trying to package up a new gem to release, but Rake and I just can't seem to get along today. In my Rakefile I have:

Rake::GemPackageTask.new(spec) do |pkg|  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pkg.need\_zip = true  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pkg.need\_tar = true  
end

When I try to run that it does build the gem, but then complains with:

...  
rake aborted!  
no such option: noop

Commenting out the need\_... calls removes the issue, but I really do need the archives too.

Any tips?

Thanks.

James Edward Gray II

---

<div class="post-metadata">

**Author:** ![Jim\_Weirich1](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jim\_Weirich1](https://rubytalk.org/u/Jim_Weirich1)\
**Post date:** [15 November 2005 21:07 UTC](https://rubytalk.org/t/rake-hates-me-today/22499/2 "2005-11-15T21:07:45Z")

</div>

This is caused by a changed in the FileUtils package the Rake uses. There is  
a beta version of Rake available that doesn't have that problem. You can get  
the beta with:

&nbsp;&nbsp;gem install rake --source [http://onestepback.org/betagems](http://onestepback.org/betagems)

> **···**
>
> On Tuesday 15 November 2005 03:42 pm, James Edward Gray II wrote:
> 
> > I'm trying to package up a new gem to release, but Rake and I just  
> > can't seem to get along today. In my Rakefile I have:
> > 
> > Rake::GemPackageTask.new(spec) do |pkg|  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pkg.need\_zip = true  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pkg.need\_tar = true  
> > end
> > 
> > When I try to run that it does build the gem, but then complains with:
> > 
> > ...  
> > rake aborted!  
> > no such option: noop
> 
> --  
> -- Jim Weirich jim@weirichhouse.org [http://onestepback.org](http://onestepback.org)  
> -----------------------------------------------------------------  
> "Beware of bugs in the above code; I have only proved it correct,  
> not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)

---

<div class="post-metadata">

**Author:** ![James\_Edward\_Gray\_II](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@James\_Edward\_Gray\_II](https://rubytalk.org/u/James_Edward_Gray_II)\
**Post date:** [15 November 2005 21:16 UTC](https://rubytalk.org/t/rake-hates-me-today/22499/3 "2005-11-15T21:16:28Z")

</div>

Worked perfectly. Thank you Jim!

James Edward Gray II

> **···**
>
> On Nov 15, 2005, at 3:07 PM, Jim Weirich wrote:
> 
> > This is caused by a changed in the FileUtils package the Rake uses. There is  
> > a beta version of Rake available that doesn't have that problem. You can get  
> > the beta with:
> > 
> > &nbsp;&nbsp;gem install rake --source [http://onestepback.org/betagems](http://onestepback.org/betagems)

---

<div class="post-metadata">

**Author:** ![Hugh\_Sasse](https://avatars.discourse-cdn.com/v4/letter/h/d6d6ee/32.png) [@Hugh\_Sasse](https://rubytalk.org/u/Hugh_Sasse)\
**Post date:** [16 November 2005 00:43 UTC](https://rubytalk.org/t/rake-hates-me-today/22499/4 "2005-11-16T00:43:24Z")

</div>

> This is caused by a changed in the FileUtils package the Rake uses. There is  
> a beta version of Rake available that doesn't have that problem. You can get  
> the beta with:

What's the change that broke it? I suggested a change recently but  
tried to ensure it was backwards compatible (a change to recursive  
copy to allow the skipping of failures). This was post 1.8.3.

> &nbsp;&nbsp;gem install rake --source [http://onestepback.org/betagems](http://onestepback.org/betagems)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hugh

> **···**
>
> On Wed, 16 Nov 2005, Jim Weirich wrote:

---

<div class="post-metadata">

**Author:** ![Jim\_Weirich1](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jim\_Weirich1](https://rubytalk.org/u/Jim_Weirich1)\
**Post date:** [16 November 2005 06:27 UTC](https://rubytalk.org/t/rake-hates-me-today/22499/5 "2005-11-16T06:27:07Z")

</div>

The FileUtils.cd command no long accepts a :noop option.

> **···**
>
> On Tuesday 15 November 2005 07:43 pm, Hugh Sasse wrote:
> 
> > What's the change that broke it? I suggested a change recently but  
> > tried to ensure it was backwards compatible (a change to recursive  
> > copy to allow the skipping of failures). This was post 1.8.3.
> 
> --  
> -- Jim Weirich jim@weirichhouse.org [http://onestepback.org](http://onestepback.org)  
> -----------------------------------------------------------------  
> "Beware of bugs in the above code; I have only proved it correct,  
> not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
