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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:08:02+00:00 2026-05-31T05:08:02+00:00

my app works fine in mongrel(locally), but suddenly apache with passenger is giving me

  • 0

my app works fine in mongrel(locally), but suddenly apache with passenger is giving me trouble. It was working fine, but now i get this error which i haven’t managed to resolve yet :

Could not find multi_json-1.1.0 in any of the sources (Bundler::GemNotFound)

My Gemfile :

source 'http://rubygems.org'

gem 'rails'
gem 'mysql2'
gem 'tzinfo'

gem 'jquery-rails'
gem 'kaminari'
gem 'cancan'

# active-admin dependencies
gem 'activeadmin'
gem 'sass-rails'
gem "meta_search",    '>= 1.1.0.pre'

gem 'sorcery'

group :assets do
    gem "coffee-script"
    gem "twitter-bootstrap-rails"
end

Any ideas ?

EDIT :

hmm, i noticed in my gems path that the only gem there is “multi_json-1.0.4”, which is different than the multi_json-1.1.0 it is asking for. However, when running ‘bundle’, i see ‘Using multi_json (1.1.0)’. But i can’t find the gem anywhere(and neither does passenger as it seems).

  • 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-31T05:08:02+00:00Added an answer on May 31, 2026 at 5:08 am

    Encountered and resolved the same issue after upgrading Ruby from 1.9.2p29- to 1.9.3. I’m using NGINX, not Apache, but here’s a combined solution:

    1. NGINX only (Apache loads passenger dynamically): rebuild NGINX with
      Passenger after installing Ruby 1.9.3.
    2. In the web server’s config file, update Passenger’s root and ruby assignments with the correct ruby version.

    NGINX.conf – in the http {} block:

    http {
       ...
       passenger_root /Users/myusername/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11;
       passenger_ruby /Users/myusername/.rvm/wrappers/ruby-1.9.3-p0/ruby;
       ...
    } 
    

    Or, in Apache’s httpd.conf:

    PassengerRoot /Users/myusername/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11
    PassengerRuby /Users/myusername/.rvm/wrappers/ruby-1.9.3-p0/ruby
    

    Also, rebundle the app (bundle update).

    Hope this works for you.

    Re some of the other questions posted in reply.

    • gem file exists. Bundle show:
      ~/.rvm/gems/ruby-1.9.3-p0/gems/multi_json-1.1.0
    • multi_json is a dependency of Passenger, not the app, so no
      effect/not required in gemfile.
    • gemfile.lock irrelevant for above reason; bundle update has no effect
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my Rails app works fine locally. But once I put it on a server
My app works fine in iphone 4 but my iphone 5 showing this below
My Rails app works fine locally, but not on Heroku.. I can call heroku
My app works fine in the simulator but when I run it on my
can someone tell me why my app works fine on samsumg galaxy nexus but
My app works perfectly fine in the simulator but crashes on the Device. How
Have an ASP.net web app which works fine for a few days, but then
This app works just fine on my local computer. After pushing it to Heroku,
I have a Rails 3rc app on Ruby 1.9.2 that works fine, but Bundler
My JRuby on rails app works fine on Tomcat 6.0, But when I deploy

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.