Giter Club home page Giter Club logo

kkbox / fireapp Goto Github PK

View Code? Open in Web Editor NEW
613.0 64.0 79.0 308.44 MB

Fire.app is a HTML prototyping tool with Sass/Compass/ERB/Haml/Slim/Markdown support

Home Page: http://fireapp.kkbox.com/

License: GNU General Public License v2.0

Ruby 72.27% Shell 0.06% HTML 1.61% Objective-C 0.09% Java 0.92% JavaScript 7.65% Logos 0.01% CSS 1.21% Makefile 0.03% CoffeeScript 0.01% Gherkin 0.12% C++ 2.88% C 0.78% Haml 0.33% Roff 0.10% SCSS 9.86% Less 1.80% Slim 0.03% Sass 0.24%

fireapp's Introduction

Fire.app

Fire.app is not maintained. You can still get the source code under GPL as always, and download the latest binary on GitHub for free. What happened?

Fire.app

Fire.app is a menubar only app for dead easy HTML prototyping.

Fire.app is written in Java (JRuby), and works in mac, linux and pc.

System Requirement

Fire.app has been tested in:

  • Windows: Windows 7/Vista/XP
  • OS X: 10.5, 10.6 32/64bit, 10.7 32/64bit
  • Linux: Arch Linux 32/64bit

Fire.app is written in Java (JRuby), so you must install JRE(Java Runtime Environment) first. If you do not have JRE installed, Fire.app will guide you to install it first.

Download

You can download the latest release.

Install

There is no need to install Fire.app. You can just unzip and put it anywhere. You can even use Dropbox to sync between computers.

Build Your Own

If you want to build your own copy, you will need Java 7, JRuby and rawr.

License

Copyright (c) 2012 KKBOX Inc. Licensed under GPL v2.

fireapp's People

Contributors

bookcasey avatar casperlaitw avatar dannvix avatar dependabot[bot] avatar elct9620 avatar gaod avatar gugod avatar hsatac avatar hungtatai avatar juanitofatas avatar mikko-h avatar tka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fireapp's Issues

LiveReload doesn't apply changes - stuck on "connecting".

Using Windows & the Chrome extension, default ports for the webserver. When I change something in the .scss it doesn't reflect in http://127.0.0.1:24681/ - the icon is stuck on "connecting". I've checked access to file urls in the extensions manager.

Edit: Oh, I didn't realise you needed livereload.js in the project as well as the Chrome extension.

Folder does not exist

My project is like this :

--project
config.rb
    --assets
        --common
            --coffeescripts
            --css
            --img
            --js
            --sass

And in my config.rb

project_path = "assets/common/"
images_dir = "img"
css_dir = "css"
javascripts_dir = "js"
fonts_dir = "fonts"
relative_assets = true

But when I launch Fire.app in --project it states that assets/common does not exist. When it totally does. Where did I go wrong ?

there is something wrong in your gem paths or plugins

No such file or directory - No such directory
org/jruby/RubyDir.java:140:in initialize' src/app.rb:212:inscan_library'
src/app.rb:102:in require_compass' src/main.rb:30:in(root)'
org/jruby/RubyKernel.java:1033:in `require'

<script>:1:in`(root)' this is with the 1.4 version on Windows

Unable to get relative javascript and css urls

I would like my asset urls to not start with a slash like this...

<link href="stylesheets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />

But even when I set this two in config.rb...

http_path = ""
relative_assets = true

They still are output like this...

<link href="/stylesheets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />

Is there any way to speed up sass recompile time? (sass-watch)

I notice that sometimes even after saving my .scss file it won't compile to CSS at least for a reasonable amount of time, other times it is very snappy. Having to go and do a force clean/compile is time consuming and rather annoying. I don't mind resource usage if I can jus get a nice consistent sub second recompile time. Having it be a checkbox would be fine.

Fire.app won't launch after changing webserver port

I've been using fire.app (precompiled, purchased) successfully for the last week. I changed my webserver port number, now it won't run. I see the "Loading Modules" dialog, but after that appears to complete, the app crashes.

Any Ideas?

log:

