Our strategy was : Create on migration that build all the tables before we deployed.
Once we deployed (which we now are)
Migration is managed under a change control process in which we run manual mysql scripts to do the migration (after extensive testing of course)
Jay
Feb 25, 2009 08:38:09 PM, [email protected] wrote:
I'm manually running the SQL. Kind of sucks but I don't make that many
schema changes.
What's the ideal solution? HTTP action? A remote console?
Ikai
On 2/25/09 5:01 PM, "Dave Ray" <[email protected]> wrote:
> Adam,
>
> There was a very similar question (and an answer) earlier this month:
>
> http://www.ruby-forum.com/topic/177738
>
> Since this has come up twice now and was definitely a point of confusion
> when I was deploying a JRuby/Rails app, it would be cool if there was
> some official guidance on the Wiki or something about the "right" way to
> deploy on app servers where you have minimal control.
>
> In my case, I just ended up installing JRuby on the server. This was
> over the phone with an admin because the server was remote and behind a
> firewall. It felt like a pretty kludgy solution and definitely didn't
> help me look like I knew what I was doing, which I didn't. :)
>
> Dave
>
> AD wrote:
>> Hello,
>>
>> We are working on some deployment scripts for our JRuby/Rails
>> application. We use warble to deploy wars into tomcat on our app
>> servers. Since we wont have a local copy of Jruby on the app servers
>> is there an easy way to run a rake db:migrate as part of the
>> deployment process? It would be easiest if we can run this as a jar
>> file somehow but wasnt sure what other people are doing here.
>>
>> Thx
>> Adam
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email