jhardy / Sassy-Buttons

MIT License
287 stars 59 forks source link

First contact with Rails 3.1 #3

Closed sporkd closed 12 years ago

sporkd commented 13 years ago

Hi. So I didn't really expect everything to work on the rails31 branch of compass yet. But that didn't stop me from trying...

So just a quick rundown on the problems one might encounter. First, when I import sassybuttons, there is a compass breakage that has not been fixed on the rails31 branch yet. https://github.com/chriseppstein/compass/pull/436

But once that is patched, I get a "Compass::Error: invalid sprite path" message. After that, I abandoned the effort.

Hope this helps, Peter

sporkd commented 13 years ago

Update... I was able to get this working by using @import "sassy-buttons" instead of @import "sassybuttons"

I'm thinking the README may just be a bit out of sync. But it's all working now and quite sassy.

peter

desaperados commented 13 years ago

Also trying sassy-buttons on Rails 3.1 - appears to be working fine apart from the following errors when assets are first compiled:

Warning. Error encountered while saving a Sass::Tree::RootNode to cache my-app-path/tmp/sass-cache/38aab4bd73ae4bf6e5cbfec64ac975a34eb0041a/_sassy-buttons.sassc: can't dump anonymous class #Class:0x00000102330ce0

Warning. Error encountered while saving a Sass::Tree::RootNode to cache my-app-path/tmp/sass-cache/91538f9ab0d57bbf70638205e9e8eaa7f4b829f8/_sassy-button-colors.sassc: can't dump anonymous class #Class:0x00000102330ce0

Warning. Error encountered while saving a Sass::Tree::RootNode to cache my-app-path/tmp/sass-cache/91538f9ab0d57bbf70638205e9e8eaa7f4b829f8/_sassy-button-text.sassc: can't dump anonymous class #Class:0x00000102330ce0

Warning. Error encountered while saving a Sass::Tree::RootNode to cache my-app-path/tmp/sass-cache/91538f9ab0d57bbf70638205e9e8eaa7f4b829f8/_sassy-button-styles.sassc: can't dump anonymous class #Class:0x00000102330ce0

Using: rails 3.1.0.rc4 sass 3.1.4

Warning. Error encountered while saving a Sass::Tree::RootNode to cache my-app-path/tmp/sass-cache/91538f9ab0d57bbf70638205e9e8eaa7f4b829f8/_sassy-button-pseudo-states.sassc: can't dump anonymous class #Class:0x00000102330ce0

ghost commented 13 years ago

Hello, having a little problem using this with Rails 3.1

I'm including sassy-buttons in my Gemfile, bundle install... @import sassy-buttons in my _base.sass

..and I am getting a "File to import not found or unreadable: sassy-buttons"

Jesse-Breuer commented 13 years ago

Also having this issue in rails 3.1 "File to import not found or unreadable: sassy-buttons" have in gemfile: gem 'sassy-buttons'

in config/compass.rb require ‘sassy-buttons’

also in config/application.rb require ‘sassy-buttons’ (It wasn't clear which file it goes in)

in scss file @import "sassy-buttons";

some of the things shown on running bundle install: Using bundler (1.0.18) Using sass (3.1.2) Using compass (0.11.1.f49120c) from git://github.com/chriseppstein/compass.git (at master) Using rails (3.1.0.rc1) Using sassy-buttons (0.0.5)

I am having a similar issue with the "fancy-buttons" gem. I've got compass with blueprint running, but haven't got any other compass dependent gems working.