mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-11 16:30:28 +08:00
fix a build error in environment which uses Ruby 1.8
http://hipbyte.myjetbrains.com/youtrack/issue/RM-463
This commit is contained in:
@@ -48,7 +48,7 @@ namespace :build do
|
||||
# TODO this should go into a iOS specific Builder class which performs this
|
||||
# check before building.
|
||||
App.config.resources_dirs.flatten.each do |dir|
|
||||
next unless Dir.exists?(dir)
|
||||
next unless File.exist?(dir)
|
||||
Dir.entries(dir).grep(/^Resources$/i).each do |basename|
|
||||
path = File.join(dir, basename)
|
||||
if File.directory?(path)
|
||||
|
||||
Reference in New Issue
Block a user