Permalink
Browse files

Make sure that app.files includes the local application if present.

  • Loading branch information...
1 parent 51c91bd commit 56558fcd1162a110b226e2af2a71bdb02e254499 @jamesotron jamesotron committed Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bubble-wrap/ext/motion_project_app.rb
@@ -6,7 +6,7 @@ def self.extended(base)
base.instance_eval do
def setup_with_bubblewrap(&block)
bw_config = proc do |app|
- app.files = ::BubbleWrap::Requirement.files
+ app.files = ::BubbleWrap::Requirement.files + Dir.glob('app/**/*.rb')
app.files_dependencies ::BubbleWrap::Requirement.files_dependencies
app.frameworks = ::BubbleWrap::Requirement.frameworks
block.call(app)

0 comments on commit 56558fc

Please sign in to comment.