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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:21:11+00:00 2026-06-04T22:21:11+00:00

I have a Ruby on Rails project, using Python + Scrapy to scrape the

  • 0

I have a Ruby on Rails project, using Python + Scrapy to scrape the web, and I would like to distribute and deploy the Rails project with all Python executables and libraries installed automatically.

The deployment environment ships by default a Python version lower than 2.6, and I would like users not to depend on OS and installed Python executable.

So, basically I want to achieve a Python virtualenv inside my Rails project.

Any ideas on how do that?

I use Capistrano for deploying my Rails project.

  • 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-04T22:21:13+00:00Added an answer on June 4, 2026 at 10:21 pm

    Are all your (DTAP) environments using the same operating system and processor architecture?

    If not, I wouldn’t recommend shipping the Python interpreter with your project. Why don’t you compile a more recent version of Python on your environments and install it in some non-standard path, like /opt/python27/ (or similiar).

    Then, just create a virtualenv on all environments using that interpreter.

    Next, you deploy your project from your virtualenv (without the bin, include, etc.) to the virtualenv of the target environment.

    I’ve never used Capistrano (Python dev myself), but I’m assuming it can just copy over directories from one environment (or VCS) to the other.

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

Sidebar

Related Questions

This is not a ruby/rails project deploy. I have the following situation and I
Hello Ruby/Rails/Merb developers! Im currently working on a web project that will have a
I have a project in ruby on rails 3.1 like flickr, tumblr, pinterest...etc with
I am using capistrano to deploy my Ruby on Rails project. I am on
I'm using Ruby on Rails to develop a web application. I have a wiki
I am considering ditching Ruby on Rails for my web-development pet-project and using a
Ive recently started using Ruby on Rails for a project of mine and have
I am building a ruby on rails project. it is a portal. I have
I do have experience with Ruby on Rails, and am programming a project in
I have an existing project written in Ruby on Rails. It is sort of

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.