LoginSignup
6
5

More than 5 years have passed since last update.

RubyMotionを1.24にしたらBubbleWrapが動かなくなった

Last updated at Posted at 2012-09-26

【9/26 対応方法1を追記しました】
tosik@githubさんありがとうございます!

bubble-wrap (1.1.3)で確認されています。

対応方法1

Gemfileに以下のように追記し、bundle installすると動くようになります。

Gemfile
gem 'bubble-wrap', '~> 1.1.3', :git => "git://github.com/Watson1978/BubbleWrap.git", :branch => "configs"

対応方法2

以下のように変更すると動くようになります。

bubble-wrap-1.1.3/lib/bubble-wrap/ext/motion_project_app.rb
-            configs.each_value &bw_config
-            config.validate
+            config.setup_blocks << bw_config

原因

RubyMotionの1.24ではconfigsをサポートしなくなったからのようです。
参考:Do not use `configs' which is used by RubyMotion internal

6
5
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5