Note: I will not maintain that gem anymore. If you want to use it anyway, it gives me pleasure.
Anyhow, there is a better solution that uses the original bower package.
Add source 'https://rails-assets.org as new source to your Gemfile. After that upgrade your assets group:
group :assets do
gem "rails-assets-alertify.js"I already converted the Bower package so there are just a few steps to go.
Run
bundle install
and adjust your application.js
//= require jquery
//= require jquery_ujs
//= require alertify
//= require_tree .Last step is to adjust application.css
/*
*= require_self
*= require alertify.js/themes/alertify.default
*= require_tree .
*/Thanks to Rails Assets for this awesome work to bring the power of bower to Rails!
Add to your Gemfile:
gem "rails-alertify"In your application.js manifest include the javascript files:
//= require alertifyIf your manifest is written in CoffeeScript:
#= require alertifyLast step is to add the core, default or bootstrap stylesheets to your application if you want to use the default ones.
/*
*= require alertify/core
*= require alertify/default
*= require alertify/bootstrap
*
*/Senior Developer @ Datenspiel GmbH (Leipzig/Germany)
Thanks to Fabien Doiron for Alertify.js
Copyright (c) 2012 Daniel Schmidt
Licensed under MIT-License.