On Sat, 24 Dec 2005 19:56:00 -0000, Jamis B. [email protected]
wrote:
./rakefile:67
Apparenly, FileUtils.chdir doesn’t take the :noop parameter anymore? I’m
working around this by just invoking FileUtils.chdir directly.
Jamis
IIRC I encountered this very bug some time ago, with 1.8.3. The advice I
found at the time was to switch to a beta version, 0.6.99.2, which you
can
find at: http://onestepback.org/betagems/gems/rake-0.6.99.2.gem . Since
making the switch I’ve encountered no such problems; I’ve just tried the
following Rakefile with 1.8.4:
task :default do
chdir('..') do
puts `pwd`
end
end
And it gives:
(in /home/rosco/dev/ruby/raketest)
cd ..
/home/rosco/dev/ruby
cd -
IIRC I encountered this very bug some time ago, with 1.8.3. The advice I
found at the time was to switch to a beta version, 0.6.99.2, which you
can
find at: http://onestepback.org/betagems/gems/rake-0.6.99.2.gem . Since
making the switch I’ve encountered no such problems; I’ve just tried the
following Rakefile with 1.8.4:
Rake 0.6.99.2 is the release candidate for Rake 0.7.0. There is still
some documentation to be done, but I plan to finish that this week and
officially release a new version of rake.
–
– Jim W.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.