kkbox / compassapp Goto Github PK
View Code? Open in Web Editor NEWCompass.app helps designers compile stylesheets easily without resorting to command line interface
Home Page: http://compass.kkbox.com
License: GNU General Public License v2.0
Compass.app helps designers compile stylesheets easily without resorting to command line interface
Home Page: http://compass.kkbox.com
License: GNU General Public License v2.0
How can I import a _partial sass (doesn't seem like this is supported by compass.app?)
Kind regards
Morten Sørdahl Nielsen
Copenhagen, Denmark
If user install their own html5boilerplate or 960gs, it won't work now because ruby can not load the same library twice.
I'm using an existing project.
undefined method `asset_cache_buster' for #<Tray:0x15e7597>
/Volumes/www/hkm_template/sass/config.rb:14:in `build_change_options_menuitem'
org/jruby/RubyKernel.java:1088:in `eval'
src/ui/tray.rb:146:in `build_change_options_menuitem'
src/ui/tray.rb:404:in `watch'
src/app.rb:171:in `try'
src/ui/tray.rb:363:in `watch'
src/ui/tray.rb:137:in `open_dir_handler'
src/ui/tray.rb:56:in `run'
src/main.rb:36:in `(root)'
org/jruby/RubyKernel.java:1038:in `require'
<script>:1:in `(root)'
Here is my config.rb
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "../css"
sass_dir = "src"
images_dir = "../img"
javascripts_dir = "../js"
#sass_options = {:debug_info => true}
relative_assets = true
line_comments = false
#output_style = :compressed
asset_cache_buster :none
In line with having multiple projects being watched, there would also need to be a feature where you could pause the watching of a project.
Im using rvm for managing different Ruby enviroments.
The setup im currently running is located at:
/Users/luismartins/.rvm/gems/ruby-1.9.2-p180/gems
After inserting this the Compass.app 1.2 i cant get it to work. Am i missing something here?
Thanks.
I needed to use /usr/local/Cellar/gems/1.8:/Library/Ruby/Gems/1.8
for my gem path, but the help text doesn't explain that I can use multiple paths.
The browse button is misleading in this context, because if I use it, the existing value is replaced. Since the gem path is an obscure setting, it may be a good idea to remove the browse button.
It would be great if someday the Compass.app could watching also the HAML. Or at least if it will have some compile action in it's menu (or implemented in current "Clean & Compile").
Compass.app for Windows stays at around 10% (5-15%) when no action is taking place. No writing, no compiling, just the PC quiet.
How can this be solved?
Compass.app won't start after i've upgraded the Compass gem to the latest beta version.
Tried to remove the app and add install it again, but no success.
I get the following error on console:
11/01/15 13:58:20 [0x0-0xc64c64].compass[62117] /Library/Ruby/Gems/1.8/gems/compass-0.11.beta.0/lib/compass/sass_extensions/monkey_patches/browser_support.rb:31:in require': undefined method
to_literal' for class `Sass::Script::Funcall' (NameError)
I updated OS X 10.6.7 to the latest security updates that came out today (Security Update 2011-002 http://support.apple.com/kb/DL1375). After I restarted, I opened Compass.app and watched a folder that had previously watched. But, It is not automatically compiling my SCSS files anymore.
Right now it only shows a notification on error. I think it would be beneficial to have confirmation that a Compass project successfully compiled.
Get a compile error on line 115 saying functions may only be defined at the root of a document.
Running Compass app v1.9 ok with Compass 0.11.5 and Sass 3.1.7. If I upgrade to the newest app, version v1.10, it fails to compile. There is a known error with EXTjs and newer versions of Sass which is documented here: http://www.sencha.com/forum/showthread.php?149266-Theming-issue-Line-15-Functions-may-only-be-defined...
I know this is first and foremost a Compass GUI, but it would be nice to have an additional option to simply just Sass watch a directory (i.e. not the full Compass features). Some projects I work on just need some simple Sass markup, and for that I still need to use the command line at the moment.
A feature that I have enjoyed back using LESS.app and then Scout was the ability to create and then watched projects. While Compass.app watching set up is pretty quick and the history is nice, it would be nice if a few projects could simply be watched all at the same time.
It would be nice if the user could add some custom extensions or templates to the "quick start" menu.
from @timdream
https://twitter.com/#!/timdream/status/138577665148985344
第一個選項應該是「Stop Watching ...」吧?因為行為是這樣 ...
還是說能做到 hover 的時候把選項改成「Stop Watching」?
Maybe we can just override these options, and specify them in GUI.
In OSX Lion when watching a folder if I try to modify anything in 'Change Options' the application crashes out without a visible error. Testing the problem Compass App crashes when you click any of the output styles or Options.
Expect:
Compass.app has bundled with Sass/Compass in its own library path by default. It should provide an option to specify user's own gem path.
We can use gem environment
to get user's default gem path. It should be pre-filled if user want to use this option.
$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2010-04-19 patchlevel 253) [i686-darwin10.4.0]
- INSTALLATION DIRECTORY: /usr/local/Cellar/ruby-enterprise-edition/2010.02/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/Cellar/ruby-enterprise-edition/2010.02/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/Cellar/ruby-enterprise-edition/2010.02/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-10
- GEM PATHS:
- /usr/local/Cellar/ruby-enterprise-edition/2010.02/lib/ruby/gems/1.8
- /Users/hlb/.gem/ruby/1.8
refs: #1
I already use Compass that I've installed with RubyGems. I also use the alpha version. I would like the option to use my existing installation with the GUI without having to maintain two separate sets of gems.
I do think it's useful and correct to include compass in the app, but I cannot use the app this way.
Is this a documentation problem or a feature request?
Specifically, when I tried to work on an existing project, Compass.app crashed.
[LaunchRunner Error] org.rubyforge.rawr.Main.main(String[]) threw an exception:
/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/data.rb:105:in `require': no such file to load -- fancy-buttons (LoadError)
from /Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/data.rb:105:in `require'
from /Users/me/Sites/electronicsomething/drupal/sites/all/themes/something/config.rb:2:in `parse_string'
...internal jruby stack elided...
from Kernel.require(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/data.rb:105)
from Compass::Configuration::Data.require(/Users/me/Sites/electronicsomething/drupal/sites/all/themes/something/config.rb:2)
from Compass::Configuration::Serialization::InstanceMethods.parse_string(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/serialization.rb:35)
from Kernel.eval(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/serialization.rb:41)
from Compass::Configuration::Serialization::InstanceMethods.parse_string(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/serialization.rb:35)
from Compass::Configuration::Serialization::InstanceMethods._parse(file:/Applications/compass.app/Contents/Resources/Java/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8/open-uri.rb:32)
from Kernel.open(file:/Applications/compass.app/Contents/Resources/Java/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8/open-uri.rb:32)
from Kernel.open(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/serialization.rb:34)
from Compass::Configuration::Serialization::InstanceMethods._parse(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/serialization.rb:13)
from Compass::Configuration::Serialization::ClassMethods.new_from_file(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/helpers.rb:39)
from Compass::Configuration::Helpers.configuration_for(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/configuration/helpers.rb:83)
from Compass::Configuration::Helpers.add_project_configuration(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/commands/project_base.rb:31)
from Compass::Commands::ProjectBase.add_project_configuration(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/commands/project_base.rb:25)
from Compass::Commands::ProjectBase.configure!(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/commands/project_base.rb:15)
from Compass::Commands::ProjectBase.initialize(/Applications/compass.app/Contents/Resources/ruby/gem/gems/compass-0.10.6/lib/compass/commands/update_project.rb:26)
from Compass::Commands::UpdateProject.initialize(src/tray.rb:205)
from (unknown).new(src/tray.rb:205)
from Tray.watch(src/tray.rb:112)
from Tray.open_dir_handler(src/tray.rb:48)
from Tray.run(src/main.rb:44)
from Kernel.require(<script>:1)
from (unknown).(unknown)(:1)
would love to see it work with https://github.com/barraponto/compass-drupal-plugin
Would be great if CompassApp could support ad-hoc extensions, like Compass-Magick for instance: https://github.com/StanAngeloff/compass-magick
環境: Windows 7
可以 reproduce
I have the 1.5 version of compass app, but once I upgraded to Ubuntu natty the indicator disapeared form the panel. So now I can't acces the app at all.
Can you please take a look at this and see if there's a workaround?
I wish this could be done automatically on the next release of compass app. The current version on the app is the 1.0.
Thanks!
i start the run.sh after extract the package to my personal home folder, but dont works, no result after start this; not via doubleclick or terminal; i dont find also this on my search in www to an solution. Maybe you have other hint for to start the comapass.app. compass is installed and works fine.
Hi,
I'm a bit of a newbie to compass & SASS.
On the previous Compass.app version, Boilerplate 1.0 was working fine.
I recently upgraded and now, with the added support for boilerplate 2.0, I'm unable to get Boilerplate working at all.
I've tried a few updated versions of boilerplate for compass, as well as the one which comes with Compass.app.
Every time I try to compile the .SASS file, I get this message:
"Syntax error: Mixin html5-boilerplate-normalize takes 1 argument but 11 were passed."
This is referring to:
"+html5-boilerplate-normalize(html5, base, selection, links, typography, lists, images, svg, figures, forms, tables)"
Previously, this was simply a list of mixins, which worked fine. Unfortunately, this new argument format refuses to work.
Do I need to find a specific version somewhere, or is it an issue with the installation?
I'm using Compass 0.12 alpha (but tried it with the main release too).
Sorry if this is too amateurishness. Any help would be appreciated!
Everytime I start watching a folder, Compass.app creates the file compass_app_log.txt
. I don't need this file and would like to be able to disable its creation, or even specify my own location for it.
Compass.app takes 84.5MB of memory when idle and consistently increased to 90MB when turn on folder watching. It seems a bit too high I think
I have a compass project, that i initiated via terminal, i cant make the compassapp watch that folder, or atleast i can set it to watch, but nothing happens :/
He there, after a reboot on OSX i got this error mgs:
no such file to load -- compass-colors
org/jruby/RubyKernel.java:1038:in require' /Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/data.rb:122:in
require'
/Users/tdwesten/Sites/Localhost/trumm/wp-content/themes/trumm/config.rb:42:in parse_string' org/jruby/RubyKernel.java:1088:in
eval'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/serialization.rb:21:in parse_string' /Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/serialization.rb:15:in
_parse'
org/jruby/RubyIO.java:1111:in open' org/jruby/RubyKernel.java:298:in
open'
file:/Applications/compass.app/Contents/Resources/Java/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8/open-uri.rb:32:in open' /Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/serialization.rb:14:in
_parse'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/file_data.rb:29:in new_from_file' /Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/inheritance.rb:96:in
with_defaults'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/file_data.rb:28:in new_from_file' /Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/helpers.rb:42:in
configuration_for'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/configuration/helpers.rb:89:in add_project_configuration' /Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/commands/project_base.rb:31:in
add_project_configuration'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/commands/project_base.rb:25:in configure!' /Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/commands/project_base.rb:15:in
initialize'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/commands/update_project.rb:29:in initialize' src/ui/tray.rb:353:in
watch'
src/app.rb:171:in try' src/ui/tray.rb:351:in
watch'
src/ui/tray.rb:126:in compass_switch_handler' src/ui/tray.rb:56:in
run'
src/main.rb:36:in (root)' org/jruby/RubyKernel.java:1038:in
require'
Hi,
First I want to thanks you for your work. I just bought Compass App and I have a little problem. I'm already using livereload to "watch" modification of PHP files. But when I edit SCSS file Compass app the livereload doesn't work.
Is there a solution to check if livereload is already working, and use this already working instance of livereload to call the refresh ?
(Also is there a solution to download updates ? I mean I bought the software but the download link is not valid forever :()
new 1.0 version just released yesterday
hi!
I have a project located in "/develeop/sasstest".
In my config.rb I require a lib in "/develop/sasstest/themes/lib/utils.rb" with
require File.join(File.dirname(FILE),"themes","lib","utils.rb")
compass tells me in compass report that
no such file to load -- ./themes/lib/utils
org/jruby/RubyKernel.java:1038:in require' :35:in
build_change_options_menuitem'
org/jruby/RubyKernel.java:1088:in eval' src/ui/tray.rb:147:in
build_change_options_menuitem'
src/ui/tray.rb:398:in watch' src/app.rb:170:in
try'
src/ui/tray.rb:357:in watch' src/ui/tray.rb:304:in
clean_project'
src/ui/tray.rb:288:in clean_project_handler' src/ui/tray.rb:56:in
run'
src/main.rb:44:in (root)' org/jruby/RubyKernel.java:1038:in
require'
:1:in `(root)'
When I require the lib with the absolute path
require /develop/sasstest/themes/lib/utils.rb
it works.
It should be an option.
It is really useful for development, because designers can use absolute path without running a web server themselves.
Since i havent been able to use my custom compass install, i've changed for now to the bundled compass version.
Also placed the compass extensions i use at ~/.compass/extensions as described in the wiki and restarted the app.
After this, when i try to compile the project i always get this:
no such file to load -- rgbapng
org/jruby/RubyKernel.java:1037:in require' /Users/luismartins/Applications/Develop/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.beta.6/lib/compass/configuration/data.rb:120:in
require'
rgbapng is one of the Compass Extension im using on this project.
Am i missing something?
Goal: easier to setup directory structure, preferred syntax like: http://compass-style.org/install/
A small feature request: it sometimes happens to me that compass/ compass.app is too slow to keep up with the frequency of my saving changes to the SCSS file, causing my last change to not be visible in the browser (confusion :) ). I sometimes use the command line, and even though it does not seem faster, at least I can see from the output when the CSS compilation is done.
To get the same effect and control in compass.app, I would suggest to color the menu bar icon somehow or otherwise change it during the compilation and revert the icon to normal state when it is finished.
Thanks for your work!
If I have modules that are @imported, they also get complied in the target directory.
How can I avoid this? That is have modules that import but dont compile to target directory
Thanks
After updating to Growl 1.3, I no longer get Compass.app notifications through Growl.
Problem: If user tries to require some library which is not available, app just crashes without any notification.
Expect: It should popup a dialog, which contains error report.
refs: #1
Would be really nice to have the option for easily set some compile options, like the environment for instance.
Example (under Windows 7 x64):
Compass.app is running in
C:/Program Files (x86)/compass.app
This path has space , please move Compass.app to another path
This should be fixed.
just a reminder ticket
Instead of showing the full path, on Linux or Mac the menu item could be shorten with "~" to replace the home dir part.
Current menu label:
"Stop watching /Users/timdream/Repositories/blahbalh"
Desired:
"Stop watching ~/Repositories/blahbalh"
Should be trivial to do in tray.rb
, but I don't write ruby ...
If user enters port number > 65535 or < 0, we should give user an error message.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.