Giter Club home page Giter Club logo

Comments (7)

danhere avatar danhere commented on May 24, 2024

I assume you ran a gem install modular-scale before using Scout?

from gumby.

danhere avatar danhere commented on May 24, 2024

Sorry Hexacoda, but Scout does not appear to support the version of Compass that we use in Gumby. One of team members tried using it early on in the project and ran into this same sort of issue.

from gumby.

danhere avatar danhere commented on May 24, 2024

Running compass watch [path/to/project] will achieve the same effect and you'll get bonus developer points!

Check out the official Compass docs for more information. And if you're still stuck, feel free to ask!

from gumby.

hexacoda avatar hexacoda commented on May 24, 2024

Thank you very much for the information.

from gumby.

mrzeph avatar mrzeph commented on May 24, 2024

What version are you using with Gumby? Scout version 0.7.1 is using Compass 0.12.2 and SASS 3.2.1

I'd love to just use compass if it were possible, but my non-standard folder structure seems to be making it impossible. What can I do to correct the problem?

from gumby.

emcniece avatar emcniece commented on May 24, 2024

For those following this path in the future, this may be of use: https://github.com/mhs/scout-app/issues/126

from gumby.

emcniece avatar emcniece commented on May 24, 2024

I've managed to dig up something interesting. Background: I am trying out sass for the very first time, I don't have the ability to run ruby on my web host, I haven't installed ruby on my Win7 local machine (to my knowledge), my live site files are only accessible over FTP and I have just installed Scout 0.7.1.

By adding a debug line to Gumby's config.rb, you can inspect the filepath of the gems trying to be included:

extensions_dir = "sass/extensions"
print File.expand_path("#{extensions_dir}/modular-scale")

For the record, here's my Scout config. Gumby has been extracted directly into the ....\web\ directory so that the folders match up with what you see:

scout-config

Now when you run your project in Scout, the first line you see should be the debugged output. Is it what you expected to see? Sure wasn't for me - thought I'd be operating in a relative directory. And I was, I guess, just not as relative as I'd hoped.

scout-debug

It does make sense that Scout is drawing from root I suppose! It's a simple patch from here - I updated my #{extensions_dir} to reflect the absolute path (in my case, S:/Customers/d-Supply/web/sass/extensions/modular-scale). Note the forward slashes! I think that Scout will now load the modular-scale included with Gumby. You should probably do the same with sassy-math, too.

The alternative here would be to actually install the extensions over at C:/Windows/system32/sass/extensions/. Maybe I was supposed to and missed a setup step? Wouldn't be the first time :)

from gumby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.