Skip to content

Commit

Permalink
Older Rubies don't have __dir__ method.
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
  • Loading branch information
yeban committed Feb 16, 2016
1 parent 334c33b commit 2d4d799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .ruby-version
@@ -0,0 +1 @@
1.9
2 changes: 1 addition & 1 deletion bin/ncbi-blast-dbs
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby

require 'rake'
import "#{__dir__}/../lib/ncbi-blast-dbs.rake"
import "#{File.dirname(__FILE__)}/../lib/ncbi-blast-dbs.rake"
app = Rake.application; app.init; app.load_imports; app.top_level

0 comments on commit 2d4d799

Please sign in to comment.