# Rake Hates Me Today

**URL:** <https://www.ruby-forum.com/t/rake-hates-me-today/48226>\
**Category:** Ruby\
**Created:** [November 15, 2005, 9:43pm UTC](https://www.ruby-forum.com/t/rake-hates-me-today/48226 "2005-11-15T21:43:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![james](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@james](https://www.ruby-forum.com/u/james)\
**Post date:** [November 15, 2005, 9:43pm UTC](https://www.ruby-forum.com/t/rake-hates-me-today/48226/1 "2005-11-15T21:43:45Z")

</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|  
pkg.need\_zip = true  
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 G. II

---

<div class="post-metadata">

**Author:** ![james](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@james](https://www.ruby-forum.com/u/james)\
**Post date:** [November 15, 2005, 10:10pm UTC](https://www.ruby-forum.com/t/rake-hates-me-today/48226/2 "2005-11-15T22:10:53Z")

</div>

On Tuesday 15 November 2005 03:42 pm, James Edward G. II wrote:

> …  
> rake aborted!  
> no such option: noop

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:

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

---

<div class="post-metadata">

**Author:** ![james](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@james](https://www.ruby-forum.com/u/james)\
**Post date:** [November 15, 2005, 10:17pm UTC](https://www.ruby-forum.com/t/rake-hates-me-today/48226/3 "2005-11-15T22:17:06Z")

</div>

On Nov 15, 2005, at 3:07 PM, Jim W. 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:
> 
> gem install rake --source [http://onestepback.org/betagems](http://onestepback.org/betagems)

Worked perfectly. Thank you Jim!

James Edward G. II

---

<div class="post-metadata">

**Author:** ![james](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@james](https://www.ruby-forum.com/u/james)\
**Post date:** [November 16, 2005, 1:44am UTC](https://www.ruby-forum.com/t/rake-hates-me-today/48226/4 "2005-11-16T01:44:58Z")

</div>

On Wed, 16 Nov 2005, Jim W. 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:

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.

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

```
    Hugh

```

---

<div class="post-metadata">

**Author:** ![james](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@james](https://www.ruby-forum.com/u/james)\
**Post date:** [November 16, 2005, 7:28am UTC](https://www.ruby-forum.com/t/rake-hates-me-today/48226/5 "2005-11-16T07:28:18Z")

</div>

On Tuesday 15 November 2005 07:43 pm, Hugh S. 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.

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