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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:22:40+00:00 2026-06-03T02:22:40+00:00

I want to bring up a staging environment on a server. I am currenly

  • 0

I want to bring up a staging environment on a server. I am currenly using capistrano to deploy.

I made the changes for the ext/multistage extension but am getting the following error:

# Add RVM's lib directory to the load path.
  * executing "cd /data/sites/staging.domain.com/apps/app/releases/20120501225426 && rake RAILS_ENV=production  db:migrate"
    servers: ["173.111.158.135"]
    [173.111.158.135] executing command
*** [err :: 173.111.158.135] rake aborted!
*** [err :: 173.111.158.135] Could not find rake-0.9.2.2 in any of the sources
*** [err :: 173.111.158.135] 
*** [err :: 173.111.158.135] (See full trace by running task with --trace)
*** [err :: 173.111.158.135] 
    command finished in 1332ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell '1.9.2' -c 'cd /data/sites/staging.domain.com/apps/app/releases/20120501225426 && rake RAILS_ENV=production  db:migrate'" on 173.111.158.135

In my gemfile I have:

gem 'rake', '0.9.2.2'

on my local machine, I get:

Tue May 01$ rake -V
rake, version 0.9.2.2
Tue May 01$

on server, I have:

#rake -V
rake, version 0.9.2

#rake
Could not find rake-0.9.2.2 in any of the sources
Run `bundle install` to install missing gems.

If I run the following:

# which ruby
/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby
# which rake
/usr/local/rvm/gems/ruby-1.9.2-p290/bin/rake
# /usr/local/rvm/gems/ruby-1.9.2-p290/bin/rake -V
rake, version 0.9.2

The cap error seems a little cryptic. Can anyone help me figure this out? Why would my other cap script be working if I have 0.9.2.2 specified and it only has 9.2? Is there a way that I need to force capistrano to install rake 0.9.2.2 that I am not currently doing and how would I do this?

thx

  • 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-03T02:22:43+00:00Added an answer on June 3, 2026 at 2:22 am

    That error comes up usually when you forget to bundle exec rails something for instance. Does capistrano ask/want a bundle command to bundle install these gems maybe?

    EDIT:
    Yeah I bet your project isn’t expecting this: rake RAILS_ENV=production db:migrate but maybe bundle exec rake RAILS_ENV=production db:migrate.

    I’m unsure how you setup your cap however.

    This is a rails 3 project yeah?

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

Sidebar

Related Questions

I have a staging server hosted on heroku, I just want to bring it
How can I deploy my Ruby-on-Rails app to a Staging environment on EngineYard and
I want to bring the cursor to a textbox when i clicked a button.
I want to bring a .dll dependency into my Qt project. So I added
I have a couple of buttons where I want to bring up an html
i.e. I want to bring this in my code: static BOOL MyConstantBool = YES;
I want to create a PDF that will bring up a typical OK/Cancel alert
How can I bring my RubyCocoa application to the front? Basically I want to
how do i bring the tr value into .click event? i want to be
I want to start using Bing for a project which will include working out

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.