Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can someone help me understand what is the root of my application?

I would like to use vim and create a one line procfile in the root of my application.

Then I can test the procfile using a gem called foreman with the following command in my terminal: foreman start

I have tried sudo vim /procfile and created the file and saved it in what I thought to be the root. Then I typed: foreman start and the response is that Procfile does not exist.

Any help would be most appreciated.

share|improve this question
Are you creating a Rails app? If so the "root" of your application is the folder you created with the 'rails new' command. So, if you save all your rails projects in your home directory in a folder called rails_apps for example, it's ~/rails_apps. If you create a new rails app there called newapp, your application root directory is ~/rails_apps/newapp. – Jayson Rowe Nov 13 '11 at 0:21
Thanks @JaysonRowe that is most helpful .... I will try and get the gem foreman to test this out. – railguage48 Nov 13 '11 at 16:14
It worked ... and I also had to change the command 'foreman start' to "foreman start -f" in the root. .... thanks. – railguage48 Nov 13 '11 at 19:40
My Pleasure, Glad to help! – Jayson Rowe Nov 14 '11 at 1:41
up vote 1 down vote accepted

In relation to filesystems or drives, root is usually the topmost directory on the drive, or / - the root file system. Your applications should not have roots. ;)

PS: Wikipedia has a better explanation:

share|improve this answer
Thanks mikewhatever .... that explains why I am getting nowhere with this line of attack ... I will look more closely at other strategies. – railguage48 Nov 12 '11 at 20:12
Glad I could help. :) – mikewhatever Nov 13 '11 at 0:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.