Hi !
I use Ruby 1.6.8 on WinXP.
Now, I got rake-0[1].5.4.zip and extracted it to C:\Program
Files\Ruby\rake-0.5.4
Trying to install it ..
cd C:\Program Files\Ruby\rake-0.5.4
ruby install.rb
.... I got following error:
mkdir c:/program files/ruby/lib/ruby/site_ruby/1.6/rake
install.rb:77: undefined method `each' for 0:Fixnum (NameError)
What I'm doing wrong ?
Chris
Rake requires Ruby 1.8.0 or later. You can download the latest
OneClick Installer from http://rubyforge.org/frs/?group_id=167
(BTW: Darf ich wissen in welchem Siemens-Werk du arbeitest?)
···
On Thursday 21 July 2005 12:05, Christoph Neubauer wrote:
Hi !
I use Ruby 1.6.8 on WinXP.
Now, I got rake-0[1].5.4.zip and extracted it to C:\Program
Files\Ruby\rake-0.5.4
Trying to install it ..
> cd C:\Program Files\Ruby\rake-0.5.4
> ruby install.rb
.... I got following error:
mkdir c:/program files/ruby/lib/ruby/site_ruby/1.6/rake
install.rb:77: undefined method `each' for 0:Fixnum (NameError)
What I'm doing wrong ?
--
Stefan
Hi !
Thanks for answering quickly.
But, alas, for some reasons I'm bound to 1.6.8.
Is there any workaround possible ?
Chris
"Stefan Lang" <langstefan@gmx.at> wrote in message
news:200507211216.40293.langstefan@gmx.at...
···
On Thursday 21 July 2005 12:05, Christoph Neubauer wrote:
> Hi !
>
> I use Ruby 1.6.8 on WinXP.
> Now, I got rake-0[1].5.4.zip and extracted it to C:\Program
> Files\Ruby\rake-0.5.4
>
> Trying to install it ..
>
> > cd C:\Program Files\Ruby\rake-0.5.4
> > ruby install.rb
>
> .... I got following error:
> mkdir c:/program files/ruby/lib/ruby/site_ruby/1.6/rake
> install.rb:77: undefined method `each' for 0:Fixnum (NameError)
>
> What I'm doing wrong ?
Rake requires Ruby 1.8.0 or later. You can download the latest
OneClick Installer from http://rubyforge.org/frs/?group_id=167
(BTW: Darf ich wissen in welchem Siemens-Werk du arbeitest?)
--
Stefan
Hmm, depends on wether you have to run existing Rakefiles or
you need to write a new one. If you intend to write new buildfiles
try to use Rant, which is very similar to Rake.
I've just managed to get a limited version of Rant running
with Ruby 1.6.8. You can download it from
http://rubyforge.org/frs/?group_id=615&release_id=2506
(the last entry, the script make.rb under Rant for Ruby 1.6.8).
For general Rant documentation visit http://make.ruby-co.de
From the release notes of Rant for Ruby 1.6.8:
"
This is a special monolithic Rant script created for users which
can't upgrade their Ruby installation to a version newer
than Ruby 1.6.8.
Just copy the file make.rb into the project directory
(the same in which your Rantfile lies).
To run your Rantfiles type:
% ruby make.rb [options] [arguments]
instead of the usual:
% rant [options] [arguments]
This script (make.rb) has the following imports inlined
(may work, but not tested):
* subfile
* clean
* directedrule
* rubytest
* rubydoc
* c/dependencies
* win32/rubycmdwrapper
"
HTH,
Stefan
···
On Thursday 21 July 2005 12:50, Christoph Neubauer wrote:
Hi !
Thanks for answering quickly.
But, alas, for some reasons I'm bound to 1.6.8.
Is there any workaround possible ?
Thanks, I'll try Rant !

Chris
"Stefan Lang" <langstefan@gmx.at> wrote in message
news:200507211409.14844.langstefan@gmx.at...
Hi !
Thanks for answering quickly.
But, alas, for some reasons I'm bound to 1.6.8.
Is there any workaround possible ?
Hmm, depends on wether you have to run existing Rakefiles or
you need to write a new one. If you intend to write new buildfiles
try to use Rant, which is very similar to Rake.
I've just managed to get a limited version of Rant running
with Ruby 1.6.8. You can download it from
http://rubyforge.org/frs/?group_id=615&release_id=2506
(the last entry, the script make.rb under Rant for Ruby 1.6.8).
For general Rant documentation visit http://make.ruby-co.de
From the release notes of Rant for Ruby 1.6.8:
"
This is a special monolithic Rant script created for users which
can't upgrade their Ruby installation to a version newer
than Ruby 1.6.8.
Just copy the file make.rb into the project directory
(the same in which your Rantfile lies).
To run your Rantfiles type:
% ruby make.rb [options] [arguments]
instead of the usual:
% rant [options] [arguments]
This script (make.rb) has the following imports inlined
(may work, but not tested):
* subfile
* clean
* directedrule
* rubytest
* rubydoc
* c/dependencies
* win32/rubycmdwrapper
"
HTH,
Stefan
···
On Thursday 21 July 2005 12:50, Christoph Neubauer wrote: