We develop on Windows/Mac and deploy to Linux servers with no changes. Make sure your environment.rb file is setup to specify the appropriate Rails version and that you also specify all the gems used by the application (using config.gem). That way, if your Linux machine is missing anything, you won't be able to startup a Mongrel/Webrick server.
On May 4, 7:40 am, "Brandon Olivares" <[email protected]> wrote: > On 2009-05-04, Adam Akhtar wrote: > > > How easy is it to do this. Is it simply a case of copying the project > > directory over to the linux directory or does one have to create a new > > project in the linux system and copy paste (due to the wonders of rails > > magic)??? -- Posted viahttp://www.ruby-forum.com/. > > There's really nothing special about it. You do have to make sure that it has > access to the appropriate databases, the gems it is dependent upon are > installed, and that the target server has the same version of Rails (unless > you vendor it in vendor/rails). > > You might wan tto check out Capistrano for easier deployment, however, that > way it can perform all the necessary steps automatically. I'd recommend > running: > > rake gems:install > rake db:create:all > rake db:migrate > > That should be sufficient, I think. > > > > -- > Brandonwww.perpetualseeker.com > Blog about college, programming, and other random things. > Follow me on Twitter:http://twitter.com/devbanana --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

