Forum: Ruby Rake Hates Me Today

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4299e35bacef054df40583da2d51edea?d=identicon&s=25 james (Guest)
on 2005-11-15 21:43
(Received via mailing list)
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 Gray II
10d4acbfdaccb4eee687a428ca00a5d8?d=identicon&s=25 jim (Guest)
on 2005-11-15 22:10
(Received via mailing list)
On Tuesday 15 November 2005 03:42 pm, James Edward Gray 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
4299e35bacef054df40583da2d51edea?d=identicon&s=25 james (Guest)
on 2005-11-15 22:17
(Received via mailing list)
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:
>
>   gem install rake --source http://onestepback.org/betagems

Worked perfectly.  Thank you Jim!

James Edward Gray II
457cf540784a12ba2f30e06565a2c189?d=identicon&s=25 hgs (Guest)
on 2005-11-16 01:44
(Received via mailing list)
On Wed, 16 Nov 2005, 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:

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
>
        Hugh
10d4acbfdaccb4eee687a428ca00a5d8?d=identicon&s=25 jim (Guest)
on 2005-11-16 07:28
(Received via mailing list)
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.  

The FileUtils.cd command no long accepts a :noop option.
This topic is locked and can not be replied to.