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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:04:36+00:00 2026-06-17T20:04:36+00:00

I have a Procfile setup that is running a number of processes successfully: #

  • 0

I have a Procfile setup that is running a number of processes successfully:

# /Procfile
redis: bundle exec redis-server
sidekiq: bundle exec sidekiq -v -C ./config.yml
forward: forward 4567 mock-api

I need to add one more process – a Sinatra app that lives in a different directory on my machine. If I cd to the directory, I can start it from the Terminal with:

$ rackup -p 4567

And I can start it from a different directory using the Terminal with:

$ sh -c 'cd /Path/to/project/ && exec rackup -p 4567'

But how should I do this using foreman. I have tried adding the following, but it fails silently:

mock-api: sh -c 'cd /Path/to/project/ && exec rackup -p 4567'

Is this even possible? And if so, how?

  • 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-17T20:04:38+00:00Added an answer on June 17, 2026 at 8:04 pm

    Of all the stupid things …

    It was failing because of the hyphen in the process name.

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

Sidebar

Related Questions

I have a Procfile like so: web: bundle exec rails server -p $PORT em:
Greetings - I have a SharePoint 2010 server running with the User Profile service
I am running into a weird issue for my Company. I have setup a
So we have an enterpise provisioning profile that was setup by a consultant and
I have a MacBook Air setup with two profiles that I want to hook
I have the following admin setup so that I can add/edit a user and
Hi I just followed the thoughtbot laptop setup for my Mac Mini Server running
I have some access applications that connect to a SQL Server database. The applications
I have a remote server that hosts my subversion repository on a non-standard ssh
I have a filter setup that runs a function which checks if the user

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.