Skip to content

A simple Gem that includes everything you need to start with Rails programming! :)

License

Notifications You must be signed in to change notification settings

leonvogt/failuregem

Repository files navigation

FAILURE-GEM

This is the Repository for the Failuregem.

Failuregem aims to be a timesafer for railsapp. It includes couple of usefull Gems to start rightaway with Rails programming. Failregem Includes following GEMs:

  • Bootstrap
  • Jquery-rails
  • Simple-Form
  • Paperclip
  • Active_link_to

INFO: This GEM use every App on Failure.bl.ch , if you programm a new Rails App for Failure please use this GEM.

Installation

Add it to your Gemfile:

gem 'failuregem'

Run the following command to install it:

bundle install

Finally done!

Bootstrap

Failuregem has the newest Bootstrap version included but you have still import it to your application.scss To do that you have to rewrite application.css to application.scss

$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
// Import Bootstrap in application.scss
@import "bootstrap";

Add Bootstrap dependencies and Bootstrap to your application.js:

//= require jquery3
//= require popper
//= require bootstrap-sprockets

While bootstrap-sprockets provides individual Bootstrap components for ease of debugging, you may alternatively require the concatenated bootstrap for faster compilation:

//= require jquery3
//= require popper
//= require bootstrap

Simple Form

Simple Form can be easily integrated to the Bootstrap. To do that you have to use the bootstrap option in the install generator, like this:

rails generate simple_form:install --bootstrap

Now you good to go!

About

A simple Gem that includes everything you need to start with Rails programming! :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published