Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 1123

Show
Ignore:
Timestamp:
04/09/05 17:27:18 (3 years ago)
Author:
david
Message:

Be specific about Rake placement

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/cia/trunk/app/models/build.rb

    r1114 r1123  
    22 
    33class Build < ActiveRecord::Base 
     4  RAKE = "/usr/local/bin/rake" 
     5 
    46  belongs_to :project 
    57 
     
    2123  def make 
    2224    log "Making..." 
    23     [ `cd #{directory} && rake`, ($?.exitstatus == 0) ] 
     25    [ `cd #{directory} && #{RAKE}`, ($?.exitstatus == 0) ] 
    2426  end 
    2527