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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:44:15+00:00 2026-06-16T03:44:15+00:00

I trying to deploy rails app in CentOS 6.3 for 3 days, and I

  • 0

I trying to deploy rails app in CentOS 6.3 for 3 days, and I had no success until now.
I want to use rbenv, but I am getting these errors:

I created a new user ‘deployer’ and installed rbenv using it. Logout and Login again.
When I log in, I get this error:

-bash: /home/deployer/.rbenv/bin/rbenv: Permission denied

If I install rbenv using root user, It loads rbenv after install, but the error is when I try install ruby:

$ rbenv install 1.9.3-p125
Downloading yaml-0.1.4.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b
Installing yaml-0.1.4...

BUILD FAILED

Inspect or clean up the working tree at /tmp/ruby-build.20121214131627.11110
Results logged to /tmp/ruby-build.20121214131627.11110.log

Last 10 log lines:
yaml-0.1.4/win32/vs2008/run_parser.vcproj
yaml-0.1.4/win32/vs2008/yaml.vcproj
yaml-0.1.4/win32/vs2008/test_version.vcproj
yaml-0.1.4/win32/vs2008/run_emitter.vcproj
yaml-0.1.4/win32/vs2008/example_reformatter.vcproj
yaml-0.1.4/win32/vs2008/run_loader.vcproj
yaml-0.1.4/win32/vs2008/yamldll.vcproj
yaml-0.1.4/win32/config.h
/tmp/ruby-build.20121214131627.11110/yaml-0.1.4 /tmp/ruby-build.20121214131627.11110 ~
/root/.rbenv/plugins/ruby-build/bin/ruby-build: line 321: ./configure: Permission denied

EDIT

Permissions of rbenv installed by deployer:

drwxr-xr-x.  8 deployer  deployer  4096 Dec 14 13:11 .rbenv
  • 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-16T03:44:17+00:00Added an answer on June 16, 2026 at 3:44 am

    I was getting this error because folder was mounted with noexec option.

    Same solution of this thread: https://stackoverflow.com/a/13973592/740394

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

Sidebar

Related Questions

I'm trying to deploy a rails app to heroku, but keep getting the following
I've been building my first Rails app and now I'm trying to deploy it,
I'm trying to deploy a Rails app to a CentOS server running Passenger. The
I'm trying to deploy my Rails app to my webhost (DreamHost) using Capistrano but
I'm trying to deploy a simple Ruby on Rails app to dreamhost but I'm
I am trying to deploy my app to Heroku, but it keeps getting rejected
I'm trying to deploy my Rails 3.0 app. I use rvm and ruby 1.9.2
I'm trying to deploy a rails 3.2 app using capistrano and rbenv on prod
I'm getting permissions errors while trying to deploy my rails app to a friend's
I'm trying to deploy my first rails app on a mediatemple (dv) and i'm

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.