Hello,
I know many people are asking this kind of question. I searched in
this forum and some others in the web but i did found something clear
enough for my “ror’s power” (i’m not completly new but real
close )
Well, I’m developing my application on os x, i’m using svn (team
choice) for versionning but i will need to deploy on linux server
(with passenger).
How to do that ?
I need it to be “automatic” (with a script ?). Will i have a pb with
gems ? I’m thinking about the oracle one (64 bits against 32 ?) for
example. What do i need to do if i add a gem on os x to be added
automatically on the linux server ? Bundle ?
Well If someone can help me it would be so cool.
Dominique.
PS : I’m french so sometimes my english is not good …
namespace :deploy do
task :restart, :roles => :app do
run “cd #{ release_path } && RAILS_ENV=production rake db:migrate”
run “touch #{ release_path }/tmp/restart.txt”
end
end