metaskills / less-rails-bootstrap

The most popular front-end framework for developing responsive, mobile first projects on the web for Rails asset pipeline.
561 stars 127 forks source link

Issue with asset pipeline #127

Closed lacostenycoder closed 9 years ago

lacostenycoder commented 9 years ago

I follow all instructions for custom instructions for *= require custom_bootstrap/custom_bootstrap but I keep getting " undefined method `[]' for nil:NilClass "

App trace:

app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___3322370523267408108_70293595692240'

what am i doing wrong?

simi commented 9 years ago

@lacostenycoder: can you try sprockets3 branch please?

try this in your Gemfile:

gem 'less-rails-bootstrap', github: 'metaskills/less-rails-bootstrap', branch: 'sprockets3'
lacostenycoder commented 9 years ago

Vioala! That works thanks!

simi commented 9 years ago

This branch will be merged into master and released really soon. Thanks for testing!