{"id":20610659,"url":"https://github.com/anjasfedo/ruby-on-rails-bootstrap","last_synced_at":"2026-04-11T13:34:40.767Z","repository":{"id":235882912,"uuid":"791408173","full_name":"Anjasfedo/ruby-on-rails-bootstrap","owner":"Anjasfedo","description":"Setup Ruby on Rails with Bootstrap \u0026 Prettier Formatter","archived":false,"fork":false,"pushed_at":"2024-04-24T18:52:03.000Z","size":2224,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T17:50:23.853Z","etag":null,"topics":["bootstrap","prettier","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Anjasfedo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-24T17:02:30.000Z","updated_at":"2024-04-25T01:59:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee46cd97-a7bc-4bd7-98fd-98f5a5f4a891","html_url":"https://github.com/Anjasfedo/ruby-on-rails-bootstrap","commit_stats":null,"previous_names":["anjasfedo/ruby-on-rails-bootstrap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Anjasfedo/ruby-on-rails-bootstrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anjasfedo%2Fruby-on-rails-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anjasfedo%2Fruby-on-rails-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anjasfedo%2Fruby-on-rails-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anjasfedo%2Fruby-on-rails-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anjasfedo","download_url":"https://codeload.github.com/Anjasfedo/ruby-on-rails-bootstrap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anjasfedo%2Fruby-on-rails-bootstrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","prettier","ruby-on-rails"],"created_at":"2024-11-16T10:17:31.514Z","updated_at":"2026-04-11T13:34:40.733Z","avatar_url":"https://github.com/Anjasfedo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"1. **Add Gems to Gemfile**: Open your `Gemfile` and add the following lines to include the required gems:\n```\ngem 'bootstrap', '~\u003e 5.1'\ngem 'jquery-rails', '~\u003e 4.4'\ngem \"sassc-rails\"\ngem 'prettier'\n```\n\n2. **Install Gems**: Run the following command in your terminal to install the gems specified in your `Gemfile`:\n```\nbundle install\n```\n\n3. **Import Bootstrap in application.scss**: Open the `app/assets/stylesheets/application.scss` file and add the following line to import Bootstrap:\n```\n@import \"bootstrap\";\n```\n\n4. **Add JavaScript Dependencies in application.js**: Open the `app/javascripts/application.js` file and add the following lines to include jQuery, Popper.js, and Bootstrap:\n```\n//= require jquery3\n//= require popper\n//= require bootstrap\n```\n\n5. **Include Stylesheet and JavaScript in application.html.erb**: In the head section of your `app/views/layouts/application.html.erb` file, add the following lines to include the stylesheet and JavaScript files:\non head tags of app/views/layouts/application.html.erb\n```\n    \u003c%= stylesheet_link_tag \"application\", \"data-turbo-track\": \"reload\" %\u003e\n    \u003c%= javascript_importmap_tags %\u003e\n```\n\n**Note:**\nFor the Prettier Formatter, make sure to install Prettier for Ruby from [https://github.com/prettier/plugin-ruby](https://github.com/prettier/plugin-ruby).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanjasfedo%2Fruby-on-rails-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanjasfedo%2Fruby-on-rails-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanjasfedo%2Fruby-on-rails-bootstrap/lists"}