5/3/12 9:09:39.658 AM   com.apple.launchd.peruser.2078700921    ([0x0-0x7b07b].Fire[8234]) Tried to setup shared memory more than once
5/3/12 9:09:45.206 AM   [0x0-0x7b07b].Fire  [LaunchRunner Error] org.rubyforge.rawr.Main.main(String[]) threw an exception:
5/3/12 9:09:45.209 AM   [0x0-0x7b07b].Fire  org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `[]' for false:FalseClass
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at app.get_config(src/app.rb:61)
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at app.App(src/app.rb:85)
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at app.(root)(src/app.rb:3)
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1033)
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at require_patch.require(src/require_patch.rb:6)
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at main.(root)(src/main.rb:26)
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1033)
5/3/12 9:09:45.210 AM   [0x0-0x7b07b].Fire      at (Anonymous).(root)(<script>:1)

Markdown Support

It would be great if I can write content in markdown, and generate HTML output

watch function not working on macbook pro

Hi,
I can't get the app to watch a folder properly. When I save changes to any of the .scss it doesn't rebuild the files. The app works perfectly on my iMac running the exact same software version (osx and app) but not on my macbook pro. I get no errors in the log file and if I click 'clean and compile' it all works perfectly. I've uninstalled the gems 'compass' and 'sass' before i installed fire.app aswell.

have you come across this before at all? I had the same problem with compass.app.

Thanks,
Pat

Feature/Tutorial Request: Using extensions

It would be great if you or someone else could write some lines about how to use extensions. I'm very unfamiliar with ruby - so this is why I'm using FireApp. But currently I'm trying to use "aaronrussell-compass-rgbapng" within compass. But it seems that I need the chunky_png extension (as far as I understood) and have no idea where to begin.

It would be even great if you give us (or at least me) a little hint on how to identify a ruby extension that is compatible with jruby.

There's something wrong in your gem paths or plugins

I am using FireApp on windows, compiled from the latest master.

It was working fine, then all of a sudden, I am getting "There's something wrong in your gem paths or plugins" for no reason when I try to watch a folder.. Restarting FireApp did not help. I then deleted FireApp and replaced it with a clean copy, but the same issue still persists.

I then created a blank new project, deleted that project and watched my old folder. Everything then started working again.

The error log:
C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/tree/node.rb:163:in each' C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/tree/node.rb:162:ineach'
C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/tree/node.rb:163:in each' org/jruby/RubyArray.java:1615:ineach'
C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/tree/node.rb:163:in each' org/jruby/RubyEnumerable.java:489:ingrep'
C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/plugin/staleness_checker.rb:169:in compute_dependencies' C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/plugin/staleness_checker.rb:146:independencies'
C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/plugin/staleness_checker.rb:123:in dependencies_stale?' C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/plugin/staleness_checker.rb:159:independency_updated?'
org/jruby/RubyProc.java:270:in call' org/jruby/RubyProc.java:220:incall'
C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/plugin/staleness_checker.rb:79:in stylesheet_modified_since?' C:/fire.app/lib/ruby/common/sass-3.1.16/lib/sass/../sass/plugin/staleness_checker.rb:67:instylesheet_needs_update?'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/compiler.rb:67:in needs_update?' C:/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/compiler.rb:61:inout_of_date?'
org/jruby/RubyArray.java:1615:in each' C:/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/compiler.rb:60:inout_of_date?'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/commands/watch_project.rb:143:in recompile' src/compass_patch.rb:37:inperform'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/commands/base.rb:18:in execute' C:/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/commands/project_base.rb:19:inexecute'
src/ui/tray.rb:594:in watch' org/jruby/RubyProc.java:270:incall'
org/jruby/RubyProc.java:224:in `call'

Using rmagick for spriting with FireApp

I am running FireApp on Windows 7 64-bit.

