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

  • Home
  • SEARCH
  • 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 7852633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:28:14+00:00 2026-06-02T19:28:14+00:00

I have created a rvm 1.8.7 for running older rails projects. When I run

  • 0

I have created a rvm 1.8.7 for running older rails projects.

When I run rake, there is a warning:

WARNING: ‘require ‘rake/rdoctask” is deprecated. Please use ‘require
‘rdoc/task’ (in RDoc 2.4.2+)’ instead.

It’s due to a newer version of rake is installed:

rake (0.9.2.2, 0.8.7)

by rvm in the @global gemset

$ gem list -d rake

*** LOCAL GEMS ***

rake (0.9.2.2, 0.8.7)
Author: Jim Weirich
Rubyforge: http://rubyforge.org/projects/rake
Homepage: http://rake.rubyforge.org
Installed at (0.9.2.2): /Users/horace/.rvm/gems/ruby-1.8.7-p358@global
             (0.8.7): /Users/horace/.rvm/gems/ruby-1.8.7-p358

Ruby based make-like utility.

If I try to delete rake 0.9.2.2 in the @global gemset, there is a warning:

You have requested to uninstall the gem:
rake-0.9.2.2
rvm-1.11.3.3 depends on [rake (>= 0)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn] 

So, how can I use rake 0.8.7 as default in my rvm 1.8.7?

  • 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-02T19:28:16+00:00Added an answer on June 2, 2026 at 7:28 pm

    The gem wrappers for binaries let you specify which version of a particular program you want to run. So you can go

    rake _0.8.7_ [stuff]
    

    Or, if you like you could modify the wrapper to use that version by default (but be careful about gems and rvm’s that need the newer rake). Change the line

    version = ">= 0"
    

    to

    version = "= 0.8.7"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a JSP / servlets application running in Tomcat 7. It runs
When I try to run rake test on my newly generated rails application I
I have a problem running a Ruby on Rails application using Passenger. My application
I have a standard Rails3 environment, RVM 1.2.9, Rails 3.0.5, Ruby 1.9.2p180, MySQL2 Gem
I have created a new rails app (3.2.8) using Devise. All is setup properly,
I have just downloaded rvm to manage my ruby versioning. I have created a
I have a rails 2.3.8 app. I just installed RVM, and apparently things are
I'm running Ubuntu 11.10 and have installed rvm using the standard instructions listed here
I'm running Rails 3.2.1 & Ruby 1.9.2-p290 within an RVM environment Within my dev
I have created a QWidget with a bunch of QToolButtons in it and I

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.