The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Deploying Rails

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Deploying Rails Posted: Apr 23, 2005 7:53 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Deploying Rails
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

If you’re keeping your Rails application in a source code repository, Tobias Luetke has a script for retrieving the code, running its tests in a deployment directory and copying it to the target directory. All guided by a simple YAML configuration file at ~/.deployrc.

To keep Hieraki fresh:

 hieraki:
   server: linux
   get: svn export svn://myserver/hieraki/trunk
   directory: /var/www/applications/hieraki
   test: RAILS_ENV=production rake

   after_test:
     - chmod 777 log/
     - chmod 666 log/*

   after_commit:
     - sudo /etc/init.d/apache reload   

You can likewise checkout from RubyForge CVS with a hack like:

 get: cvs -d:pserver:anonymous@rubyforge.org:/var/cvs/bugtrack 
      export -D now bugtrack; mv bugtrack

I wonder: can RubyGems be easily scripted to pull from CVS or Subversion? Better, I wonder if ViewCVS could be easily hacked to generate snapshot gems? Easily?

Read: Deploying Rails

Topic: MyBandSpot moving to Ruby on Rails Previous Topic   Next Topic Topic: Ruby on Rails 0.12 released!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use