Permalink
Browse files

A minor edition to executables

  • Loading branch information...
1 parent 0674868 commit 05ad22aeb88f201152f1c170d73081e8e0f39e1d @DanielVartanov committed Mar 10, 2012
Showing with 3 additions and 4 deletions.
  1. +2 −2 bin/parse-kml
  2. +1 −2 bin/parse-xls
View
@@ -3,7 +3,8 @@
require 'active_record'
require 'logger'
require 'nokogiri'
-require_relative 'kaisy_taxi'
+
+require './kaisy_taxi'
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => 'express-taxi.db'
@@ -33,6 +34,5 @@ placemarks.each do |placemark|
points.each do |point|
latlng = point.split(',')
vertex = Vertex.create! :lat => latlng[1], :lng => latlng[0], :zone => zone
- puts vertex.inspect
end
end
View
@@ -4,8 +4,7 @@
require "roo"
require "active_record"
require "logger"
-
-require_relative "kaisy_taxi"
+require "./kaisy_taxi"
ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => 'express-taxi.db', :pool => 25

0 comments on commit 05ad22a

Please sign in to comment.