Skip to content

Instantly share code, notes, and snippets.

@ddeveloperr
Last active February 17, 2023 10:31
Show Gist options
  • Save ddeveloperr/049986c062f96d4c92ec to your computer and use it in GitHub Desktop.
Save ddeveloperr/049986c062f96d4c92ec to your computer and use it in GitHub Desktop.
How to clone and run another user's Rails app
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
p.s If you are not using RVM yet I would strongly recommend doing so!
@beerender
Copy link

im facing error An error occurred while installing websocket-driver (0.6.5), and Bundler cannot continue.Make sure that gem install websocket-driver -v '0.6.5' --source 'https://rubygems.org/' succeeds before bundling.

@jjvillavicencio
Copy link

why RVM and not rbenv?

@ddeveloperr
Copy link
Author

@jjvillavicencio check this for your rvm vs rbenv dilemma https://gorails.com/forum/rvm-vs-rbenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment