Sha256: 4a948c4b50568f1f95ca2c522f930b03865d1aea09463fa8950359bb014e11b5
Contents?: true
Size: 591 Bytes
Versions: 4
Compression:
Stored size: 591 Bytes
Contents
#!/usr/bin/env ruby base_dir = File.join(Dir.pwd, ARGV.first.to_s) puts "\nWarning! You are going out of current directory, ruby version may be wrong and some gems may be missing.\n" unless File.realpath(base_dir).start_with?(Dir.pwd) begin require File.join(base_dir, 'config', 'boot') rescue LoadError puts "\nUh-oh! You must be in the root directory of a Rails project.\n" raise end require 'active_record' require File.join(base_dir, 'config', 'environment') $:<< File.join(File.dirname(__FILE__), '..', 'lib') require 'nullalign' if Nullalign.run exit 0 else exit 1 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nullalign-0.0.4 | bin/nullalign |
nullalign-0.0.3 | bin/nullalign |
nullalign-0.0.2 | bin/nullalign |
nullalign-0.0.1 | bin/nullalign |