Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Latest commit

 

History

History
87 lines (60 loc) · 1.72 KB

File metadata and controls

87 lines (60 loc) · 1.72 KB

Contributing

Setup

To setup this gem for development you should use the setup script.

$ bin/setup

Console

You can access an IRB with this entire gem preloaded like this

$ bin/console

Tests

You can run all tests with:

$ rake test

All unit tests:

$ rake test:unit

All integration tests:

$ rake test:integration

Release

To release a new version, update the version number in version.rb, and then run

$ bundle exec rake release

This will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Local installation

To install this gem onto your local machine, run

$ bundle exec rake install

Problems with bundling

An error occurred while installing ffi (1.15.5), and Bundler cannot continue.

In Gemfile: sassc was resolved to 2.4.0, which depends on ffi

$ gem install ffi -- --with-cflags="-fdeclspec"

puma

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: ~/.rvm/gems/ruby-3.1.0@dupa/gems/puma-5.6.2/ext/puma_http11

~/.rvm/rubies/ruby-3.1.0/bin/ruby -I ~/.rvm/rubies/ruby-3.1.0/lib/ruby/3.1.0 -r ./siteconf20220219-40641-4uxhq6.rb extconf.rb --with-cflags=-Wno-error=implicit-function-declaration

checking for BIO_read() in -lcrypto... *** extconf.rb failed ***

Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

$ gem install puma -- --with-cflags="-fdeclspec"