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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:26:28+00:00 2026-06-10T13:26:28+00:00

I get this error when running cap:deploy I already run apt-get update and apt-get

  • 0

I get this error when running cap:deploy

I already run apt-get update and apt-get upgrade

I already ran bundle install, added Gemfile and Gemfile.lock to the repository.

  * executing "cd /var/www/releases/20120606045148 && bundle install --gemfile /var/www/releases/20120606045148/Gemfile --path /var/www/shared/bundle --deployment --quiet --without development test"
    servers: ["11.111.11.11"]
    [11.111.11.11] executing command
 ** [out :: 11.111.11.11] Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
 ** [out :: 11.111.11.11] 
 ** [out :: 11.111.11.11] /usr/bin/ruby1.9.1 extconf.rb
 ** [out :: 11.111.11.11] Compiling V8
 ** [out :: 11.111.11.11] cp -r scons build
 ** [out :: 11.111.11.11] make: ruby: Command not found
 ** [out :: 11.111.11.11] make: ruby: Command not found
 ** [out :: 11.111.11.11] cd build/v8 && GCC_VERSION= ../scons/install/bin/scons arch=
 ** [out :: 11.111.11.11] scons: Reading SConscript files ...
 ** [out :: 11.111.11.11] Unknown arch value ''.  Possible values are (arm, ia32, x64, mips).
 ** [out :: 11.111.11.11] make: *** [build/v8/libv8.a] Error 1
 ** [out :: 11.111.11.11] *** extconf.rb failed ***
 ** [out :: 11.111.11.11] Could not create Makefile due to some reason, probably lack of
 ** [out :: 11.111.11.11] necessary libraries and/or headers.  Check the mkmf.log file for more
 ** [out :: 11.111.11.11] details.  You may need configuration options.
 ** [out :: 11.111.11.11] 
 ** [out :: 11.111.11.11] Provided configuration options:
 ** [out :: 11.111.11.11] --with-opt-dir
 ** [out :: 11.111.11.11] --without-opt-dir
 ** [out :: 11.111.11.11] --with-opt-include
 ** [out :: 11.111.11.11] --without-opt-include=${opt-dir}/include
 ** [out :: 11.111.11.11] --with-opt-lib
 ** [out :: 11.111.11.11] --without-opt-lib=${opt-dir}/lib
 ** [out :: 11.111.11.11] --with-make-prog
 ** [out :: 11.111.11.11] --without-make-prog
 ** [out :: 11.111.11.11] --srcdir=.
 ** [out :: 11.111.11.11] --curdir
 ** [out :: 11.111.11.11] --ruby=/usr/bin/ruby1.9.1
 ** [out :: 11.111.11.11] extconf.rb:10:in `<main>': Error compiling V8 (RuntimeError)
 ** [out :: 11.111.11.11] 
 ** [out :: 11.111.11.11] 
 ** [out :: 11.111.11.11] Gem files will remain installed in /var/www/shared/bundle/ruby/1.9.1/gems/therubyracer-0.8.2 for inspection.
 ** [out :: 11.111.11.11] Results logged to /var/www/shared/bundle/ruby/1.9.1/gems/therubyracer-0.8.2/ext/v8/gem_make.out
 ** [out :: 11.111.11.11] An error occured while installing therubyracer (0.8.2), and Bundler cannot continue.
 ** [out :: 11.111.11.11] Make sure that `gem install therubyracer -v '0.8.2'` succeeds before bundling.
    command finished in 73622ms
*** [deploy:update_code] rolling back
  * executing "rm -rf /var/www/releases/20120606045148; true"
    servers: ["11.111.11.11"]
    [11.111.11.11] executing command
    command finished in 7100ms
failed: "env PATH=/var/lib/gems/1.9.1/bin:$PATH sh -c 'cd /var/www/releases/20120606045148 && bundle install --gemfile /var/www/releases/20120606045148/Gemfile --path /var/www/shared/bundle --deployment --quiet --without development test'" on 11.111.11.11
  • 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-10T13:26:29+00:00Added an answer on June 10, 2026 at 1:26 pm

    I would recommend installing rvm here – as Joshua Cheek said, the problem appears to be with the ruby binary, which should be helped by rvm.

    Do apt-get install rvm, then once it is installed run rvm list known to give you a list of the available ruby versions; install the one you want with rvm install (version) then rvm use (version) (exclude brackets).

    Doing this will ensure you have a clean install of ruby, with available ruby command and a clean gemset.

    You should then be able to do apt-get install libv8 – if you are still having a problem, do an edit with the error message and we’ll go from there.

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

Sidebar

Related Questions

When I run rvm install ruby-1.9.3 , I get this error message when configuring
I get this error while running bundle exec /usr/lib/ruby/gems/1.8/gems/bundler-1.0.20/lib/bundler/cli.rb:344:in `exec': wrong number of arguments
I get this error when running on OX Lion: brew install python Error: MD5
I get this 'error' when running PEVerify on a custom generated assembly. [MD](0x8013124C): Error:
I get this error: TypeError: object.__init__() takes no parameters when running my code, I
I tried running a python script: print Hello, World! And I get this error:
I get the StackOverflow error running this particular code: litera.addTextChangedListener(new TextWatcher(){ public void afterTextChanged(Editable
I'm trying to get this running: JAXB interface But I always get the error
In running this on index.html, I get the following error: Uncaught SyntaxError: Unexpected token
I get this error when I run the code below. I have normally used

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.