Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beer_rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beer_rails

  • 0.1.8
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Beer Rails

Add Beer CSS Framework to your Rails 7+ application.

Compatibility

This gem was tested for Ruby 3+, Rails 7+ with Sprockets V4 for CSS and importmaps for JS. Other configurations might work but was not tested.

Installation

Add this line to your application's Gemfile:

gem "beer_rails"

And then execute:

$ bundle install

Or install it yourself as:

$ gem install beer_rails

Go to your app/assets/stylesheets/application.css and add the require line:

*= require beer_rails/beer.min

Now go to your config/importmap.rb and add the pin line:

pin "beer_rails", to: 'beer_rails/beer.min.js', preload: true

Finally require the JS file in your app/javascript/application.js:

import "beer_rails"

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 03 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc