Description
Rails: 4.0.0
Ruby: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
With this in my Gemfile:
gem 'compass-rails', '~> 2.0.alpha.0'
And not in an :assets group, I can't get Compass to do anything.
In the documentation you write: "Note that the compass init step is optional if you have a project running Rails 3.0 or greater." However, if I put an @import "compass" statement in application.scss, I get a "File to import not found or unreadable: compass." error.
If I try and run "bundle exec compass init" from the assets folder, I get: "No application integration exists for rails".
Occasionally I can get "bundle exec compass init" to do something, seeing as compass doesn't work otherwise, but then it creates and populates /sass and other folders which your documentation says should be deprecated in favor of /stylesheets, and it puts them under /appName or /app directories where they don't belong.
From reading:
It is clear that the 2.0.alpha was hacked together just before Rails 4.0 dropped, and that a lot of people had lots of problems with it. In addition to your own documentation on this repository being out of date and misleading, and sending newbies into certain trouble, it is impossible for a new user to figure out how to make it do anything, even having read all the Compass books and tutorials for days, and even after figuring out how to get the framework to install, because really there are no correct examples that I can find about how to make this alpha actually do anything with Rails 4. I would love a link to one if it exists.
I find inconsistent accounts of whether the config file is "config.rb" and goes in the /app/assets folder, or "compass-rails.rb" and lives in the /config folder.
This is (or was) a really important framework for Rails. Many months after everyone knew this needed to be fixed, it is one of 35 gems which are not ready for Rails 4 - with 358 being ready:
http://ready4rails4.net/gems/compass-rails
I am not being a troll - I would write a tutorial that would show how to make it could work if I could figure it out. But this needs to be fixed, replaced, or documented ASAP.