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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060316/a15d1a52/attachment.html
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 Percival
2006-Mar-16 19:41 UTC
[Rails] Subversion, EOL, Life, the Universe, and Everything
Paul Robinson 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 -- Posted via http://www.ruby-forum.com/.
Francois Beausoleil
2006-Mar-16 22:32 UTC
[Rails] Subversion, EOL, Life, the Universe, and Everything
Hello Joe ! 2006/3/16, Joe Percival <bttman@bigtreestech.com>:> 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 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 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 ! -- Fran?ois Beausoleil http://blog.teksol.info/