Hello,
I'm having issues using motion-cocoapods. When I run rake I get the
following error:
rake aborted!
no such file to load -- motion-cocoapods
/Users/mike/rsg-client-ios/rsgames/Rakefile:7:in `require'
/Users/mike/rsg-client-ios/rsgames/Rakefile:7
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/rake_module.rb:25:in `load'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/rake_module.rb:25:in
`load_rakefile'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/application.rb:583:in
`raw_load_rakefile'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/application.rb:89:in
`load_rakefile'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/application.rb:160:in
`standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/application.rb:88:in
`load_rakefile'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/application.rb:72:in `run'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/application.rb:160:in
`standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/Library/Ruby/Gems/1.8/gems/rake-10.0.3/bin/rake:33
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
I do have motion-cocoapods and cocoapods installed; I followed the
instructions in the guide in the Dev Center. If I run gem list, I see:
activesupport (3.2.12)
addressable (2.3.3)
bundler (1.3.1)
cocoapods (0.16.4)
colored (1.2)
escape (0.0.4)
faraday (0.8.6)
faraday_middleware (0.9.0)
hashie (1.2.0)
i18n (0.6.4)
json (1.7.7)
motion-cocoapods (1.2.2)
multi_json (1.6.1)
multipart-post (1.2.0)
netrc (0.7.7)
octokit (1.23.0)
open4 (1.3.0)
ProMotion (0.4.1)
rake (10.0.3)
rubygems-update (2.0.0)
xcodeproj (0.5.1)
When I googled this issue the solution seemed to be add require
'rubygems' to the Rakefile, however this is already in my Rakefile
(which is)
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require "rubygems"
require "bundler"
Bundler.require
require 'motion-cocoapods'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'RSGames'
app.pods do
pod 'CocoaAsyncSocket'
end
end
Does anyone have any ideas on how to solve this?
Thanks,
Mike