Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File to import not found or unreadable: modular-scale. Rails #257

Closed
jgrannas opened this issue Jan 8, 2015 · 2 comments
Closed

File to import not found or unreadable: modular-scale. Rails #257

jgrannas opened this issue Jan 8, 2015 · 2 comments

Comments

@jgrannas
Copy link

jgrannas commented Jan 8, 2015

Trying to implement Gumby in Rails 4, and i am at a loss after two attempts and a few hours wasted. I dont want to just embed a compiled css file like a lot of the gumby-gems do, i want to be able to override scss defaults in my app.

So, I made a folder _app/assets/stylesheets/base_
Then, _app/assets/stylesheets/base/gumby_ contains the sass folder from the gumby git repo

In that base folder I placed a file: _app/assets/stylesheets/base/base.scss_ which contains:

@import "gumby/gumby";

First i get:

File to import not found or unreadable: modular-scale.

Trying to figure out the issue, in the gumby.scss I changed:

@import "modular-scale"; TO @import "extensions/modular-scale/stylesheets/modular-scale";

Then I get:

Undefined variable: "$golden".

It would be really cool if you could put up a guide on how to integrate gumby into Rails & the asset pipeline. This was my first attempt at using a responsive framework... frustrated and sad :( .... going back to hand coding my responsive stuff.

Gemfile:

group :assets do
  gem 'compass-rails'
  gem 'modular-scale'
  gem 'sass-rails', '~> 4.0.3'
  gem 'uglifier', '>= 1.3.0'
  gem 'therubyracer', platforms: :ruby
end
@jgrannas
Copy link
Author

I also tried using modular-scale ~> 1.0.6 to no avail.

@danhere
Copy link
Contributor

danhere commented Feb 15, 2015

This should be fixed now. I updated the bundled modular-scale to the latest within Gumby. If that doesn't work, read in the config.rb file on how to use the system gem rather than the bundled one.

@danhere danhere closed this as completed Feb 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants