<green->
I’m not even sure if this is the best place to ask, but hopefully someone can help: I have several web projects that are dependent on compass and compass mixins. At some point, compass (which I know is EOL) broke and will not run. I’ve tried installing 5 or 6 versions of ruby, multiple versions of rb-inotify, etc but all produce the same runtime errors when running compass. I’m not sure how to proceed as these projects are dependent o
<green->
the compass mixins.
<green->
anyway, if anyone has any similar experience and has any idea how to get a working compass installation together, I’d be grateful
markopasha has quit [Remote host closed the connection]
markopasha has joined #ruby
<adam12>
green-: Can you share the errors in a gist or paste?
<green->
those are the errors under 2.2 and rb-inotify 0.9.0 but the error is the same under 2.3, 2.4, 2.6 and varying versions of rb-inotify (0.9.0, 0.9.1, 0.10.0, etc).
<adam12>
green-: Is that all of it?
<green->
adam12: that’s the full output of ‘compass watch —trace’
<adam12>
green-: Interesting. What if you dont' use the watch functionality? Replace it with something like entr.
<adam12>
green-: Or do you absolutely need the watch feature?
<green->
Nope, don’t absolutely need it. That’s just how my workflow has always gone.
<green->
adam12: not familiar with entr
alexherbo2 has quit [Read error: Connection reset by peer]
<adam12>
green-: You pass it a list of files and it watches them for changes, rerunning a command when they do.
<adam12>
green-: There's also rerun which is a Ruby library IIRC.
alexherbo23 has joined #ruby
<green->
adam12: frankly, i’d be fine manually compiling, i just need it to be able to use the mixins, or the css breaks
<adam12>
green-: What happens if you run `compass compile` ?
<green->
adam12: just tried that, it’s complaining it can’t find sass files to compile, which makes no sense
kent\n has quit [Ping timeout: 256 seconds]
<green->
adam12: the nice thing about ‘watch’ was it monitored the whole directory tree for changes, compiled and wrote the css to the proper directory
<adam12>
green-: Are you using a Gemfile in this project?
<green->
adam12: if ‘compile’ would do the same thing, only when i run it instead of automatically, that would be 100% perfectly fine
phaul has joined #ruby
<adam12>
green-: I mean it should. I'm not familiar with compass. Can you --trace the compass compile?
<green->
trace doesn’t produce anything for compile
<green->
and no i don’t think it uses a gemfile
<adam12>
green-: So you just `gem install compass` ?
<green->
yep
_phaul has quit [Ping timeout: 256 seconds]
<adam12>
green-: Does compass have a config file?
<green->
adam12: in any event it seems like compass watch is the only method to get it to compile
<adam12>
green-: Well I'd presume that compass watch is just calling compass compile internally.. I'd expect it to work but maybe it needs a little help.
<adam12>
like `compass compile path/to/css` or something.
<adam12>
green-: Is this project open anywhere?
<green->
adam12: that’s what i assumed as well. but it doesn’t seem to be behaving that way
<green->
adam12: no
<adam12>
green-: Is there any help for compass compile? Can you paste it if so? `compass compile --help` ?
<green->
adam12: yeah, it’s basic .. compass compile [path to project] … which is what i’m feeding, and it’s a directory filled with .scss files … but it’s still saying no SASS files found
<adam12>
green-: Do you have any config.rb files? `find . -name config.rb`
<green->
in the SASS project or in general?
<adam12>
green-: I'm not sure. From your app root I guess.
ellcs has quit [Ping timeout: 246 seconds]
<green->
adam12: not within this web theme … don’t recall ever seeing one before, either
<adam12>
green-: Interesting. I wonder how it knows what to compile then?
<green->
scratch that, here’s one
william1 has quit [Ping timeout: 250 seconds]
<green->
tried running it on dir with the config.rb
<green->
watch still produces the same error
<green->
compile ran but with no output
<green->
going to test one more thing
<adam12>
What about `compass -c path/to/config.rb compile`
<green->
adam12: it seems to be running now, though the output is limited, so it’s hard to tell what it is actually doing
<green->
adam12: it’s odd that compile wants to be pointed at a different directory than watch traditionally did, but that’s fine
<adam12>
¯\_(ツ)_/¯
<green->
i’ll have to actually test a few things to see if it is compiling changes into something that faithfully includes SASS changes and doesn’t horribly break everytihng
<green->
this is the first progress all day, though, so I thank you
<green->
i’m just been banging my head against a wall trying to fix this watch issue, which for some reason seems unfixable
<adam12>
green-: Cheers
<adam12>
green-: Probably fixable but you'd likely need a Gemfile and start listing dependencies for ffi AND rb-inotify
<adam12>
green-: Then start working backwards all the way down the minor versions :\
<green->
adam12: just not worth it. it’s not hard to run compile manually if indeed it works. :)
<adam12>
green-: I'd forget about it and just use entr .. but that's because I _always_ have issues with rb-inotify and others.
<adam12>
entr is written in C and works well.
_phaul has joined #ruby
<green->
adam12: the development on these themes is limited enough that running compile manually is no big deal (if it works) … if they were being modified all day, it’d be another thing … but they get a change here and a change there every few months
<adam12>
green-: Cool. Good luck!
<adam12>
green-: I was in the same boat with Bourbon/Neat/et all. Kinda sucks.
Swyper has quit [Remote host closed the connection]
hassox has quit [Remote host closed the connection]
<sergioro>
noob question, how to get the class of Kernel#sleep (of course it should be Kernel)? I tried 'sleep.class' but it sleeps indefinitely. any help will be appreciated.
<phaul>
&>> method(:sleep).owner
<phaul>
hm.
<phaul>
# => Kernel
<sergioro>
that's it, thanks!
<phaul>
yw sergioro .
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
TCZ has quit [Quit: Leaving]
cschneid_ has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
orbyt_ has joined #ruby
rubydoc has quit [Remote host closed the connection]