Fix data path.

This commit is contained in:
Glenn Y. Rolland 2014-10-27 21:04:49 +01:00
parent e84aebceb9
commit f833fa9410

View file

@ -1,7 +1,5 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
#require 'rubygems'
#require 'bundler/setup'
require 'Qt4' require 'Qt4'
$DEBUG = true $DEBUG = true
@ -13,12 +11,11 @@ require 'fcntl'
require 'pathname' require 'pathname'
QASIM_INCLUDE_DIR = Pathname.new(File.dirname(__FILE__)).parent + "lib" QASIM_INCLUDE_DIR = Pathname.new(File.dirname(__FILE__)).parent + "lib"
QASIM_DATA_DIR = Pathname.new(File.dirname(__FILE__)).parent QASIM_DATA_DIR = Pathname.new(File.dirname(__FILE__)).parent + "data"
$:.push QASIM_INCLUDE_DIR $:.push QASIM_INCLUDE_DIR
require 'qasim' require 'qasim'
require 'qasim/qasim_qrc' require 'qasim/qasim_qrc'
# QaSiM // Qt Sshfs Mapper # QaSiM // Qt Sshfs Mapper