This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ rvm get latest | |
| $ rvm pkg install readline | |
| $ rvm install 1.9.3 --with-readline-dir=$rvm_path/usr | |
| P.S. configuring with homebrew readline does not seem to work, so it's rvm pkg all the way. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # You must require this file in application.rb, above the Application | |
| # definition, for this to work. For example: | |
| # | |
| # # Syslog-like Rails logs | |
| # if Rails.env.production? | |
| # require File.expand_path('../../lib/better_logger', __FILE__) | |
| # end | |
| # | |
| # module MyApp | |
| # class Application < Rails::Application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # config/initializers/will_paginate.rb | |
| module WillPaginate | |
| module ActionView | |
| def will_paginate(collection = nil, options = {}) | |
| options[:renderer] ||= BootstrapLinkRenderer | |
| super.try :html_safe | |
| end | |
| class BootstrapLinkRenderer < LinkRenderer |