# Can't freeze rails on a windows box

**URL:** <https://www.ruby-forum.com/t/cant-freeze-rails-on-a-windows-box/98285>\
**Category:** Rails\
**Created:** [January 28, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/cant-freeze-rails-on-a-windows-box/98285 "2006-01-28T17:52:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hans-Arne\_Sandem](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/4af34b/32.png) [@Hans-Arne\_Sandem](https://www.ruby-forum.com/u/Hans-Arne_Sandem)\
**Post date:** [January 28, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/cant-freeze-rails-on-a-windows-box/98285/1 "2006-01-28T17:52:11Z")

</div>

Hi,

I’m trying to freeze rails on a windows box and get this message(test is  
an rails app):

C:\rails\test\>rake freeze\_gems  
(in C:/rails/test)  
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

Do you have to use linux to be able to freeze rails??

Hans-Arne

---

<div class="post-metadata">

**Author:** ![Hans-Arne\_Sandem](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/4af34b/32.png) [@Hans-Arne\_Sandem](https://www.ruby-forum.com/u/Hans-Arne_Sandem)\
**Post date:** [January 29, 2006, 12:19am UTC](https://www.ruby-forum.com/t/cant-freeze-rails-on-a-windows-box/98285/2 "2006-01-29T00:19:13Z")

</div>

Hans-Arne Sandem wrote:

> 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

This is a known issue. See bug 3274 [1], which includes a patch that  
looks like it should fix it.

1. [http://dev.rubyonrails.org/ticket/3274](http://dev.rubyonrails.org/ticket/3274)

Phil

–  
Philip R.  
[http://tzinfo.rubyforge.org/](http://tzinfo.rubyforge.org/) – DST-aware timezone library for Ruby