I am trying to use the rmagick compass extension (https://github.com/Compass/compass-rmagick-engine) instead of chunky_png to support gif files.

I downloaded the rmagick extension and placed it in C:\fire.app\lib\ruby\compass_extensions\compass-rmagick-engine-7f24c8d

I then added sprite_engine = :rmagick to the project's config.rb and restarted FireApp.

The problem is that when I watch my project, I get this error:

uninitialized constant Compass::SassExtensions::Sprites::RmagickEngine
org/jruby/RubyModule.java:2642:in `const_missing'
(eval):1:in `init_engine'
org/jruby/RubyKernel.java:1083:in `eval'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_methods.rb:21:in `init_engine'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_methods.rb:17:in `compute_image_metadata!'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_map.rb:48:in `initialize'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/sprites/sprite_map.rb:22:in `from_uri'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/sass_extensions/functions/sprites.rb:48:in `sprite_map'
org/jruby/RubyKernel.java:2084:in `send'
src/compass_patch.rb:20:in `_perform'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/script/node.rb:40:in `perform'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:244:in `visit_variable'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyArray.java:2331:in `collect'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyArray.java:2331:in `collect'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:146:in `visit_import'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children'
org/jruby/RubyArray.java:2331:in `collect'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:53:in `visit_children'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:27:in `visit_children'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:39:in `with_environment'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:26:in `visit_children'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:47:in `visit_root'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/base.rb:37:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:18:in `visit'
org/jruby/RubyKernel.java:2080:in `send'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/visitors/perform.rb:7:in `visit'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/tree/root_node.rb:20:in `render'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/engine.rb:300:in `_render'
C:/fire.app/lib/ruby/common/sass-3.1.19/lib/sass/../sass/engine.rb:247:in `render'
src/compass_patch.rb:219:in `compile'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
src/compass_patch.rb:218:in `compile'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/logger.rb:45:in `red'
src/compass_patch.rb:217:in `compile'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:118:in `compile_if_required'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:103:in `run'
org/jruby/RubyArray.java:1615:in `each'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:101:in `run'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
C:/fire.app/lib/ruby/compass_0.12/compass-0.12.2/lib/compass/compiler.rb:100:in `run'
src/compass_patch.rb:139:in `perform'
src/ui/tray.rb:543:in `watch'
src/app.rb:204:in `try'
src/ui/tray.rb:534:in `watch'
src/ui/tray.rb:142:in `compass_switch_handler'
src/ui/tray.rb:70:in `run'
src/main.rb:57:in `(root)'
org/jruby/RubyKernel.java:1033:in `require'
<script>:1:in `(root)'

Is there anyway to get this extension to work with FireApp?

Unable to see the tray icon in Ubuntu 12.04

I just purchased fire.app so that I could run such an app on Linux but the issue I'm facing is that when I start the app on the console, I get

"tray OK, spend 3.74000000953674"

but unfortunately I don't get any tray icon. How do I use it?

Use RbConfig instead of obsolete and deprecated Config.

I have tried compiling FireApp master with the latest preview version of JRuby (1.7.0.preview1).

This resulted in this error:
/home/user/.rvm/gems/jruby-1.7.0.preview1/gems/rawr-1.4.5/lib/platform.rb:7: Use RbConfig instead of obsolete and deprecated Config.
rake aborted!
no such file to load -- ftools

(See full trace by running task with --trace)

recess support

any interest in integrating with recess so recess is run to clean up the css after it's detected as compiled?

https://github.com/twitter/recess

This would be useful for a number of reasons.. it currently fills a hole that compass/sass doesn't provide at compile time.. many projects (like drupal) have css code guidelines http://drupal.org/node/302199 and standard sass output does not comply.

Support Twitter Bootstrap

I'm a long time fan of Compass.app. Any chance to support Twitter Bootstrap for both Fire.app and Compass.app? I'm sure many people will love this feature. Thanks.

Vincent

LESS support

Wanting to know if LESS will be supported in the future?

rawr:build_extra_jars => superclass must be a Class

ok, trying to build the extra jars:
Note, my prom is 3 line based.

~/Documents/Repositorios/FireApp
rbenv: jruby-1.6.7  master: 18h/18h  
(09:04 PM) FireApp $ bundle exec rake rawr:build_extra_jars
rake aborted!
superclass must be a Class (#<Class:Bundler> given)

Running with --trace

~/Documents/Repositorios/FireApp
rbenv: jruby-1.6.7  master: 18h/18h  
(09:04 PM) FireApp $ bundle exec rake rawr:build_extra_jars --trace
rake aborted!
superclass must be a Class (#<Class:Bundler> given)
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rawr-1.4.5/lib/app_bundler.rb:6:in `Rawr'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rawr-1.4.5/lib/app_bundler.rb:5:in `(root)'
org/jruby/RubyKernel.java:1033:in `require'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rawr-1.4.5/lib/app_bundler.rb:2:in `(root)'
org/jruby/RubyKernel.java:1058:in `load'
/Volumes/Documentos/Documents/Repositorios/FireApp/Rakefile:25:in `load_rakefile'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `load_rakefile'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `run'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33:in `(root)'
org/jruby/RubyKernel.java:1058:in `load'
/Users/mariozaizar/.rbenv/versions/jruby-1.6.7/bin/rake:19:in `(root)'

error report

Hi

just bought fire.app for Win 7 x64.
I set it to watch a SASS/Compass project folder and it reported these errors:

no such file to load -- susy
org/jruby/RubyKernel.java:1033:in `require'
src/require_patch.rb:6:in `require'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/data.rb:160:in `require'
F:/clients/localdev/wpmapmarkers/wp-content/themes/wpmm/config.rb:2:in `parse_string'
org/jruby/RubyKernel.java:1083:in `eval'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/serialization.rb:24:in `parse_string'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/serialization.rb:15:in `_parse'
org/jruby/RubyIO.java:1139:in `open'
org/jruby/RubyKernel.java:287:in `open'
file:/F:/Dropbox/fire.app/lib/java/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8/open-uri.rb:32:in `open'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/serialization.rb:14:in `_parse'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/file_data.rb:7:in `new_from_file'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/inheritance.rb:204:in `with_defaults'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/file_data.rb:6:in `new_from_file'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/helpers.rb:42:in `configuration_for'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/configuration/helpers.rb:97:in `add_project_configuration'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/commands/project_base.rb:31:in `add_project_configuration'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/commands/project_base.rb:25:in `configure!'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/commands/project_base.rb:15:in `initialize'
F:/Dropbox/fire.app/lib/ruby/compass_0.12/compass-0.12.1/lib/compass/commands/update_project.rb:37:in `initialize'
src/ui/tray.rb:527:in `watch'
src/app.rb:203:in `try'
src/ui/tray.rb:525:in `watch'
src/ui/tray.rb:152:in `open_dir_handler'
src/ui/tray.rb:69:in `run'
src/main.rb:49:in `(root)'
org/jruby/RubyKernel.java:1033:in `require'
<script>:1:in `(root)'

Using the command line ,, I can compass watch with no errors

Coffeescript very slow

On my computer the coffee-script realtime-conversion is very slow.

My computer is very fast:
Windows 7 / 64bit
i7 CPU with 3GhZ
12 GB RAM
256GB SSD drive

The error message looks like this:
http://127.0.0.1:24681/js/script.js 500 (Internal Server Error)

When I open http://127.0.0.1:24681/js/script.js direct in browser, the source is generated and shown after 2-4 seconds.

Perhaps you could compile the Script after saving and not in realtime?

Greetings

Bertram

Tryng to set encoding in utf-8

I bought this app yesterday and it's working really good, buy I'm not being able to find out how to set something you'll probably find quite simple: encode my html and haml files in utf-8. The files are being encoded in ISO-8859-1.

I've have RUBYOPT='-Ku', and (just in case), plus # coding: utf-8 in the first line of the files,
but I don't know how (where) to set Encoding.default_internal and/or Encoding.default_external or the :encoding option for haml...

My last attempt has been to add Haml::Template.options[:encoding] = "utf-8" to my config.rb, but that didn't work.

I'm asking here because I've been unable to find a better place. Thanks in advance for any help or clarification in this matter.

Build project with a fixed path

It would be great, if I could set a fixed path for project building. I am developing a chrome extension and deploying via Apatana is a little painfull with changing paths:-(

Greetings

Bertram

Feature Request :: Custom proj templates

A desire exists for allowing custom project templates, with a much simpler approach than compass extensions, when creating a project. When creating a new project, the user would be able to choose "Create Project" and be presented with custom templates that user has created on a sub menu for "Custom."

The Custom menu would be generated based upon a folder located within Application Support for OS X and somewhere similar for other operating systems. Inside the custom templates directory, each template would have the ability for it's on unique structure with the only requirement of a fire-info file which could contain basic info about that template and any build instructions for more advanced projects (prob something not necessary in an initial release, but it could be cool if this could execute commands, like git clone, or compiling some things etc.). When reading from the custom templates folder, any directory without a fire-info file would act as just a sub menu, so the user could nest/sort their custom templates in the event they have several different options.

When creating a project from a custom template, Fire app would act the same as it does today, launching a dialog box asking where to create it and it would then copy over the files.

Thanks!

Coffeescript not compiling

I have a coffeescript file that won't compile when I build the project. However, the same file will compile without errors using the coffee command on the command line. Furthermore, the coffeescript file compiles perfectly when I look at the JS file in directly at 127.0.0.1:24681. I've triple-checked the spacing in the coffeescript file. I am unsure what is causing the error. Here is the error message provided by Fire.

org.mozilla.javascript.JavaScriptException: SyntaxError: unmatched ) on line 36 (#8)
org/mozilla/javascript/Interpreter.java:1057:in interpretLoop' org/mozilla/javascript/Interpreter.java:854:ininterpret'
org/mozilla/javascript/InterpretedFunction.java:164:in call' org/mozilla/javascript/ContextFactory.java:426:indoTopCall'
org/mozilla/javascript/ScriptRuntime.java:3178:in doTopCall' org/mozilla/javascript/InterpretedFunction.java:162:incall'
sun/reflect/NativeMethodAccessorImpl.java:-2:in invoke0' sun/reflect/NativeMethodAccessorImpl.java:39:ininvoke'
sun/reflect/DelegatingMethodAccessorImpl.java:25:in invoke' java/lang/reflect/Method.java:597:ininvoke'
org/jruby/javasupport/JavaMethod.java:491:in invokeDirectWithExceptionHandling' /Applications/Fire.app/Contents/Resources/ruby/common/therubyrhino-1.73.1/lib/rhino/rhino_ext.rb:161:incall'
/Applications/Fire.app/Contents/Resources/ruby/common/execjs-1.3.0/lib/execjs/ruby_rhino_runtime.rb:35:in call' /Applications/Fire.app/Contents/Resources/ruby/common/coffee-script-2.2.0/lib/coffee_script.rb:57:incompile'
/Applications/Fire.app/Contents/Resources/ruby/common/tilt-1.3.3/lib/tilt/coffee.rb:46:in evaluate' /Applications/Fire.app/Contents/Resources/ruby/common/tilt-1.3.3/lib/tilt/template.rb:76:inrender'
src/webrick/httpservlet/coffeescript_handler.rb:52:in parse' org/jruby/RubyKernel.java:2084:insend'
src/ui/tray.rb:378:in build_project_handler' org/jruby/RubyDir.java:340:inglob'
src/ui/tray.rb:373:in build_project_handler' src/app.rb:203:intry'
src/ui/tray.rb:342:in build_project_handler' src/ui/tray.rb:69:inrun'
src/main.rb:49:in (root)' org/jruby/RubyKernel.java:1033:inrequire'

<script>:1:in `(root)'

Upgrading libraries

Perhaps this is not the correct place to ask the question, but I'm having a hard time figuring out how to upgrade libraries like jQuery, Bootstrap etc.

How does FireApp handle updates to the various frameworks? Does it require to download a new version of FireApp that contains updates to these frameworks?

Getting errors when requiring susy in config.rb

Just bought Fire.app to use it for reloading compass/sass and haml, but when I open my project folder I get a error that starts like this:
no such file to load -- susy

I can't require additional compass plugins if I use Fire.app?

Versioning

The config.rb file now has a setting called http_path. This variable is used for determining the (relative) root path of images inside compiled CSS files.

It would be great if there would be another parameter that also works for the image_tag and javascript_include_tag helpers. Even better if this variable is only used when creating a new build.

The reason:

When creating prototypes you'll quickly end up with different versions of a design. Right now there is no way to easily put multiple versions online like so:

http://myprototype.com/build_20120626103435
http://myprototype.com/build_20120626104316
http://myprototype.com/build_20120626104320

The only way to be able to do this is by manually changing the relative root of assets.

For example:

<link href="/stylesheets/bootstrap-responsive.css" media="screen" rel="stylesheet" type="text/css" />

to

<link href="/build_20120626103435/stylesheets/bootstrap-responsive.css" media="screen" rel="stylesheet" type="text/css" />

Or by not using folders (placing all generated html documents inside the root).

haml.erb doesn't work

The syntax file.haml.erb doesn't work on my win7 64bit computer. file.html.erb makes no problems.

Shortcut to open project folder in Finder (OSX)

It would be great if we can have a "Open in Finder" menu option, which opens the current folder in Finder for OSX. It also makes sense to open project in Finder when user creates a new project.

Any chance of Slim templates?

Feature request: How about Slim templates -- http://slim-lang.com/ ?

I'm new to all this Ruby web development, but I have (as have many others) found Slim far more easy to understand than HAML. Conceptually Slim is about the same as HAML,it is a HTML pre-processor with a terser, shorter syntax than plain HTML. But for me Slim 'makes sense' in a way HAML simply doesn't. As just an example, Thomas Reynolds, the creator of MiddlemanApp, uses Slim too.

HTML5 Boilerplate CSS Reference Incorrect

After installing a HTML5 Boilerplate project, the stylesheet reference on line 15 of index.html is incorrect. Your css (rendered scss) will not be referenced when previewing the file, as it is incorrectly linked.

Currently:
href='css/style.css'

Should be:
href='stylesheets/style.css'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.