Sunday, February 24, 2013

[Rails] Re: Deploying from Windows to Linux?

I don't know much about the sqladapter gem and how to get it working on Linux (what dependencies, libraries are needed, etc.), but I had a similar situation where I needed to store my data in an SQL Server backend. In my case, I used TorqueBox (a nice JBoss-based Rails server running on JRuby), which included the JDBC drivers for SQL Server (made using SQL Server super, super easy). By using JRuby (Java) instead of the native Ruby, it didn't matter which platform I used for development, staging, or production; my environment and dependencies were the same regardless of OS.

As far as the actual deployment process, I would seriously consider using Capistrano; I would think it would be possible to use Capistrano on Windows with Cygwin or something similar to deploy to Linux.


On Friday, February 22, 2013 2:19:45 AM UTC-5, Mark Nongkhlaw wrote:
I've been developing my rails app in Windows. The app connects to SQL Server database using the sqladapter gem and through ODBC. I know that the recommended platform for production would be Linux.

Whether its possible to deploy my app to Linux? If yes, how hard would that be?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/EeWvpCvgPcAJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate