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 ... ;-) -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Well, If someone has an idea or had already done that, just let me know. Dominique. On 27 sep, 23:58, dme69 <dmeg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 ... ;-)-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Wed, Sep 29, 2010 at 1:45 PM, dme69 <dmege69-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Well, > If someone has an idea or had already done that, just let me know.Here is an example Capistrano recipe I use on one of my sites:> cat config/deploy.rbrequire ''bundler/capistrano'' set :application, ''destiney'' set :scm, :git set :repository, "git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:gdonald/#{ application }.git" set :deploy_to, "/rails/cap_#{ application }" set :user, ''destiney'' role :web, ''destiney.com'' role :app, ''destiney.com'' role :db, ''destiney.com'', :primary => true ssh_options[:keys] = %w(/home/destiney/.ssh/id_dsa) ssh_options[:paranoid] = false ssh_options[:port] = 22 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 -- Greg Donald destiney.com | gregdonald.com -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks Greg, I will take a look a that. Best regards. Dominique. On 29 sep, 21:12, Greg Donald <gdon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Wed, Sep 29, 2010 at 1:45 PM, dme69 <dmeg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Well, > > If someone has an idea or had already done that, just let me know. > > Here is an example Capistrano recipe I use on one of my sites: > > > cat config/deploy.rb > > require ''bundler/capistrano'' > > set :application, ''destiney'' > set :scm, :git > set :repository, "g...-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:gdonald/#{ application }.git" > > set :deploy_to, "/rails/cap_#{ application }" > set :user, ''destiney'' > > role :web, ''destiney.com'' > role :app, ''destiney.com'' > role :db, ''destiney.com'', :primary => true > > ssh_options[:keys] = %w(/home/destiney/.ssh/id_dsa) > ssh_options[:paranoid] = false > ssh_options[:port] = 22 > > 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 > > -- > Greg Donald > destiney.com | gregdonald.com-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.