Package: rake
Version: 0.6.2-1
Severity: grave
Justification: renders package unusable

Hi,

Rake's PackageTask doesn't work even with a simple Rakefile such as this
one :
------------- cut here -----------------
require 'rake'
require 'rake/packagetask'

task :default => [:package]

Rake::PackageTask.new("rakefile", "1.2.3") do |p|
  p.need_tar = true
  p.package_files.include("Rakefile")
 end
------------- cut here -----------------
(Directly inspired from Rake's doc)

[EMAIL PROTECTED]:/tmp% rake -t
(1)
(in /tmp)
** Invoke default (first_time)
** Invoke package (first_time)
** Invoke pkg/rakefile-1.2.3.tgz (first_time)
** Invoke pkg/rakefile-1.2.3 (first_time, not_needed)
** Invoke Rakefile (first_time, not_needed)
** Invoke Rakefile (not_needed)
** Execute pkg/rakefile-1.2.3.tgz
rake aborted!
no such option: noop
/usr/lib/ruby/1.8/fileutils.rb:1422:in `fu_check_options'
/usr/lib/ruby/1.8/fileutils.rb:119:in `chdir'
/usr/lib/ruby/1.8/rake.rb:640:in `chdir'
/usr/lib/ruby/1.8/rake/packagetask.rb:116:in `define'
/usr/lib/ruby/1.8/rake.rb:202:in `execute'
/usr/lib/ruby/1.8/rake.rb:202:in `execute'
/usr/lib/ruby/1.8/rake.rb:180:in `invoke'
/usr/lib/ruby/1.8/rake.rb:179:in `invoke'
/usr/lib/ruby/1.8/rake.rb:827:in `each'
/usr/lib/ruby/1.8/rake.rb:179:in `invoke'
/usr/lib/ruby/1.8/rake.rb:179:in `invoke'
/usr/lib/ruby/1.8/rake.rb:827:in `each'
/usr/lib/ruby/1.8/rake.rb:179:in `invoke'
/usr/lib/ruby/1.8/rake.rb:1454:in `run'
/usr/lib/ruby/1.8/rake.rb:1454:in `run'
/usr/bin/rake:4

I couldn't determine whether it was ruby1.8 fileutils' fault or rake's
fault. The same rakefile works without problem on sarge and ubuntu
breezy.

Thank you,

Lucas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages rake depends on:
ii  ruby                          1.8.2-1    An interpreter of object-oriented 

rake recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to