Forum: Ruby on Rails Windows Deployment on Unix

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.
News W3 (Guest)
on 2006-03-16 13:43
(Received via mailing list)
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
Paul R. (Guest)
on 2006-03-16 20:35
(Received via mailing list)
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.
Joe P. (Guest)
on 2006-03-16 21:41
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?
<snip>

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
François B. (Guest)
on 2006-03-17 00:35
(Received via mailing list)
Hello Joe !

2006/3/16, Joe P. <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.advance...

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/subver...

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 !
This topic is locked and can not be replied to.