There are a couple of questions here.
cannot convert pathname to string
Update: as of 5/7/12 you can just sudo motion update
and this will be fixed
This error is due to the fact that you are using Ruby 1.9. Although I do not see an explicit indication in the documentation in it, the fact that examples of setting this parameter relate to the use of sudo
in gem install
commands means that it suggested that you use the OS X built-in ruby โโ(1.8. 7). If you switch the project to a system ruby โโ(add the .rbenv-version
file with system
). Alternatively, if you want to stick with 1.9, you can change line 22 /Library/RubyMotion/lib/motion/project/vendor.rb
as follows:
App.info 'Build', @path.to_s
As soon as you do this, you will have the opportunity:
ERROR! Building vendor project `./vendor/JSONKit' failed to create at least one `.a' library.`
You will need to edit line 77 of the same file:
objs = Dir.glob('**/*.o') # Removed the leading "*/"
Then rake
should finally work correctly.
The motion-cocoapods
repository noted a problem with these problems: https://github.com/HipByte/motion-cocoapods/issues/1
In addition, I just filed an official support ticket using motion support
. (Remember, you paid money for this brand new product that includes support, use it!)
Nimbus
The problem here is that you need a top-level coco image. Since it has โroutinesโ, you need to require them directly, so perhaps the dependency 'Nimbus/Core'
. You can see the full list of them here (see s.subspec
)