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 6623423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:31:52+00:00 2026-05-25T21:31:52+00:00

I Just moved to site 5 after creating my application offline. I am having

  • 0

I Just moved to site 5 after creating my application offline. I am having problems with rake. When i try to run cd ~/MYAPP/; rake db:migrate –trace RAILS_ENV=’production’

I get the following error

You have already activated rake 0.8.7, but your Gemfile requires rake 0.9.2. Consider using bundle exec.

When i try to unistall rake 0.8.7 I get the following warning.

addressable-2.2.6 depends on [rake (>= 0.7.3)]
    execjs-1.2.6 depends on [rake (>= 0)]
    execjs-1.2.4 depends on [rake (>= 0)]
    friendly_id-3.3.0.1 depends on [rake (~> 0.9.2)]
    launchy-2.0.5 depends on [rake (~> 0.9.2)]
    multi_json-1.0.3 depends on [rake (~> 0.9)]
    orm_adapter-0.0.5 depends on [rake (>= 0.8.7)]
    rack-1.3.2 depends on [rake (>= 0)]
    rack-1.2.3 depends on [rake (>= 0)]
    rack-mount-0.8.3 depends on [rake (>= 0)]
    railties-3.1.0 depends on [rake (>= 0.8.7)]
    railties-3.0.9 depends on [rake (>= 0.8.7)]
    sprockets-2.0.0 depends on [rake (>= 0)]
    therubyracer-0.9.4 depends on [rake (~> 0.9.1)]
    thor-0.14.6 depends on [rake (>= 0.8)]
    treetop-1.4.10 depends on [rake (>= 0)]

I have seen a lot of articles about uninstalling one. When i remove rake 0.9.2 i get an error

no such file to load — rake/dsl_definition

When already have the following in my rake file.

require 'rake/dsl_definition'
require 'rake'

Has anyone solved this problem, I have tried all too

You have already activated X, but your Gemfile requires Y

  • 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-05-25T21:31:53+00:00Added an answer on May 25, 2026 at 9:31 pm

    Try to run this command:

    bundle exec rake db:migrate --trace RAILS_ENV=production
    

    In this way you should launch your command with the pack of gem bundled with your app.

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

Sidebar

Related Questions

I just moved my site to a new web host, and after changing the
I have just moved a site from a dedicated server to a GoDaddy shared
I have just moved the dev site over to my linux server for production
I've just moved a Joomla 1.7 site to a new server. Administration back-end works
I have the following error with my ASP.NET web site. I have just moved
I just moved my site to an actual apache server (was developing locally before)
Our site just moved from .NET 1.1 to .NET 3.5, and in the process
I'm working on a site that was recently moved. After the move all the
I have just moved a site from a Windows 2003, IIS6 SQL 2005 server
I just moved another site to the server but URL Rewrite rules didn't work.

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.