Forum: Ruby on Rails freeze_gems broke my app

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.
F0aea0642481aab7cb7851b6c9a10489?d=identicon&s=25 Dave Davidson (sp00nyg)
on 2006-03-29 16:30
(Received via mailing list)
WinXP/ruby1.8.4/rails1.0.  did a "rake freeze_gems" and got:

------
Freezing to the gems for Rails 1.0.0
rm -rf vendor/rails
mkdir -p vendor/rails
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the path specified.
rake aborted!
undefined method `to_str' for nil:NilClass
------

i'm assuming the errors occur b/c windows doesn't know what to make of
the unix-
specific "rm" or the forward-slash path character.  ok, that's fine, i
can't
freeze.

however, any subsequent invocation of rake gives me:

------
rake aborted!
no such file to load --
Z:/Tools/sandbox/config/../vendor/rails/railties/lib/initializer
Z:/Tools/sandbox/rakefile:4
------

worse, i can no longer run webrick:

------
d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__': no
such file to load --
 ./script/../config/../vendor/rails/railties/lib/initializer (LoadError)
        from
d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
        from ./script/../config/boot.rb:13
        from
d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
        from script/server:2
------

yikes. so my questions, in order of importance:

1. have i hosed my app beyond the point of repair?
2. if the answer to [1] is no, is there a file i can edit to get me back
to a
state before the "bad time"?
3. does freeze_gems work on win32 systems?

thanks!
This topic is locked and can not be replied to.