Closed satoyos closed 9 years ago
Very interesting - can you output the app.files
from your Rakefile?
Thanks for responding!
Below is app.files
from Rakefile in my sample project.
["./app/app_delegate.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/version.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/all/sugarcube/log.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/all/sugarcube/look_in.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube/log.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube-to_s/calayer.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube-to_s/nserror.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube-to_s/nsindexpath.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube-to_s/nslayoutconstraint.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube-to_s/nsnotification.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube-to_s/nsset.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/cocoa/sugarcube-to_s/nsurl.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-to_s/uicolor.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-to_s/uievent.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-to_s/uilabel.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-to_s/uitextfield.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-to_s/uitouch.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-to_s/uiview.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-to_s/uiviewcontroller.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-color/fixnum.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-color/nsarray.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-color/nsstring.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-color/symbol.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-color/uicolor.rb",
"/Users/yoshi/src/motion/test_sugar_string/vendor/bundle/ruby/2.0.0/gems/sugarcube-3.0.3/lib/ios/sugarcube-color/uiimage.rb"]
Yup, OK, I'll push a fix. It's appending instead of prepending the files.
Oh! That's it!
The problem is fixed after I changed the order in app.files
.
Awesome! Thanks for checking. Fixed in 3.0.4 (pushed to rubygems), can you verify that?
I've verified it with 3.0.4 !! Thanks for your quick responding and fixing !
My pleasure! It's much easier than waiting, and having the issues build up :smiley:
I updated SugarCube from 2.xx to 3.0.3, and encontered RunTimeError;
Below is my sample code of app_delegate.rb. (sample project)
Any advice for my code?