lib/joyce/tasks/build.rb in joyce-0.1.10 vs lib/joyce/tasks/build.rb in joyce-0.1.11
- old
+ new
@@ -1,5 +1,7 @@
+require 'fileutils'
+
module Joyce
module Tasks
class AppBuilder
include FileUtils
@@ -13,11 +15,12 @@
puts "--- source code copied in!"
puts "--- let's copy gems in..."
gem_destination = "#{target_app_bundle_root}/Contents/Resources/vendor"
- binary_gems_to_ignore = %w[ gosu minitest ]
- gem_list = vendored_gem_names(ignoring: binary_gems_to_ignore)
+ gems_to_ignore = %w[ gosu minitest ]
+ gems_to_ignore << app_name # since we just copied over source?
+ gem_list = vendored_gem_names(ignoring: gems_to_ignore)
copy_gems(gem_list, destination: File.join(gem_destination))
puts "--- gems copied"
# TODO copy assets...?