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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:31:57+00:00 2026-05-27T08:31:57+00:00

I have ruby and gems installed, but when I try to run the update

  • 0

I have ruby and gems installed, but when I try to run the update suggested by the ruby on rails download page (http://rubyonrails.org/download) I get an error. Here’s what I’m executing from the root of my user directory:

gem update rails

and the terminal returns:

Updating installed gems
Updating rails
ERROR:  While executing gem ... (Errno::EPERM)
    Operation not permitted - /Library/Ruby/Gems/1.8/gems/json-1.6.3/.gitignore
  • 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-27T08:31:57+00:00Added an answer on May 27, 2026 at 8:31 am

    It’s a permission error.

    To make this work do:

    sudo gem update rails
    

    BUT

    I would highly suggest you use rvm.
    OSX comes with an older version of ruby and with RVM you can install
    1.9.3 without hosing the built in version of ruby.

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

Sidebar

Related Questions

I have ruby on rails installed on my ubuntu 8.10 desktop. Script/generate came up
I have a Ruby on Rails Website that makes HTTP calls to an external
I have everything installed. But when I run rake db:create, I get the following:
Have 2 ruby installations 1.8 and 1.9.1, have 2 gems. From gem1.9.1 install rails
I have merb setup but when I try to run it I get issue
I install plugin open_id_authentication and have this error: /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require': no such file to
I have an awesome trouble with Gem. After executing this command: rm -f /usr/local/lib/ruby/gems/1.9.1/cache/*
I have installed rvm (mutiuser option) and ruby using rvm install on my test
I need to get Ruby on Rails (3.0.9) installed onto a production server that
I've been trying to use Mongoid with Rails on Ubuntu. I have installed mongoDB

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.