-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get the framework to register with compass #4
Comments
Did you remember to build your compass extension and install it? |
Yes, I've been building it, installing it and then uninstalling it, removing the generated file and re-building just to make sure it's not old code not updating or something. |
Are you using Bundler to maintain your gem dependencies? If you run Sam Richard On Tuesday, November 12, 2013 at 12:51 PM, Dean Fields wrote:
|
I've actually wiped my computer down and re-installed the OS with Mavericks, I'm using the system ruby, and when I type gem list I can see it installed in the list. Will it only show up when I add it to a config.rb file in a project for the first time? because I haven't made a compass project with the gem just yet. |
You can only use gems you’ve built with a Compass project, so you need to include the require in your Sam Richard On Tuesday, November 12, 2013 at 12:57 PM, Dean Fields wrote:
|
Ok thanks very much I'll see where this leads me |
Hello, I have followed your method here to create an extension, however I can't seem to get it to register. When you type compass framework, it doesn't appear in the list.
this is the code for it in my lib/extension_name.rb file:
extension_path = File.expand_path(File.join(File.dirname(FILE), ".."))
Compass::Frameworks.register('base-framework',
:stylesheets_directory => File.join(File.dirname(FILE), '..', 'sass'),
:templates_directory => File.join(File.dirname(FILE), '..', 'templates'),
:path => extension_path)
Am I being silly here?
The text was updated successfully, but these errors were encountered: