# Windows Deployment on Unix

**URL:** <https://www.ruby-forum.com/t/windows-deployment-on-unix/55025>\
**Category:** Rails\
**Created:** [March 16, 2006, 12:43pm UTC](https://www.ruby-forum.com/t/windows-deployment-on-unix/55025 "2006-03-16T12:43:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![News\_W3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecb155/32.png) [@News\_W3](https://www.ruby-forum.com/u/News_W3)\
**Post date:** [March 16, 2006, 12:43pm UTC](https://www.ruby-forum.com/t/windows-deployment-on-unix/55025/1 "2006-03-16T12:43:53Z")

</div>

Hi!

Can anyone give me some pointers on how to deploy a Rails application  
developed under Windows with RadRails at a Unix Host (Textdrive).

IÂ´ve heard of switch tower, but have never used it. Does it have a  
routine  
to convert my Windows Carriage Returns/Line Feeds to Unix style? Is  
there  
something else I should know?

Also, if somebody can point me to a good tutorial on setting up Rails to  
run  
under Textdrive, it would be great!

Thanx again!

Alessandro

---

<div class="post-metadata">

**Author:** ![News\_W3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecb155/32.png) [@News\_W3](https://www.ruby-forum.com/u/News_W3)\
**Post date:** [March 16, 2006, 7:35pm UTC](https://www.ruby-forum.com/t/windows-deployment-on-unix/55025/2 "2006-03-16T19:35:31Z")

</div>

On 16 Mar 2006, at 11:43, News W3 wrote:

> I´ve heard of switch tower, but have never used it. Does it have a  
> routine to convert my Windows Carriage Returns/Line Feeds to Unix  
> style?  
> If you’re using subversion, you should be setting eol in there. You  
> are using version control, no?  
> Is there something else I should know?  
> The top line in public/dispatch.cgi, public/dispatch.fcgi and public/  
> dispatch.rb will probably point to c:/ruby/bin/ruby in your files.  
> You need to change those when deploying to the right location for  
> ruby on that machine.

---

<div class="post-metadata">

**Author:** ![News\_W3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecb155/32.png) [@News\_W3](https://www.ruby-forum.com/u/News_W3)\
**Post date:** [March 16, 2006, 8:41pm UTC](https://www.ruby-forum.com/t/windows-deployment-on-unix/55025/3 "2006-03-16T20:41:23Z")

</div>

Paul R. wrote:

> On 16 Mar 2006, at 11:43, News W3 wrote:
> 
> > Iï¿½ve heard of switch tower, but have never used it. Does it have a  
> > routine to convert my Windows Carriage Returns/Line Feeds to Unix  
> > style?  
> > If you’re using subversion, you should be setting eol in there. You  
> > are using version control, no?

Ok, I’m going to thoroughly embarass myself…  
I am not using version control just yet, having only just started the  
tutorials, but for the real deal I’ll be using subclipse (subversion in  
eclipse). How exactly is it that subversion (and hopefully subclipse)  
helps with the transition from Windows to \*inx? I’m going to do some  
diging in subversion docs as well so no need for details on configuring  
subversion / subclipse.

Thanks,  
joe

---

<div class="post-metadata">

**Author:** ![News\_W3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecb155/32.png) [@News\_W3](https://www.ruby-forum.com/u/News_W3)\
**Post date:** [March 16, 2006, 11:35pm UTC](https://www.ruby-forum.com/t/windows-deployment-on-unix/55025/4 "2006-03-16T23:35:26Z")

</div>

Hello Joe !

2006/3/16, Joe P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Ok, I’m going to thoroughly embarass myself…

No need to embarass yourself. Everyone has to start somewhere, right ?

> I am not using version control just yet, having only just started the  
> tutorials, but for the real deal I’ll be using subclipse (subversion in  
> eclipse). How exactly is it that subversion (and hopefully subclipse)  
> helps with the transition from Windows to \*inx? I’m going to do some  
> diging in subversion docs as well so no need for details on configuring  
> subversion / subclipse.

What the original poster meant is that in Subversion, there is a  
property you can set on files that tell Subversion how to handle  
carriage returns and line feeds.

What you want to set is svn:eol-style, and it is documented here:  
[http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.eol-style](http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.eol-style)

Once you know how Subversion work, you might be interested in an  
article I wrote a few days ago:  
[http://blog.teksol.info/articles/2006/03/09/subversion-primer-for-rails-projects](http://blog.teksol.info/articles/2006/03/09/subversion-primer-for-rails-projects)

Thinking back, I see I haven’t even mentionned svn:eol-style in the  
article. Means it’s time for a rewrite 🙂

Hope that helps !
