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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:27:30+00:00 2026-05-27T07:27:30+00:00

Like most Rails developers, I have lots of Rails apps on my system–running different

  • 0

Like most Rails developers, I have lots of Rails apps on my system–running different versions of Rails. As a result, I’ve now got multiple versions of Rake (0.8.7 and 0.9.2).

Each of the apps is deployed on its own VPS, running just one version of Rails and one version of Rake.

Additionally, there are other developers on these projects that have their own setups, who may or may not have the same (or both) versions of Rake.

What is the best practice for managing this?

Should I specify a version of Rake in my Gemfile (for Rails 3 apps, using Bundler)? If I do so, then I always need to bundle exec rake, which is fine–but I wonder if that’s now the standard. Does everyone have to do this? Is there a way to avoid it?

Also, as noted elsewhere, I have to update my Rakefile with

require 'rake/dsl_definition'
include Rake::DSL

if I want to use Rake 0.9.2. Even then, I get these warnings:

/Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/file_utils.rb:10: warning: already initialized constant RUBY
/Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/file_utils.rb:84: warning: already initialized constant LN_SUPPORTED

Should I just specify 0.8.7 in my Gemfile? It seems like I should be able to use 0.9.2.

I (a) need the app on the server to work without bundle exec, so simple things like rake db:migrate work, and (b) need something that will play nicely with other developers.

How are folks handling this? What seems to work well? What doesn’t?

Any feedback would be greatly appreciated!

  • 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-27T07:27:31+00:00Added an answer on May 27, 2026 at 7:27 am

    Using bundles and calling the right version with bundle exec rake is pretty much the way to go. That said, typing all of that gets old fast.

    What you can do is bundle install --binstubs which will include executable stubs for the gems you use. Then you can simply call (e.g.) bin/rake cucumber:ok

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

Sidebar

Related Questions

Like most people, I have learned Rails before Ruby and now I would like
I'd like to add several different user types to my rails application. I have
Like most web developers these days, I'm thoroughly enjoying the benefits of solid MVC
I have a particular web application that like most others, has to account for
I have searched stackoverflow for a question like mine but most of the questions
I have a rails application where I would like to use both memcached and
I've been using for Rails apps I've been maintaining the hpricot_matchers and most recently
I have a table that I'd like to keep pruned to the 500 most
In my Rails testing environment, I have a user_id that looks like 1234-567abc89 .
I have a rails app that uses heavily js (over 1MB total). I'd like

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.