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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:24:34+00:00 2026-06-02T01:24:34+00:00

Having a hard time getting my local setup properly. Trying to run foreman and

  • 0

Having a hard time getting my local setup properly. Trying to run foreman and getting an issue:

 web: bundle exec thin -R config.ru start -p $PORT -e ${RACK_ENV:-development}
 RACK_ENV:"FACEBOOK_APP_ID=275479742529226"
 RACK_ENV:"FACEBOOK_SECRET=xxx"

running “foreman start”

15:21:21 RACK_ENV.1  | process terminated
15:21:21 web.1       | started with pid 23406
15:21:21 system      | sending SIGTERM to all processes
15:21:21 RACK_ENV.1  | started with pid 23407
15:21:21 system      | sending SIGTERM to pid 23406
15:21:21 RACK_ENV.1  | started with pid 23408
 15:21:21 RACK_ENV.1  | /Users/mc/.rvm/gems/ruby-  1.9.2-p290/gems/foreman-          
0.41.0/bin/foreman-runner: line 36: exec: "FACEBOOK_APP_ID=275479742529226": not found

apparently I’m setting my fb keys completely incorrect for the env.. if anyone could help out. I’ve tried setting up a .env file in the root as well, which contain

FACEBOOK_APP_ID=964173273189
FACEBOOK_SECRET=xxx

Removing everything from the procfile (which I believe is incorrect anyways) and running foreman, shouldn’t it pickup the .env file in the root by default? which isn’t proving any luck.

  5:44:20 web.1     | started with pid 23705
  15:44:24 web.1     | missing env vars: please set FACEBOOK_APP_ID and FACEBOOK_SECRET         
  with your app credentials
  15:44:24 web.1     | process terminated
  15:44:24 system    | sending SIGTERM to all processes

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-06-02T01:24:35+00:00Added an answer on June 2, 2026 at 1:24 am

    I don’t think the issue is that foreman isn’t finding .env, it’s that the syntax of your Procfile is incorrect. Every line in the Procfile after the : should executable on the command line.

    Create your Procfile with the following contents:

    web: bundle exec thin -R config.ru start -p $PORT -e $RACK_ENV
    

    And set your .env file to:

    RACK_ENV=development
    FACEBOOK_APP_ID=1234
    FACEBOOK_SECRET=xyz
    

    Note the RACK_ENV var needs to be explicitly set whereas PORT does not since Foreman automatically sets it.

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

Sidebar

Related Questions

I'm having a hard time getting Sinatra running on my local setup, Ubuntu Karmic
I am having a hard time getting the rewrite rule setup correctly for my
I'm trying to learn some basic regular expression and having a hard time getting
I'm having a hard time getting my head around a query im trying to
i'm having a hard time getting the right row from my table. I'm trying
So, I am having a hard time getting this to work. I am trying
I'm having a hard time getting a backend to run on the GAE servers.
So I am having a hard time getting $.mobile.changePage to function properly. I call
I am having hard time getting hasErrors to work with indexed properties. For example
I'm having a hard time getting my head around this, and Google just isn't

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.