I installed Bitters in a new Rails 4.0.0 app.
But when I try to visit a page, I’m getting this error message:
Undefined variable: “$helvetica”.
(in /Users/acandael/Sites/redesign/app/assets/stylesheets/bitters/_bitters.scss:3)
my application.css.scss file looks like this:
@import "bourbon";
@import "bitters/bitters";
@import "neat";
I’m using Haml for the app. The views/layouts/application.html.haml file looks like this:
!!!
%html
%head
%title "Index"
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
%body
= yield
I didn’t change or added somthing in the Bitters folder, so what could be the issue here?
Thanks for your help,
Anthony
seems like was not the only one, having this issue:
opened 12:58AM - 28 Nov 13 UTC
closed 09:49PM - 01 Dec 13 UTC
Got this off a fresh Rails 4.0 install, after installing and importing bitters:
…
```
ActionView::Template::Error (Undefined variable: "$helvetica".
(in /Users/qrush/Dev/switchboard/app/assets/stylesheets/application.css.scss:3)):
2: <html>
3: <head>
4: <title>Switchboard</title>
5: <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6: <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
7: <%= csrf_meta_tags %>
8: </head>
```
Found that this is in Bourbon...so installing that now. I thought I wouldn't have to, since the README says:
> Install Bourbon and Neat (optional).
So maybe that means Install Bourbon, OPTIONALLY install Neat? Maybe this just needs to be clarified in the README.