Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9155665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:38:11+00:00 2026-06-17T12:38:11+00:00

I just got Ruby motion, and I wanted to try out Cocoapods. I installed

  • 0

I just got Ruby motion, and I wanted to try out Cocoapods. I installed it just as it asks on the website:

http://www.rubymotion.com/developer-center/articles/cocoapods/

I add

require ‘motion-cocoapods’ to my simple ‘Hello’ project. And I get this error when trying to rake it:

rake aborted!
Unable to activate cocoapods-0.16.1, because rake-10.0.3 conflicts with rake (~> 0.9.4)

I guess this has something to do with my version of rake, but I have no idea what I need to do to fix this problem. Please help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:38:12+00:00Added an answer on June 17, 2026 at 12:38 pm

    This is caused by having a version of rake newer than 0.9.x installed. When you just run rake, it loads up the newest version (10.0.3 in your case). Then, when the cocoapod gem tries to load, it tries to activate rake 0.9.x and fails (the ~> 0.9.4 means that it will accept any version starting with 0.9.).

    One solution would be to completely remove the rake gem and install the 0.9.4 version explicitly:

    gem uninstall rake
    gem install rake --version '0.9.6'
    

    However, this could become an issue if you have any other projects that require a newer version of rake. A better solution would be to use Bundler:

    gem install bundler
    

    Create a Gemfile in your project folder containing:

    source :rubygems
    gem 'rake'
    gem 'motion-cocoapods'
    

    Add the following to Rakefile, immediately under the require 'motion/project' line:

    require 'bundler'
    Bundler.require
    

    Then run bundle install from the console. This will lock this specific project on rake 0.9.6. The only catch is that you’ll probably need to prefix all of your rake commands with bundle exec.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to ruby, wanted to try out the ProcessOne's Push Platform (p1pp)
I've just got my first VPS & have set up NGinx, Ruby, Rails &
I just got pagination to work on my site, but I wanted to use
I just got out of a small project and I've tried to follow a
I am following the Ruby on Rails tutorial by Michael Hartl http://ruby.railstutorial.org/ I installed
I've got a non-RoR but ruby webapp in the works. So far, I've just
I've just started playing around in Haskell. After years of Ruby, I got used
Just started with Ruby, and got stuck up with inline edit constructs: v1=SO print
I've just installed Ruby on Rails via rvm on a mac running mountain lion.
Just got my first mac and I am trying to set up a ruby

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.