twitter-text-js-rails is a simple wrapper for the twitter-text-js library for use in Rails 3.1 and later.
Add the following to your gemfile:
gem 'twitter-text-js-rails'
Add the following directive to your Javascript manifest file (application.js):
//= require twitter-text
We will attempt to mirror the versioning of twitter-text-js to the best of our ability. The major, minor, and patch version numbers mirror the wrapped twitter-text-js version number
This gem blatantly copies from the angularjs-rails gem.