File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313files_changed=` git diff $old_ref  $new_ref  --name-status` 
1414
1515#  CHECK IF WE NEED TO DO A BUNDLE
16- bundle_changed=` echo " $files_changed "   |  egrep ' M\tGemfile.lock' `   
16+ bundle_changed=` echo " $files_changed "   |  egrep ' M\tGemfile.lock' ` 
1717if  [ !  -z  " $bundle_changed "   ];  then 
1818  echo  " Your Gemfile.lock has changed, running bundle" 
1919  bundle
@@ -42,9 +42,9 @@ if [ ! -z "$migrations" ]; then
4242      #  CHECKOUT DOWN MIGRATION AND SAVE PATH FOR CLEANUP
4343      git checkout " $old_ref "   -- " $migration " 
4444      migration_cleanup=" $migration_cleanup  $migration " 
45-       migrate_commands=" $migrate_command $migrate_commands " 
45+       migrate_commands=" $migrate_command ; $migrate_commands " 
4646    else 
47-       migrate_commands=" $migrate_commands $migrate_command " 
47+       migrate_commands=" $migrate_commands ; $migrate_command " 
4848    fi 
4949  done 
5050
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments