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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:15:15+00:00 2026-05-28T02:15:15+00:00

I am trying to follow the instructions here: http://honza.ca/2011/06/install-ruby-gems-into-virtualenv However, I cannot find the

  • 0

I am trying to follow the instructions here: http://honza.ca/2011/06/install-ruby-gems-into-virtualenv

However, I cannot find the postactivate script on my system. This link: http://bruno.im/2011/sep/29/streamline-your-django-workflow/ suggests that there should be a file called ~/.virtualenvs/postactivate, but it is not on my system.

I have installed virtualenv and have set up a django app with the following structure:

django-project/
    .git/
    .gitignore
    blossom/              # top of my django project
        __init__.py
        blossom-sqlite3-db
        manage.py
        onora/            # my actual django app
            __init__.py
            models.py
            tests.py
            views.py
        settings.py
        urls.py
    requirements.txt
    virtualenvironment/
        .Python@ -> /System/Library/Framework... 2.7
        bin/
        include/
        lib/

I would now like to add gunicorn to my requirements.txt file, install it with pip, and then create a procfile with the following line (as per heroku instructions at http://devcenter.heroku.com/articles/django#using_a_different_wsgi_server):

web: python blossom/manage.py run_gunicorn -b "0.0.0.0:$PORT" -w 3

My understanding is that in order to use a procfile on my local system, I will have to install a ruby gem called foreman.

I have a couple questions. First, do I need to install foreman in this virtual environment at all? I need the virtual environment so that I can keep everything neatly contained for deploying to heroku. The foreman gem is only for running things locally, if I understand what’s going on correctly. So perhaps I don’t need foreman installed in the virtual environment. Second, if it would be better for me to install foreman in the virtual environment, how can I find the postactivate file that I am supposed to have?

Thanks.

  • 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-28T02:15:16+00:00Added an answer on May 28, 2026 at 2:15 am

    Postactivate is part of virtualenvwrapper, a tool that builds on top of virtualenv.

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

Sidebar

Related Questions

I'm trying to follow the instructions here ( http://docs.pylonsproject.org/projects/pyramid_beaker/en/latest/ ) so I can setup
I'm trying to follow the instructions here: http://www.php.net/manual/en/features.commandline.usage.php I created a file named vardump
I'm trying to follow the overlay instructions provided here: https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/LocationAwarenessPG/AnnotatingMaps/AnnotatingMaps.html#//apple_ref/doc/uid/TP40009497-CH6-SW15+ but the overlay isn't
I'm trying to follow the (brilliant) instructions from here , but I have an
I was trying to follow the instructions here but they seem to quickly be
I am trying to follow the instructions posted here but am getting stuck at
I am trying to follow the instructions here: https://devcenter.heroku.com/articles/clojure-web-application Everything is going okay until
I am trying to follow instructions on this site: http://trac.erichseifert.de/warp/wiki/DeveloperGuide I have got all
I'm trying to follow the instructions at https://developers.google.com/accounts/docs/OAuth2UserAgent in order to log in with
I'm trying to follow the instructions laid out in this post , but 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.