lib/tasks/my.rake in borda-0.0.10 vs lib/tasks/my.rake in borda-0.0.11

- old
+ new

@@ -12,10 +12,10 @@ Rake::Task[:environment].invoke Rake::Task["db:load_config"].invoke ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true migrate_path = 'db/migrate' debugger - if Rails::configuration.gems.map(&:name).include? :borda + if Rails::configuration.gems.map(&:name).include?('borda') migrate_path = Gem.searcher.find('borda').full_gem_path + '/db/migrate' end ActiveRecord::Migrator.migrate(migrate_path, ENV["VERSION"] ? ENV["VERSION"].to_i : nil) end \ No newline at end of file