rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Can't use app.files_dependencies in Rakefile #414

Closed rromanchuk closed 9 years ago

rromanchuk commented 9 years ago

Not sure if this is a bubblewrap issue or general RM issue. But not able to configure this setting http://www.rubymotion.com/developer-center/guides/project-management/#_files_dependencies

➜  Beta git:(master) ✗ rake development:production target=7.1
  WARNING! BubbleWrap::HTTP is deprecated and will be removed, see https://github.com/rubymotion/BubbleWrap/issues/308
  WARNING! Switch to a different networking library soon - consider AFNetworking: http://afnetworking.com/
  WARNING! You can use the 'bubble-wrap-http' gem if you need compatibility: https://github.com/rubymotion/BubbleWrap-HTTP
rake aborted!
NoMethodError: undefined method `files_dependencies=' for #<Motion::Project::IOSConfig:0x00000102bb67c0>
/Users/ryan/dev/FrontbackBuilds/Beta/Rakefile:84:in `block in <top (required)>'
/Users/ryan/.rvm/gems/ruby-2.1.0/bundler/gems/BubbleWrap-7d9da8863190/lib/bubble-wrap/ext/motion_project_app.rb:10:in `call'
/Users/ryan/.rvm/gems/ruby-2.1.0/bundler/gems/BubbleWrap-7d9da8863190/lib/bubble-wrap/ext/motion_project_app.rb:10:in `block in setup_with_bubblewrap'
/Library/RubyMotion2.32/lib/motion/project/config.rb:110:in `call'
/Library/RubyMotion2.32/lib/motion/project/config.rb:110:in `block in setup'
/Library/RubyMotion2.32/lib/motion/project/config.rb:110:in `each'
/Library/RubyMotion2.32/lib/motion/project/config.rb:110:in `setup'
/Library/RubyMotion2.32/lib/motion/project/app.rb:66:in `config'
/Users/ryan/.rvm/gems/ruby-2.1.0/bundler/gems/BubbleWrap-7d9da8863190/lib/bubble-wrap/ext/motion_project_app.rb:24:in `config_with_bubblewrap'
/Library/RubyMotion2.32/lib/motion/project/template/ios.rb:81:in `block in <top (required)>'
Tasks: TOP => development:production => simulator
(See full trace by running task with --trace)
rromanchuk commented 9 years ago

doh = isn't defined, it's just app.files_dependencies()