In order to run a custom script on startup on Linux/Ubuntu system, you can
follow these steps:
Create custom file e.g. startup_script in your home folder:
vim startup_script
Then edit script and enter following:
cd /home/SOME_USER/projects/YOUR_AWESOME_FOLDER/;
bundle exec rails s