metaskills/less-rails — Issue #30: undefined method 'ends_with?'
Author: sylv3rblade
Created: 2012-03-06 07:15:53+00:00
State: open

I'm using the **twitter-bootstrap-rails** gem which depends on your gem and it's throwing an error as seen above (also seyhunak recommended to file it here issue #96)

15:04:14 server.1 | /Users/sylv3rblade/.rvm/gems/ruby-1.9.3-p125-perf@blog/gems/less-rails-2.1.6/lib/less/rails/railtie.rb:32:in 'block (2 levels) in ': undefined method 'ends_with?' for # (NoMethodError)
15:04:14 server.1 |	from /Users/sylv3rblade/.rvm/gems/ruby-1.9.3-p125-perf@blog/gems/less-rails-2.1.6/lib/less/rails/railtie.rb:32:in 'select'
15:04:14 server.1 |	from /Users/sylv3rblade/.rvm/gems/ruby-1.9.3-p125-perf@blog/gems/less-rails-2.1.6/lib/less/rails/railtie.rb:32:in 'block in '
15:04:14 server.1 |	from /Users/sylv3rblade/.rvm/gems/ruby-1.9.3-p125-perf@blog/gems/railties-3.2.2/lib/rails/initializable.rb:30:in 'instance_exec'

This issue popped up when I used the gem in Rails 3.2.x but it's not present in rails 3.1.x