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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:02:22+00:00 2026-05-22T15:02:22+00:00

Trying to squeeze in a fairly new gem, and its causing me to stumble

  • 0

Trying to squeeze in a fairly new gem, and its causing me to stumble around updating quite a few others including Rails as a whole from 2.3.5 to 2.3.6.

Bundler installs fine.

But when I boot up script/console, I get this :

Loading development environment (Rails 2.3.3)
/Users/macuser/Sites/hq_channel/config/../vendor/rails/railties/lib/initializer.rb:271:in `require_frameworks':RuntimeError: can't activate rack (~> 1.0.0, runtime), already activated rack-1.1.0. Make sure all dependencies are added to Gemfile.
/Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:117:in `gem': can't activate rack (~> 1.0.0, runtime), already activated rack-1.1.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
    from /Users/macuser/Sites/hq_channel/vendor/rails/actionpack/lib/action_controller.rb:34
  1. It’s strange that it says Rails 2.3.3 .. not sure why..

  2. I can’t figure out where/how it’s loading or trying to load Rack 1.0.0 now that I’ve updated it to Rack 1.1.0.

Any ideas?

  • 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-22T15:02:23+00:00Added an answer on May 22, 2026 at 3:02 pm

    If you’re using Bundler and running into dependency issues using a local binary, try prefixing that script with bundle exec:

    bundle exec script/console
    

    Under the hood, this does the following:

    1. Starts a new ruby process that calls Bundler.setup (thereby loading all your bundler deps)
    2. Executes the command you passed bundler exec in the context of your Bundler dependencies

    This tends to solve most problems. If you’re still having issues after that, your best bet is to verify your shell’s environment variables are correct and debug from there.

    PS: If your issue is what I think it is, the problem here is that script/console is pulling your system gems instead of the ones provided by bundler, which is why you’re seeing the incorrect version of Rack and getting load errors for your other gems.

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

Sidebar

Related Questions

Trying to work around a few corner cases for when push notifications are denied
Trying to add simplecov to my Rails app (Jruby 1.6.4, Ruby 1.9.2, Windows). I
I'm trying to squeeze every bit of performance in my Delphi application and now
Using the asp.net file upload control is very easy, i'm trying to squeeze it
i'm trying to use the terminal from python VTE binding (python-vte from debian squeeze)
I am trying to squeeze the most performance out of a Linux block driver
My brain is fried trying to squeeze some work in before the holiday. I'm
Background, I'm running a Zend Framework application. Trying to squeeze the most performance out
I'm trying to simply move the actionBar down 75 pixels so I can squeeze
I'm trying to remotely guide a few people in my office toward Python, and

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.