Created
September 23, 2011 14:27
-
-
Save 1gor/1237479 to your computer and use it in GitHub Desktop.
Errors with Padrino::Contrib::Helpers::AssetsCompressor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Priorg < Padrino::Application | |
register Padrino::Rendering | |
register Padrino::Mailer | |
register Padrino::Helpers | |
register CompassInitializer | |
register Padrino::Contrib::Helpers::AssetsCompressor | |
enable :sessions | |
register Padrino::Cache | |
enable :caching | |
set :cache, Padrino::Cache::Store::File.new(Padrino.root('tmp', 'priorg', 'cache')) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id@sam:/srv/www/priorg-app$ bundle exec padrino start | |
/home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/application.rb:170:in `block in default_configuration!': wrong number of arguments (1 for 0) (ArgumentError) | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/activesupport-3.1.0/lib/active_support/core_ext/module/aliasing.rb:36:in `alias_method_chain' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-contrib-0.1.5/lib/padrino-contrib/helpers/assets_compressor.rb:35:in `included' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/sinatra-1.2.6/lib/sinatra/base.rb:1190:in `include' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/sinatra-1.2.6/lib/sinatra/base.rb:1190:in `helpers' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-contrib-0.1.5/lib/padrino-contrib/helpers/assets_compressor.rb:24:in `registered' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/sinatra-1.2.6/lib/sinatra/base.rb:1200:in `block in register' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/sinatra-1.2.6/lib/sinatra/base.rb:1198:in `each' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/sinatra-1.2.6/lib/sinatra/base.rb:1198:in `register' | |
from /srv/www/priorg-app/app/app.rb:6:in `<class:Priorg>' | |
from /srv/www/priorg-app/app/app.rb:1:in `<top (required)>' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/reloader.rb:142:in `require' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/reloader.rb:142:in `safe_load' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:140:in `block in require_dependencies' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:138:in `each' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:138:in `require_dependencies' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/mounter.rb:125:in `locate_app_object' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/mounter.rb:21:in `initialize' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/mounter.rb:189:in `new' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/mounter.rb:189:in `mount' | |
from /srv/www/priorg-app/config/apps.rb:34:in `<top (required)>' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/reloader.rb:142:in `require' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/reloader.rb:142:in `safe_load' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:140:in `block in require_dependencies' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:138:in `each' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:138:in `require_dependencies' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:56:in `block in load!' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:56:in `each' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/loader.rb:56:in `load!' | |
from /srv/www/priorg-app/config/boot.rb:33:in `<top (required)>' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/cli/base.rb:23:in `require' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/lib/padrino-core/cli/base.rb:23:in `start' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/thor-0.14.6/lib/thor/task.rb:22:in `run' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/thor-0.14.6/lib/thor/base.rb:389:in `start' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/gems/padrino-core-0.10.2/bin/padrino:9:in `<top (required)>' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/bin/padrino:19:in `load' | |
from /home/id/.rvm/gems/ruby-1.9.2-p290@priorg-app/bin/padrino:19:in `<main>' | |
id@sam:/srv/www/priorg-app$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :rubygems | |
# Server requirements | |
gem 'unicorn' | |
# Project requirements | |
gem 'rake' | |
gem 'rack-flash' | |
gem 'heroku' | |
# Component requirements | |
gem 'compass' | |
gem 'haml' | |
gem 'sequel' | |
gem 'pg' | |
group :development do | |
gem 'thin' | |
end | |
group :test do | |
gem 'rr' | |
gem 'rspec' | |
gem 'rack-test', :require => "rack/test" | |
end | |
# Padrino | |
gem 'padrino', '0.10.2' | |
gem 'yui-compressor', :require =>'yui/compressor' | |
gem 'padrino-contrib', :require=>['padrino-contrib/helpers/assets_compressor'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= stylesheet_link_tag "style", 'light/jquery-ui.css', 'light/jquery.miniColors.css', 'light/jquery.tipsy.css', 'light/jquery.uniform.css', 'light/jquery.wysiwyg.css', 'light/jquery.fullcalendar.css', 'light/jquery.elfinder.css', 'light/jquery.fancybox.css', 'light/jquery.datatables.css', "light/theme.css", :cache => "bundle/base" | |
# /.../ | |
=javascript_include_tag "jquery-1.6.2.min", "jquery-ui-1.8.16.custom.min", "functions","plugins","editor","calendar","flot","elfinder","datatables","wl_Alert","wl_Autocomplete","wl_Breadcrumb","wl_Calendar","wl_Chart","wl_Color","wl_Date","wl_Editor","wl_File","wl_Dialog","wl_Fileexplorer","wl_Form","wl_Gallery","wl_Multiselect","wl_Number","wl_Password","wl_Slider","wl_Store","wl_Time","wl_Valid","wl_Widget","config","script","hs_draggable","custom", :cache => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment