dvu has joined #rubygems
djbkd has quit [Remote host closed the connection]
djbkd has joined #rubygems
x1337807x has quit [Ping timeout: 240 seconds]
dvu has quit [Remote host closed the connection]
Coraline is now known as Coraline_ZzZz
djbkd has quit [Quit: My people need me...]
eric____ has quit [Quit: Connection closed for inactivity]
huoxito has joined #rubygems
CpuID has joined #rubygems
CpuID has quit [Quit: This computer has gone to sleep]
huoxito has quit [Remote host closed the connection]
CpuID has joined #rubygems
CpuID has joined #rubygems
CpuID has quit [Changing host]
djbkd has joined #rubygems
lsegal has joined #rubygems
djbkd has quit [Remote host closed the connection]
djbkd has joined #rubygems
CpuID has quit [Quit: This computer has gone to sleep]
djbkd has quit [Remote host closed the connection]
djbkd has joined #rubygems
djbkd has quit [Remote host closed the connection]
djbkd has joined #rubygems
djbkd has quit [Read error: Connection reset by peer]
dvu has joined #rubygems
dvu has quit [Remote host closed the connection]
dvu has joined #rubygems
tcopeland has quit [Ping timeout: 265 seconds]
dvu_ has joined #rubygems
dvu_ has quit [Remote host closed the connection]
dvu has quit [Ping timeout: 240 seconds]
dvu has joined #rubygems
huoxito has joined #rubygems
huoxito has quit [Remote host closed the connection]
dvu has quit [Remote host closed the connection]
dvu has joined #rubygems
havenwood has quit [Ping timeout: 250 seconds]
havenwood has joined #rubygems
Coraline_ZzZz is now known as Coraline
Coraline is now known as Coraline_ZzZz
x1337807x has joined #rubygems
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
havenwood has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest23657 is now known as bl4ckdu5t
bl4ckdu5t is now known as Guest82320
Guest82320 is now known as bl4ckdu5t
bl4ckdu5t has joined #rubygems
bl4ckdu5t has quit [Changing host]
shazaum has joined #rubygems
shazaum has quit [Quit: This computer has gone to sleep]
huoxito has joined #rubygems
huoxito has quit [Remote host closed the connection]
shazaum has joined #rubygems
shazaum has quit [Quit: This computer has gone to sleep]
havenwood has joined #rubygems
shazaum has joined #rubygems
rb2k has joined #rubygems
dvu has quit [Remote host closed the connection]
dvu has joined #rubygems
dvu has quit [Ping timeout: 244 seconds]
huoxito has joined #rubygems
huoxito has quit [Ping timeout: 250 seconds]
huoxito has joined #rubygems
<
bl4ckdu5t>
How can I locate the global Gemfile of my machine
<
bl4ckdu5t>
It has a require sass 3.2.0 and I have sass 3.3.1
<
bl4ckdu5t>
Now I'll have to prepend with bundle exec always
<
jhass>
there's no such thing as a global Gemfile
<
jhass>
so you probably have 3.3.1 installed and your projects Gemfile has 3.2.0 and your project somewhere does require 'bundler/setup'
<
bl4ckdu5t>
I have a Gemfile that probably has gem 'sass', require ~ '3.2.0'
<
jhass>
but that's just a guess
<
jhass>
that's not valid ruby
<
jhass>
note this all is #bundler ;)
<
bl4ckdu5t>
I meant gem 'sass', '~> 3.2.0'
<
jhass>
yes, so that prohibits 3.3
<
bl4ckdu5t>
compass has stopped working on all my projects
<
bl4ckdu5t>
On the current one it gives the error, on older projects, it just freezes without any output till I ^C
<
jhass>
do you get a stacktrace on that?
<
bl4ckdu5t>
I'll try to
<
jhass>
btw you never shared "the error" precisely ;)
<
jhass>
so yeah, what I said above
<
jhass>
the require 'bundler/setup' is in /var/www/projects/vitabiotics/config/application.r
<
jhass>
looks like a rails application?
<
jhass>
it's recommended to generate and use binstubs now
<
jhass>
bundle exec rake rails:update:bin
<
bl4ckdu5t>
I'm building my first rails app and this happened after I ran `bundle update`
<
jhass>
then bin/foo
<
jhass>
I doubt that really is what caused it
<
jhass>
rather that sass 3.3 was installed somewhere
<
jhass>
anyway, you should use a binstub or bundle exec anyway
<
bl4ckdu5t>
exist bin, identical bin/bundle, conflict bin/rails
<
bl4ckdu5t>
when I tried the bundle exec command above
<
bl4ckdu5t>
and now it asks if I want to override bin/rails
<
bl4ckdu5t>
I already had those binary
<
bl4ckdu5t>
I agreed and no changes yet
<
bl4ckdu5t>
I also tried bundle exec compass watch
<
jhass>
you do call the binstub instead?
<
bl4ckdu5t>
at this point it's compass I'm trying to call not rails, rake, spring, ..
<
bl4ckdu5t>
those are what are in bin
<
jhass>
oh and sprockets should handle recompiliation in a rails project
<
jhass>
you shouldn't need to call sass or compass by hand normally
<
jhass>
now we're onto #RubyOnrails topics btw ;)
<
bl4ckdu5t>
I think I will use sprockets henceforth because compass has been tough to use
<
bl4ckdu5t>
but I just remembered I am relying on some compass extensions like susy
<
jhass>
compass-rails gem
<
bl4ckdu5t>
I have it installed
<
jhass>
should integrate everything into the asset pipeline
<
bl4ckdu5t>
That's just another complicated path. No one has responded to this in #RubyOnRails
<
jhass>
you just need to have everything in your Gemfile
<
bl4ckdu5t>
inside my /app/assets, I have sass/ stylesheets/ images/ javascripts/
<
bl4ckdu5t>
I added sass/
<
bl4ckdu5t>
because my config.rb from compass is set that way
<
jhass>
why didn't you put it into stylesheets?
<
jhass>
.sass or .scss extension
<
jhass>
default rails config should pick that up then
<
bl4ckdu5t>
It doesn't recognize the partials
<
jhass>
if in the correct folder and required in a file that's referenced in the layout
<
bl4ckdu5t>
_partial.scss
<
jhass>
use @import for those
<
bl4ckdu5t>
yea I did. It still gives errors.
<
bl4ckdu5t>
I may be dc'd soon but I'll check back as soon as I can
<
jhass>
"gives errors"
<
jhass>
do you want to be a programmer?
<
jhass>
then you can do better
<
bl4ckdu5t>
I'll give a screenshot
<
bl4ckdu5t>
I pasted it severally on #RubyOnRails but didn't get a response
<
bl4ckdu5t>
That's when I had it as application.scss based on what I read on the usage of compass-rails
<
bl4ckdu5t>
I renamed application.css to application.scss
<
jhass>
that's an error on the ruby level
<
jhass>
let's take a look at the docs of this method
Coraline_ZzZz is now known as Coraline
<
bl4ckdu5t>
ok The stylesheet_tag ?
<
jhass>
try not mixing the hash forms
<
jhass>
:media => 'all', 'data-...
<
jhass>
if that's not it you did something silly in the scss, calling image-path or something like that wrongly
<
bl4ckdu5t>
That's not it. I tried
<
jhass>
that sounds like compass-rails is not in your Gemfile
<
bl4ckdu5t>
It wasn't at then
<
jhass>
then that's the reason for this error
<
bl4ckdu5t>
That one was pasted yesterday
<
bl4ckdu5t>
The first one had comppass-rails installed already
<
jhass>
what's the full trace saying for that?
<
bl4ckdu5t>
FYI, when I set config.assets.debug = false in /config/environments/development.rb , it works fine
<
bl4ckdu5t>
except now that compass itself isn't working
<
bl4ckdu5t>
but I wasn't pleased with that as heroku is unable to compile it if it's not fine in a debug true mode
<
jhass>
there's been quite a few patch releases in sass 3.2 since .0, you sure you run bundle update sass and restarted the app?
<
jhass>
if the trace really ends there that looks like an internal bug of sass to me
<
bl4ckdu5t>
I had resorted to creating a different branch for designs with compass
<
bl4ckdu5t>
and my master branch will just have my resulting stylesheet which will be in stylesheets/
<
bl4ckdu5t>
yes I did those
<
jhass>
bundle update sass-rails?
<
jhass>
it has .5 while you're on .3
<
bl4ckdu5t>
I did a generic bundle update earlier. I'm doing a bundle update sass now
<
jhass>
did you restart the app?
<
jhass>
you mentioned you have the spring binstub? did you make sure that spring isn't running?
<
jhass>
bin/spring status
<
jhass>
bin/spring stop
<
bl4ckdu5t>
28182 spring server | vitabiotics | started 28 hours ago
<
bl4ckdu5t>
19369 spring app | vitabiotics | started 2 mins ago | development mode
<
bl4ckdu5t>
I just stopped it
djbkd has joined #rubygems
rb2k has quit [Quit: rb2k]
rb2k has joined #rubygems
elia has joined #rubygems
djbkd has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
djbkd has joined #rubygems
bradland has quit [Quit: bradland]
bradland has joined #rubygems
<
bl4ckdu5t>
jhass: still there?
<
jhass>
just ask, don't think I'm the only person to help you
<
bl4ckdu5t>
I think I'll have to prioritize the working of compass now
<
jhass>
if you think not doing what everybody else does makes you less trouble...
<
jhass>
bundle exec or use a binstub
<
jhass>
this is intentional
<
jhass>
why would that change anything about that statement...
<
bl4ckdu5t>
I did give a try with bundle exec and here:
<
jhass>
sounds like compass or something compass needs is not in your Gemfile
rb2k has quit [Quit: rb2k]
<
bl4ckdu5t>
It's been working. I installed compass by doing a gem install compass
<
bl4ckdu5t>
not by adding it to a gem file
<
jhass>
bundle exec restricts the load path to things in your Gemfile
<
jhass>
that's its whole point
elia has joined #rubygems
<
bl4ckdu5t>
oh I see. It's all making more sense now
<
bl4ckdu5t>
I haven't tried to use my compass since I added compass-rails to the Gemfile of the project
<
bl4ckdu5t>
I think I'll be able to use my global compass install if I take it off my Gemfile for a while (perhaps a comment)
<
bl4ckdu5t>
and I'll try to look into using sprockets henceforth
djbkd has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
<
bl4ckdu5t>
what does ~> mean ?
<
bl4ckdu5t>
when adding gems
<
bl4ckdu5t>
>= is understandable
djbkd has joined #rubygems
elia has joined #rubygems
<
bl4ckdu5t>
thanks for your time all along jhass
shazaum has quit [Quit: This computer has gone to sleep]
<
bl4ckdu5t>
I ran `gem uninstall compass-rails` and everything was fine again
<
bl4ckdu5t>
somehow that was clashing with the compass I'd installed as gem install compass
shazaum has joined #rubygems
elia has quit [Quit: Computer has gone to sleep.]
imperator has joined #rubygems
huoxito has quit [Remote host closed the connection]
shazaum has quit [Quit: This computer has gone to sleep]
huoxito has joined #rubygems
huoxito has quit [Remote host closed the connection]
tenderlove has quit [Quit: Leaving...]
shazaum has joined #rubygems
djbkd has quit [Remote host closed the connection]
shazaum has quit [Client Quit]
shazaum has joined #rubygems
havenwood has quit [Remote host closed the connection]
lsegal has joined #rubygems
shazaum has quit [Quit: This computer has gone to sleep]
rb2k has joined #rubygems
havenwood has joined #rubygems
huoxito has joined #rubygems
huoxito has quit [Ping timeout: 264 seconds]
shazaum has joined #rubygems
shazaum has quit [Quit: Leaving]
huoxito has joined #rubygems
huoxito has quit [Ping timeout: 245 seconds]
imperator has quit [Quit: Valete!]