X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..35fbcf28154b6f15f697018016fbabc952e018a5:/db/migrate/008_remove_segments.rb?ds=sidebyside diff --git a/db/migrate/008_remove_segments.rb b/db/migrate/008_remove_segments.rb index 2820f82f8..241a144b0 100644 --- a/db/migrate/008_remove_segments.rb +++ b/db/migrate/008_remove_segments.rb @@ -1,4 +1,4 @@ -require 'migrate' +require "migrate" class RemoveSegments < ActiveRecord::Migration def self.up @@ -10,7 +10,7 @@ class RemoveSegments < ActiveRecord::Migration cmd = "db/migrate/008_remove_segments_helper" src = "#{cmd}.cc" if !File.exist?(cmd) || File.mtime(cmd) < File.mtime(src) - system('c++ -O3 -Wall `mysql_config --cflags --libs` ' + + system("c++ -O3 -Wall `mysql_config --cflags --libs` " + "#{src} -o #{cmd}") || fail end