{"id":26715709,"url":"https://github.com/fmaclen/vagrant-on-rails","last_synced_at":"2026-05-09T17:35:56.879Z","repository":{"id":85269324,"uuid":"220869575","full_name":"fmaclen/vagrant-on-rails","owner":"fmaclen","description":"A Vagrantfile + Provision script to install Rails 6 and common dependencies","archived":false,"fork":false,"pushed_at":"2021-03-13T15:13:07.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T14:50:07.795Z","etag":null,"topics":["provision-script","rails","vagrant"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fmaclen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-11T00:16:59.000Z","updated_at":"2023-03-07T14:51:33.000Z","dependencies_parsed_at":"2023-05-12T10:00:42.424Z","dependency_job_id":null,"html_url":"https://github.com/fmaclen/vagrant-on-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fmaclen/vagrant-on-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Fvagrant-on-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Fvagrant-on-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Fvagrant-on-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Fvagrant-on-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmaclen","download_url":"https://codeload.github.com/fmaclen/vagrant-on-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Fvagrant-on-rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32828709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["provision-script","rails","vagrant"],"created_at":"2025-03-27T14:35:04.789Z","updated_at":"2026-05-09T17:35:56.874Z","avatar_url":"https://github.com/fmaclen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vagrant-on-rails\nA Vagrantfile + Provision script to install Rails 6 and common dependencies.\n\n# What's Included\n- Ubuntu 20.04 (Focal)\n- NodeJS 14.16.0\n- Yarn 1.22.5\n- rbenv 1.1.2\n- Ruby 3.0.0\n- Rails 6.1.3\n- PostgreSQL 12.6\n- Redis 6.0.6\n\n# Creating Rails app\nDuring provision, a PostgreSQL user `vagrant` with `superuser` role will be created for the databases: `vagrant_test` and `vagrant_development`.\nAfter provision is finished, enter the VM with `vagrant ssh`, it should automatically put you in the `/vagrant` directory. At this point simply run `rails new . --database=postgresql`.\n\nTo reach the Rails server from your host machine simply run `rails s -b 0.0.0.0` and point your browser to `http://192.168.55.200:3000`\n\n\u003cimg width=\"1165\" alt=\"Rails 6.1.3 / Ruby 3.0.0\" src=\"https://user-images.githubusercontent.com/1434675/111034489-e6ec6900-83e3-11eb-93b4-949a2214524f.png\"\u003e\n\n# Things to consider\nI put together the provision script based on a few others I found on GitHub and [elsewhere](https://gorails.com/setup/ubuntu/18.04).\n\nSince I'm not super \"fluent\" in `bash` and `vagrant` I'm pretty sure this script can be optimized a significant amount, **if you feel like giving it a shot just do a pull request and I'll be happy to take a look at it.**\n\nNeedless to say, feel free to also remove things you don't want installed. I separated the provision script with comments so it shouldn't be hard to figure out.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmaclen%2Fvagrant-on-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmaclen%2Fvagrant-on-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmaclen%2Fvagrant-on-rails/lists"}