alright, so i decided to start with the website for a variety of reasons, one of which being my job is letting me be on vacation while i'm on vacation... seriously. who does that?
Anyway, I noticed a few things that could be done to improve it include making it responsive and well, yeah, that's the main thing for now.
I started up by reading into compass some more. I am now a convert from bourbon. I just need to figure out how all of the imports work now. I suppose that something like @import "compass"; is just accessing the gem, but I can't be sure. I don't ever see a folder or a partial labeled compass, so this is what i'm assuming.
I actually ran into the documentation for compass because of a question that I was having when trying to serve the serve/website folder so that I could preview what I was working on. I have tried this both with ruby v2.1 and 2.0 but alas to no avail. Whenever I try to install mongrel i get an error that asks for fastthread which I cannot seem to install under any circumstance. It errors out with:
ERROR: Failed to build gem native extension.
/Users/michaelmclaughlin/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
make "DESTDIR=" clean
Makefile:108: *** missing separator. Stop.
make "DESTDIR="
Makefile:108: *** missing separator. Stop.
make failed, exit code 2
Gem files will remain installed in /Users/michaelmclaughlin/.rvm/gems/ruby-2.1.0/gems/fastthread-1.0.7 for inspection.
Don't know what's going on with that nonsense, but just thought i should let you guys know.
It's probably my computer for some reason but I just can't say. I updated macports, as well as everything ssl, in accordance with
But the original question that caused me to question what was going on... was the following:
MAIN QUESTION
I was getting the following line as an error:
"NoMethodError: undefined method `empty?' for nil:NilClass"
just before the html that was rendered on the serve/website/index page.
Lo and behold, it was held in the body:before element, and it looked like it was caused by the sass not compiling correctly. I have the compass gem installed, and even tried reinstalling everything just in case it was something that i had unknowingly done. But this is how the git repo is currently shipping. Any bright ideas anyone?
It is currently not compiling the css and i am basically looking at next to nothing in when starting localhost:4000
I'm not using live reload at this time, even though that is something I would like to do in the future. (this was one of the things pointed to as the culprit)
And this is once again, happening both with v2 and v2.1
Something that's also really confusing me is that when I first cd into the serve directory that I forked ruby automatically switches to 2.0.0, which i'm pretty sure was deemed unstable. Maybe this is just my computer, or what ruby does automatically, but is this possible to fix?