Abby
Abby

Reputation: 217

Ruby on Rails path to public folder

I have a site that was developed in ROR by a friend. He put it on a linux server. I have root access and I am trying to figure out the path to the public public folder. Is there any standard path for ROR?

Upvotes: 1

Views: 1327

Answers (1)

Aditya Sanghi
Aditya Sanghi

Reputation: 13433

If you just SSHed into the server, you'll have to hunt for it. There's no ONE standard location where rails apps are installed. We follow the convention of installing our apps in /u/.

I suggest you do "ps -ef | grep " to see if that gives you some hint about running processes reading files from a certain location.

You can try runnning "find / -name 'application.rb'" to look for a Railsy app folder.

Upvotes: 2

Related Questions