Skip to content

Commit

Permalink
fix watch folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tka committed Jul 13, 2014
1 parent 61d9778 commit 97361ae
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,20 @@ def require_compass
ENV["GEM_HOME"] = CONFIG["gem_path"]
ENV["GEM_PATH"] = CONFIG["gem_path"]
require "rubygems"
else
# we dont use system rubygem
ENV["GEM_HOME"] = ""
ENV["GEM_PATH"] = ""
end

# make sure use java version library, ex json-java, eventmachine-java
jruby_gems_path = File.join(Main.lib_path, "ruby", "jruby" )
scan_library( jruby_gems_path )
require "fssm" if (OS == 'darwin' && OS_VERSION.to_f >= 10.6 ) || OS == 'linux' || OS == 'windows'


require 'rb-fsevent' if OS == 'darwin' && App::CONFIG['force_enable_fsevent']
require 'rb-inotify' if OS == 'linux'
require 'listen'

require "compass"
require "compass/exec"

Expand Down

0 comments on commit 97361ae

Please sign in to comment.