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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:36:45+00:00 2026-06-18T11:36:45+00:00

Platform: windows 7, running on JRuby 1.6.8. C:\project> rake db:migrate rake aborted! You have

  • 0

Platform: windows 7, running on JRuby 1.6.8.

C:\project> rake db:migrate
rake aborted!
You have already activated rake 10.0.3, but your Gemfile requires rake 0.9.2.2.
Using bundle exec may solve this.

OK. I have added

gem "rake", "= 0.9.2.2"

to Gemfile and ran:

C:\project> bundle exec rake db:migrate
bundler: command not found: rake
Install missing gem executables with `bundle install`

<polite>WTF?</polite>

I have also done

bundle install --deployment

to no avail.

I have different versions of rake installed:

C:\project>gem list

LOCAL GEMS
...
rake (10.0.3, 0.9.2.2, 0.8.7)

How to resolve this? I need rake db:migrate working with my specific (inherited) RoR project with gems that tend to be slightly out of date, but they are all specified in Gemfile.

  • 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-18T11:36:47+00:00Added an answer on June 18, 2026 at 11:36 am
    1. Don’t run bundle --deployment until you clearly understand what it is used for. (it’s confusing, we usually use bundle install --path vendor/bundle)

    2. The first error means, that you should execute your command with bundle exec, like bundle exec rake db:migrate

    3. after the version change in the Gemfile you should have just run bundle install without --deployment.

    At this point I’d recommend to delete the .bundle folder in your project home, this reverses the --deployment call. Afterwards call bundle install and try it again. If it doesn’t work please let us know.

    Don’t get frustrated, bundle is pretty cool as soon as you get the hang of it.

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

Sidebar

Related Questions

Platform : Windows running Oracle 10g I have to modify some old dll library
Utility: NMake Platform : Windows 7 I have the following Makefile FILE = $(shell)
I'm just starting out on a cross-platform (Windows, Linux, OS X) C++ project, and
I have Eclipse and Java SE and am running Windows XP and am trying
I'm running the latest version of Yesod and the Haskell Platform on Windows 8.
I am running windows 7 x64 enterprise. I have Office 2010 x64 installed. I
I am currently developing a Java cross-platform (windows and mac os x) application running
I have many C/C++ old native .exe and .dll programs running on Windows servers
I am running into this problem. my program invokes Runtime.getRuntime().exec(cmd); on a windows platform.
I'm trying to do GPG encryption on a Windows platform, in PHP, running XAMPP.

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.