Q:

How to clone and run another user's Rails app

I'm attempting to do something I've never done before: clone another user's (codeforamerica) repository and run it locally on my computer with the intention of making my own changes to it.
I've managed to fork it to my own repositories, and cloned it:
git clone https://github.com/martynbiz/human_services_finder.git

...but when I do the following straight out the box:
cd human_services_finder
rails s

...it tell me:
The program 'rails' is currently not installed.  You can install it by typing:
sudo apt-get install rails

...however, if I go into one of my own apps and run rails s it runs the server OK. Is there something missing I need to run this as a Rails app? Sorry, bit of a beginner with this one. Thanks

A:

Below are the setups to run Ruby on Rails application on your system.

Make sure Ruby is installed on your system. Fire command prompt and run command:
ruby -v

Make sure Rails is installed
rails -v

If you see Ruby and Rails version then you are good to start, other wise Setup Ruby On Rails on Ubuntu
Once done, Now

Clone respected git repository 
git clone https://github.com/martynbiz/human_services_finder.git

Install all dependencies
bundle install

Create db and migrate schema
rake db:create
rake db:migrate

Now run your application
rails s

