I am getting this error on a new rails app after creating a controller with rails g controller hello index. Rails is having a problem adding the css file and javascript file. Rails has worked fine before this:
Error
Full Trace:
compile ((execjs):10:18)
eval (eval at <anonymous> ((execjs):24:8), <anonymous>:1:10)
(execjs):24:8
(execjs):30:14
(execjs):1:102
Object.<anonymous> ((execjs):1:120)
Module._compile (module.js:570:32)
Object.Module._extensions..js (module.js:579:10)
Module.load (module.js:487:32)
tryModuleLoad (module.js:446:12)
execjs (2.7.0) lib/execjs/external_runtime.rb:39:in `exec'
execjs (2.7.0) lib/execjs/external_runtime.rb:21:in `eval'
execjs (2.7.0) lib/execjs/external_runtime.rb:46:in `call'
coffee-script (2.4.1) lib/coffee_script.rb:78:in `compile'
sprockets (3.7.0) lib/sprockets/coffee_script_processor.rb:21:in `block in call'
sprockets (3.7.0) lib/sprockets/cache.rb:85:in `fetch'
sprockets (3.7.0) lib/sprockets/coffee_script_processor.rb:20:in `call'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:56:in `reverse_each'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.7.0) lib/sprockets/loader.rb:134:in `load_from_unloaded'
sprockets (3.7.0) lib/sprockets/loader.rb:60:in `block in load'
sprockets (3.7.0) lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
sprockets (3.7.0) lib/sprockets/loader.rb:44:in `load'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.7.0) lib/sprockets/bundle.rb:23:in `block in call'
sprockets (3.7.0) lib/sprockets/utils.rb:196:in `dfs'
sprockets (3.7.0) lib/sprockets/bundle.rb:24:in `call'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:56:in `reverse_each'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.7.0) lib/sprockets/loader.rb:134:in `load_from_unloaded'
sprockets (3.7.0) lib/sprockets/loader.rb:60:in `block in load'
sprockets (3.7.0) lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
sprockets (3.7.0) lib/sprockets/loader.rb:44:in `load'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.7.0) lib/sprockets/base.rb:66:in `find_asset'
sprockets (3.7.0) lib/sprockets/base.rb:73:in `find_all_linked_assets'
sprockets (3.7.0) lib/sprockets/manifest.rb:142:in `block in find'
sprockets (3.7.0) lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
sprockets (3.7.0) lib/sprockets/path_utils.rb:228:in `block in stat_tree'
sprockets (3.7.0) lib/sprockets/path_utils.rb:212:in `block in stat_directory'
sprockets (3.7.0) lib/sprockets/path_utils.rb:209:in `each'
sprockets (3.7.0) lib/sprockets/path_utils.rb:209:in `stat_directory'
sprockets (3.7.0) lib/sprockets/path_utils.rb:227:in `stat_tree'
sprockets (3.7.0) lib/sprockets/legacy.rb:105:in `each'
sprockets (3.7.0) lib/sprockets/legacy.rb:105:in `block in logical_paths'
sprockets (3.7.0) lib/sprockets/legacy.rb:104:in `each'
sprockets (3.7.0) lib/sprockets/legacy.rb:104:in `logical_paths'
sprockets (3.7.0) lib/sprockets/manifest.rb:140:in `find'
sprockets-rails (3.2.0) lib/sprockets/railtie.rb:50:in `each'
sprockets-rails (3.2.0) lib/sprockets/railtie.rb:50:in `map'
sprockets-rails (3.2.0) lib/sprockets/railtie.rb:50:in `precompiled_assets'
sprockets-rails (3.2.0) lib/sprockets/railtie.rb:35:in `asset_precompiled?'
sprockets-rails (3.2.0) lib/sprockets/railtie.rb:251:in `block (3 levels) in <class:Railtie>'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:359:in `precompiled?'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:363:in `raise_unless_precompiled_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:348:in `find_debug_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:229:in `block in lookup_debug_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:242:in `block in resolve_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:241:in `each'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:241:in `detect'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:241:in `resolve_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:228:in `lookup_debug_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:170:in `block in stylesheet_link_tag'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:169:in `map'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:169:in `stylesheet_link_tag'
app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__3755913814887945423_70333854259400'
actionview (5.0.0.1) lib/action_view/template.rb:158:in `block in render'
activesupport (5.0.0.1) lib/active_support/notifications.rb:166:in `instrument'
actionview (5.0.0.1) lib/action_view/template.rb:348:in `instrument'
actionview (5.0.0.1) lib/action_view/template.rb:156:in `render'
actionview (5.0.0.1) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
actionview (5.0.0.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (5.0.0.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (5.0.0.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (5.0.0.1) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (5.0.0.1) lib/action_view/rendering.rb:103:in `_render_template'
actionpack (5.0.0.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (5.0.0.1) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
actionpack (5.0.0.1) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
actionpack (5.0.0.1) lib/abstract_controller/rendering.rb:26:in `render'
actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:36:in `render'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
activesupport (5.0.0.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
activesupport (5.0.0.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
actionpack (5.0.0.1) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `tap'
actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process'
actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process'
actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch'
actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch'
actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
rack (2.0.1) lib/rack/etag.rb:25:in `call'
rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.1) lib/rack/head.rb:12:in `call'
rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
web-console (3.4.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.4.0) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.4.0) lib/web_console/middleware.rb:18:in `catch'
web-console (3.4.0) lib/web_console/middleware.rb:18:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged'
railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.1) lib/rack/method_override.rb:22:in `call'
rack (2.0.1) lib/rack/runtime.rb:22:in `call'
activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
railties (5.0.0.1) lib/rails/engine.rb:522:in `call'
puma (3.6.2) lib/puma/configuration.rb:225:in `call'
puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
puma (3.6.2) lib/puma/server.rb:415:in `process_client'
puma (3.6.2) lib/puma/server.rb:275:in `block in run'
puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
same problem, change version of gem coffee-script-source from 1.12.1 to 1.11.1
in Gemfile
gem 'coffee-script-source', '= 1.11.1'
I just had this problem with coffeescript and my quick fix was to add
gem "coffee-script-source", "~> 1.10.0"
to my Gemfile and run bundle update coffee-script-source in the console. Seems to be a problem with that gem.
I solved it in a different way. Remove the comments from
//require jquery
//require jquery_ujs
//require turbolinks
//require_tree.
from the /app/javascripts/application.js file
That solved the problem for me.
Related
Have a problem when I run rails s. I cannot see anything on my browser.
I am using localhost 3000 and when I look in the browser nothing shows.
C:\Sites\Zoom>rails s
=> Booting Puma
=> Rails 5.1.4 application starting in development
=> Run `rails server -h` for more startup options
*** SIGUSR2 not implemented, signal based restart unavailable!
*** SIGUSR1 not implemented, signal based restart unavailable!
*** SIGHUP not implemented, signal based logs reopening unavailable!
Puma starting in single mode...
* Version 3.10.0 (ruby 2.3.3-p222), codename: Russell's Teapot
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
Started GET "/" for 127.0.0.1 at 2018-09-02 21:33:48 +0300
(1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by StaticPagesController#root as HTML
Rendering static_pages/root.html.erb within layouts/application
Rendered static_pages/root.html.erb within layouts/application (9.0ms)
Started GET "/" for 127.0.0.1 at 2018-09-02 21:33:52 +0300
Processing by StaticPagesController#root as HTML
Rendering static_pages/root.html.erb within layouts/application
Rendered static_pages/root.html.erb within layouts/application (1.0ms)
Completed 500 Internal Server Error in 14958ms (ActiveRecord: 0.0ms)
RuntimeError - can't add a new key into hash during iteration:
C:/RailsInstaller/Ruby2.3.3/lib/ruby/2.3.0/set.rb:153:in `replace'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/2.3.0/set.rb:360:in `collect!'
sprockets (3.7.1) lib/sprockets/loader.rb:85:in `asset_from_cache'
sprockets (3.7.1) lib/sprockets/loader.rb:57:in `block in load'
sprockets (3.7.1) lib/sprockets/loader.rb:311:in `block in fetch_asset_from_dependency_cache'
sprockets (3.7.1) lib/sprockets/loader.rb:307:in `fetch_asset_from_dependency_cache'
sprockets (3.7.1) lib/sprockets/loader.rb:44:in `load'
sprockets (3.7.1) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.7.1) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.7.1) lib/sprockets/bundle.rb:23:in `block in call'
sprockets (3.7.1) lib/sprockets/utils.rb:200:in `dfs'
sprockets (3.7.1) lib/sprockets/bundle.rb:24:in `call'
sprockets (3.7.1) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.7.1) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.7.1) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.7.1) lib/sprockets/loader.rb:134:in `load_from_unloaded'
sprockets (3.7.1) lib/sprockets/loader.rb:60:in `block in load'
sprockets (3.7.1) lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
sprockets (3.7.1) lib/sprockets/loader.rb:44:in `load'
sprockets (3.7.1) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.7.1) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.7.1) lib/sprockets/base.rb:66:in `find_asset'
sprockets (3.7.1) lib/sprockets/base.rb:92:in `[]'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:355:in `find_asset'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:347:in `find_debug_asset'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:229:in `block in lookup_debug_asset'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:242:in `block in resolve_asset'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:241:in `resolve_asset'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:228:in `lookup_debug_asset'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:141:in `block in javascript_include_tag'
sprockets-rails (3.2.1) lib/sprockets/rails/helper.rb:140:in `javascript_include_tag'
app/views/layouts/application.html.erb:26:in `_app_views_layouts_application_html_erb___677905375_75171192'
actionview (5.1.4) lib/action_view/template.rb:157:in `block in render'
activesupport (5.1.4) lib/active_support/notifications.rb:168:in `instrument'
actionview (5.1.4) lib/action_view/template.rb:352:in `instrument_render_template'
actionview (5.1.4) lib/action_view/template.rb:155:in `render'
actionview (5.1.4) lib/action_view/renderer/template_renderer.rb:64:in `render_with_layout'
actionview (5.1.4) lib/action_view/renderer/template_renderer.rb:50:in `render_template'
actionview (5.1.4) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (5.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (5.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (5.1.4) lib/action_view/rendering.rb:103:in `_render_template'
actionpack (5.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (5.1.4) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
actionpack (5.1.4) lib/action_controller/metal/renderers.rb:141:in `render_to_body'
actionpack (5.1.4) lib/abstract_controller/rendering.rb:24:in `render'
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:36:in `render'
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
activesupport (5.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
C:/RailsInstaller/Ruby2.3.3/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
activesupport (5.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:29:in `cleanup_view_runtime'
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:43:in `render'
actionpack (5.1.4) lib/action_controller/metal/implicit_render.rb:33:in `default_render'
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
rack (2.0.3) lib/rack/etag.rb:25:in `call'
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.3) lib/rack/head.rb:12:in `call'
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
better_errors (2.3.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (2.3.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (2.3.0) lib/better_errors/middleware.rb:57:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
rack-livereload (0.3.16) lib/rack/livereload.rb:23:in `_call'
rack-livereload (0.3.16) lib/rack/livereload.rb:14:in `call'
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
railties (5.1.4) lib/rails/engine.rb:522:in `call'
puma (3.10.0) lib/puma/configuration.rb:225:in `call'
puma (3.10.0) lib/puma/server.rb:605:in `handle_request'
puma (3.10.0) lib/puma/server.rb:437:in `process_client'
puma (3.10.0) lib/puma/server.rb:3enter code here01:in `block in run'
puma (3.10.0) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Completed 200 OK in 11953ms (Views: 11941.5ms | ActiveRecord: 0.0ms)
How can I fix this?
i'm following this step on the github
https://github.com/daniel-nagy/md-data-table
i use rails asset to my gemfile
i follow the instruction here: https://rails-assets.org/#/components/angular-material-data-table
gem 'rails-assets-angular-material-data-table'
and this is the dependency i follow in the github
#= require angular-animate
#= require angular-aria
#= require angular-messages
#= require angular-route
#= require angular-sanitize
#= require angular-cookies
#= require angular-material
#= require moment
#= require angular-moment
#= require angular-filter
#= require ng-rails-csrf
#= require angularjs-viewhead
#= require ./lib/ngDraggable
#= require angular-material-icons
#= require angular-material-data-table
#= require ./lib/jquery.flexslider
#= require ./lib/angular-flexslider
angular
.module "App", ["ngAnimate", "ngAria", "ngMessages", "ngRoute",
"ngSanitize", "ngCookies", "ngMaterial", "angularMoment",
"angular.filter", "ng-rails-csrf", "viewhead",
"ngDraggable", "ngMdIcons", "md.data.table", "angular-flexslider"]
i follow all the instruction but this gives me error??
Sass::SyntaxError - File to import not found or unreadable: md-data-table.
Load paths:
/Users/cdasia-tsd/revampCAES/app/assets/config
/Users/cdasia-tsd/revampCAES/app/assets/fonts
/Users/cdasia-tsd/revampCAES/app/assets/images
/Users/cdasia-tsd/revampCAES/app/assets/javascripts
/Users/cdasia-tsd/revampCAES/app/assets/stylesheets
/Users/cdasia-tsd/revampCAES/vendor/assets/javascripts
/Users/cdasia-tsd/revampCAES/vendor/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/ng-rails-csrf-0.1.0/vendor/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/doorkeeper-4.0.0/app/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/doorkeeper-4.0.0/vendor/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-smart-table-2.1.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-ng-file-upload-12.2.12/app/assets/flash
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-ng-file-upload-12.2.12/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-data-table-0.10.9/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-data-table-0.10.9/app/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-icons-0.6.0/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-icons-0.6.0/app/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-icons-0.6.0/app/assets/templates
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-lodash-3.10.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-file-upload-2.3.4/app/assets/documents
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-file-upload-2.3.4/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-file-model-0.3.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-jquery.browser-0.1.0/app/assets/documents
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-jquery.browser-0.1.0/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-fastclick-1.0.6/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-velocity-1.2.3/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-velocity-1.2.3/app/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-velocity-1.2.3/app/assets/templates
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-string-3.3.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-jquery.scrollTo-2.1.2/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-filter-0.5.11/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angularjs-viewhead-0.0.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angularjs-viewhead-0.0.1/app/assets/templates
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-translate-storage-local-2.12.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-translate-storage-cookie-2.12.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-translate-loader-partial-2.12.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-translate-loader-static-files-2.12.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-translate-2.12.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-moment-0.2.0/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-moment-2.1.0/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-cookies-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-sanitize-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-resource-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-route-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-1.1.1/app/assets/fonts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-1.1.1/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-material-1.1.1/app/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-messages-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-animate-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-aria-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-1.5.8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-angular-1.5.8/app/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-jquery-2.1.4/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-respond-1.4.2/app/assets/images
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-respond-1.4.2/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-respond-1.4.2/app/assets/templates
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/rails-assets-html5shiv-3.7.3/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/js-routes-1.3.0/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/zeroclipboard-rails-0.1.2/app/assets/images
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/zeroclipboard-rails-0.1.2/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/coffee-rails-4.1.1/lib/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/bundler/gems/ckeditor-2dfb02f29fd8/app/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/bundler/gems/ckeditor-2dfb02f29fd8/app/assets/stylesheets
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/bundler/gems/ckeditor-2dfb02f29fd8/vendor/assets/javascripts
/Users/cdasia-tsd/.rvm/gems/ruby-2.3.1/gems/actioncable-5.0.0.1/lib/assets/compiled:
sass (3.4.22) lib/sass/tree/import_node.rb:67:in `rescue in import'
sass (3.4.22) lib/sass/tree/import_node.rb:45:in `import'
sass (3.4.22) lib/sass/tree/import_node.rb:28:in `imported_file'
sass (3.4.22) lib/sass/tree/import_node.rb:37:in `css_import?'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:313:in `visit_import'
sass (3.4.22) lib/sass/tree/visitors/base.rb:36:in `visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:in `block in visit'
sass (3.4.22) lib/sass/stack.rb:79:in `block in with_base'
sass (3.4.22) lib/sass/stack.rb:115:in `with_frame'
sass (3.4.22) lib/sass/stack.rb:79:in `with_base'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:160:in `visit'
sass (3.4.22) lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
sass (3.4.22) lib/sass/tree/visitors/base.rb:52:in `visit_children'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:169:in `block in visit_children'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:181:in `with_environment'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:168:in `visit_children'
sass (3.4.22) lib/sass/tree/visitors/base.rb:36:in `block in visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:188:in `visit_root'
sass (3.4.22) lib/sass/tree/visitors/base.rb:36:in `visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:159:in `visit'
sass (3.4.22) lib/sass/tree/visitors/perform.rb:8:in `visit'
sass (3.4.22) lib/sass/tree/root_node.rb:36:in `css_tree'
sass (3.4.22) lib/sass/tree/root_node.rb:20:in `render'
sass (3.4.22) lib/sass/engine.rb:281:in `render'
sass-rails (5.0.6) lib/sass/rails/template.rb:47:in `evaluate'
tilt (2.0.5) lib/tilt/template.rb:102:in `render'
sprockets (3.7.0) lib/sprockets/legacy_tilt_processor.rb:25:in `call'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.7.0) lib/sprockets/loader.rb:134:in `load_from_unloaded'
sprockets (3.7.0) lib/sprockets/loader.rb:60:in `block in load'
sprockets (3.7.0) lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
sprockets (3.7.0) lib/sprockets/loader.rb:44:in `load'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.7.0) lib/sprockets/bundle.rb:23:in `block in call'
sprockets (3.7.0) lib/sprockets/utils.rb:196:in `dfs'
sprockets (3.7.0) lib/sprockets/bundle.rb:24:in `call'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.7.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.7.0) lib/sprockets/loader.rb:134:in `load_from_unloaded'
sprockets (3.7.0) lib/sprockets/loader.rb:60:in `block in load'
sprockets (3.7.0) lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
sprockets (3.7.0) lib/sprockets/loader.rb:44:in `load'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.7.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.7.0) lib/sprockets/base.rb:66:in `find_asset'
sprockets (3.7.0) lib/sprockets/base.rb:92:in `[]'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:355:in `find_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:347:in `find_debug_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:229:in `block in lookup_debug_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:242:in `block in resolve_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:241:in `resolve_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:228:in `lookup_debug_asset'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:170:in `block in stylesheet_link_tag'
sprockets-rails (3.2.0) lib/sprockets/rails/helper.rb:169:in `stylesheet_link_tag'
app/views/shared/_head.html.slim:11:in `_app_views_shared__head_html_slim___458961673759728409_70167772754560'
actionview (5.0.0.1) lib/action_view/template.rb:158:in `block in render'
activesupport (5.0.0.1) lib/active_support/notifications.rb:166:in `instrument'
actionview (5.0.0.1) lib/action_view/template.rb:348:in `instrument'
actionview (5.0.0.1) lib/action_view/template.rb:156:in `render'
actionview (5.0.0.1) lib/action_view/renderer/partial_renderer.rb:343:in `render_partial'
actionview (5.0.0.1) lib/action_view/renderer/partial_renderer.rb:311:in `block in render'
actionview (5.0.0.1) lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument'
actionview (5.0.0.1) lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
actionview (5.0.0.1) lib/action_view/renderer/partial_renderer.rb:310:in `render'
actionview (5.0.0.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (5.0.0.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
app/views/layouts/application.html.slim:3:in `_app_views_layouts_application_html_slim__1030391115330471261_70167779026200'
actionview (5.0.0.1) lib/action_view/template.rb:158:in `block in render'
activesupport (5.0.0.1) lib/active_support/notifications.rb:166:in `instrument'
actionview (5.0.0.1) lib/action_view/template.rb:348:in `instrument'
actionview (5.0.0.1) lib/action_view/template.rb:156:in `render'
actionview (5.0.0.1) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
actionview (5.0.0.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (5.0.0.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (5.0.0.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (5.0.0.1) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (5.0.0.1) lib/action_view/rendering.rb:103:in `_render_template'
actionpack (5.0.0.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (5.0.0.1) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
actionpack (5.0.0.1) lib/action_controller/metal/renderers.rb:144:in `render_to_body'
actionpack (5.0.0.1) lib/abstract_controller/rendering.rb:26:in `render'
actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:36:in `render'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
activesupport (5.0.0.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/cdasia-tsd/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
activesupport (5.0.0.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
wicked_pdf (1.1.0) lib/wicked_pdf/pdf_helper.rb:42:in `render_with_wicked_pdf'
wicked_pdf (1.1.0) lib/wicked_pdf/pdf_helper.rb:27:in `render'
actionpack (5.0.0.1) lib/action_controller/metal/implicit_render.rb:36:in `default_render'
actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument'
actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process'
actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process'
actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch'
actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch'
actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
warden (1.2.6) lib/warden/manager.rb:34:in `call'
rack (2.0.1) lib/rack/etag.rb:25:in `call'
rack (2.0.1) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.1) lib/rack/head.rb:12:in `call'
rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged'
railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call'
request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.1) lib/rack/method_override.rb:22:in `call'
rack (2.0.1) lib/rack/runtime.rb:22:in `call'
activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call'
rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
railties (5.0.0.1) lib/rails/engine.rb:522:in `call'
puma (3.6.0) lib/puma/configuration.rb:225:in `call'
puma (3.6.0) lib/puma/server.rb:578:in `handle_request'
puma (3.6.0) lib/puma/server.rb:415:in `process_client'
puma (3.6.0) lib/puma/server.rb:275:in `block in run'
puma (3.6.0) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
Started POST "/__better_errors/2d3a8fa1c117d67e/variables" for ::1 at 2016-11-03 18:41:25 +0800
So I use this gem: gem 'rails-assets-purecss', '~> 0.6.0' to fetch the purecss library.
Now how can I include it into my project? *= require purecss and *= require_tree purecss both throw errors.
I understand that this library has many folders inside of it with each containing seperate files. But should the require_tree not be the tool for this kind of job then?
Errors:
Sprockets::FileNotFound - couldn't find file 'purecss' with type 'text/css':
app/assets/stylesheets/application.css.scss:3:in `'
sprockets (3.1.0) lib/sprockets/resolve.rb:64:in `resolve!'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:399:in `resolve'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:207:in `process_require_directive'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:180:in `block in process_directives'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:178:in `each'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:178:in `process_directives'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:83:in `_call'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:68:in `call'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `reverse_each'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.1.0) lib/sprockets/loader.rb:86:in `load_asset_by_uri'
sprockets (3.1.0) lib/sprockets/loader.rb:45:in `block in load'
sprockets (3.1.0) lib/sprockets/loader.rb:156:in `fetch_asset_from_dependency_cache'
sprockets (3.1.0) lib/sprockets/loader.rb:38:in `load'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `yield'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.1.0) lib/sprockets/bundle.rb:23:in `block in call'
sprockets (3.1.0) lib/sprockets/utils.rb:183:in `dfs'
sprockets (3.1.0) lib/sprockets/bundle.rb:24:in `call'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `reverse_each'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.1.0) lib/sprockets/loader.rb:86:in `load_asset_by_uri'
sprockets (3.1.0) lib/sprockets/loader.rb:45:in `block in load'
sprockets (3.1.0) lib/sprockets/loader.rb:156:in `fetch_asset_from_dependency_cache'
sprockets (3.1.0) lib/sprockets/loader.rb:38:in `load'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `yield'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.1.0) lib/sprockets/base.rb:63:in `find_asset'
sprockets (3.1.0) lib/sprockets/environment.rb:30:in `find_asset'
sprockets (3.1.0) lib/sprockets/base.rb:89:in `[]'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:243:in `lookup_asset_for_path'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:203:in `check_errors_for'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:172:in `block in stylesheet_link_tag'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:171:in `map'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:171:in `stylesheet_link_tag'
app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___2778102101062006255_69903052436420'
actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.0) lib/action_view/template.rb:143:in `render'
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/kaspar/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
app/controllers/application_controller.rb:35:in `intercept_html_requests'
activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.6.1) lib/rack/etag.rb:24:in `call'
rack (1.6.1) lib/rack/conditionalget.rb:25:in `call'
rack (1.6.1) lib/rack/head.rb:13:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
rack (1.6.1) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.1) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.1) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.1) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
rack (1.6.1) lib/rack/lock.rb:17:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
rack (1.6.1) lib/rack/sendfile.rb:113:in `call'
railties (4.2.0) lib/rails/engine.rb:518:in `call'
railties (4.2.0) lib/rails/application.rb:164:in `call'
passenger (5.0.7) lib/phusion_passenger/rack/thread_handler_extension.rb:89:in `process_request'
passenger (5.0.7) lib/phusion_passenger/request_handler/thread_handler.rb:155:in `accept_and_process_next_request'
passenger (5.0.7) lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
passenger (5.0.7) lib/phusion_passenger/request_handler.rb:414:in `block (3 levels) in start_threads'
passenger (5.0.7) lib/phusion_passenger/utils.rb:111:in `block in create_thread_and_abort_on_exception'
Sprockets::ArgumentError - require_tree argument must be a relative path:
app/assets/stylesheets/application.css.scss:3:in `'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:383:in `expand_relative_dirname'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:244:in `process_require_tree_directive'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:180:in `block in process_directives'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:178:in `each'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:178:in `process_directives'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:83:in `_call'
sprockets (3.1.0) lib/sprockets/directive_processor.rb:68:in `call'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `reverse_each'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.1.0) lib/sprockets/loader.rb:86:in `load_asset_by_uri'
sprockets (3.1.0) lib/sprockets/loader.rb:45:in `block in load'
sprockets (3.1.0) lib/sprockets/loader.rb:156:in `fetch_asset_from_dependency_cache'
sprockets (3.1.0) lib/sprockets/loader.rb:38:in `load'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `yield'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.1.0) lib/sprockets/bundle.rb:23:in `block in call'
sprockets (3.1.0) lib/sprockets/utils.rb:183:in `dfs'
sprockets (3.1.0) lib/sprockets/bundle.rb:24:in `call'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `reverse_each'
sprockets (3.1.0) lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets (3.1.0) lib/sprockets/loader.rb:86:in `load_asset_by_uri'
sprockets (3.1.0) lib/sprockets/loader.rb:45:in `block in load'
sprockets (3.1.0) lib/sprockets/loader.rb:156:in `fetch_asset_from_dependency_cache'
sprockets (3.1.0) lib/sprockets/loader.rb:38:in `load'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `yield'
sprockets (3.1.0) lib/sprockets/cached_environment.rb:47:in `load'
sprockets (3.1.0) lib/sprockets/base.rb:63:in `find_asset'
sprockets (3.1.0) lib/sprockets/environment.rb:30:in `find_asset'
sprockets (3.1.0) lib/sprockets/base.rb:89:in `[]'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:243:in `lookup_asset_for_path'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:203:in `check_errors_for'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:172:in `block in stylesheet_link_tag'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:171:in `map'
sprockets-rails (2.3.1) lib/sprockets/rails/helper.rb:171:in `stylesheet_link_tag'
app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___3221601988042554075_70183562561420'
actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'
activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
actionview (4.2.0) lib/action_view/template.rb:143:in `render'
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/kaspar/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
app/controllers/application_controller.rb:35:in `intercept_html_requests'
activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.6.1) lib/rack/etag.rb:24:in `call'
rack (1.6.1) lib/rack/conditionalget.rb:25:in `call'
rack (1.6.1) lib/rack/head.rb:13:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
rack (1.6.1) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.1) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.1) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.1) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
rack (1.6.1) lib/rack/lock.rb:17:in `call'
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
rack (1.6.1) lib/rack/sendfile.rb:113:in `call'
railties (4.2.0) lib/rails/engine.rb:518:in `call'
railties (4.2.0) lib/rails/application.rb:164:in `call'
passenger (5.0.7) lib/phusion_passenger/rack/thread_handler_extension.rb:89:in `process_request'
passenger (5.0.7) lib/phusion_passenger/request_handler/thread_handler.rb:155:in `accept_and_process_next_request'
passenger (5.0.7) lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
passenger (5.0.7) lib/phusion_passenger/request_handler.rb:414:in `block (3 levels) in start_threads'
passenger (5.0.7) lib/phusion_passenger/utils.rb:111:in `block in create_thread_and_abort_on_exception'
GEMfile:
source 'http://rubygems.org'
# Environment versions. These versions will be used for main development
# Make sure your own environment contains the same versions of Ruby and Ruby on Rails
ruby '2.2.0'
gem 'rails', '4.2.0'
# Gems for assets
gem 'sass-rails', '~> 5.0.3'
gem 'coffee-rails'
gem 'sprockets'
# Database gems
gem 'pg'
gem 'schema_plus'
gem 'redis'
# Rails server
gem 'passenger'
# Common gems
gem 'quiet_assets'
gem 'uglifier', '>= 1.3.0'
gem 'turbolinks'
gem 'jbuilder', '~> 2.2.11'
gem 'sdoc', '~> 0.4.1', group: :doc
gem 'devise'
gem 'paperclip'
gem 'active_model_serializers', '~> 0.10.0.rc2'
#gem 'active_model_serializers', '~> 0.9.3'
#gem 'active_model_serializers', '~> 0.8.3'
#gem 'active_model_serializers', github: 'rails-api/active_model_serializers'
group :development do
gem 'better_errors'
gem 'binding_of_caller', :platforms=>[:mri_21]
gem 'rails_layout'
end
group :production do
gem 'rails_12factor'
end
# Included web assets required by the project
source 'https://rails-assets.org' do
gem 'rails-assets-bootstrap', '~> 3.3.5'
gem 'rails-assets-purecss', '~> 0.6.0'
gem 'rails-assets-angular', '~> 1.4.1'
gem 'rails-assets-angular-route', '~> 1.4.1'
gem 'rails-assets-angular-resource', '~> 1.4.1'
end
Recently installed Ubuntu 14.04 amd64 and also installed rails 3.2.16 but when I try to run a rails application I have this error that I didn't have in Ubuntu 12.04 amd64:
Sass::SyntaxError at /
".date" failed to #extend ".date".
The selector ".date" was not found.
Use "#extend .date !optional" if the extend should be able to fail.
If I use !optional have the next error:
"#sub-header-schedules .modal .dialog" failed to #extend ".modal-lg".
The selector ".modal-lg" was not found.
Use "#extend .modal-lg !optional" if the extend should be able to fail.
In the terminal server I get the following:
Started GET "/" for 127.0.0.1 at 2014-04-29 13:01:26 -0300
Processing by Devise::SessionsController#new as HTML
Rendered devise/sessions/new.html.haml within layouts/application (2.6ms)
Warning. Error encountered while saving cache /home/leonel/workspace/cultural/tmp/cache/sass/7f514e7fa7713122c182bcdb2a4a8f148548b8de/application.css.scssc: can't dump anonymous class #<Class:0x00000004e405f8>
Warning. Error encountered while saving cache /home/leonel/workspace/cultural/tmp/cache/sass/da56d9de77964072bd800d55c1ebc7f2475a4e93/bootstrap.scssc: can't dump anonymous class #<Class:0x00000004e405f8>
....
.... (the same error much times).
....
Warning. Error encountered while saving cache /home/leonel/workspace/cultural/tmp/cache/sass/e2891a7f50f255dd8c1d3cc31ddf861078fa5098/_responsive-utilities.scssc: can't dump anonymous class #<Class:0x00000004e405f8>
Completed 500 Internal Server Error in 6761.3ms
Sass::SyntaxError - "#sub-header-schedules .modal .dialog" failed to #extend ".modal-lg".
The selector ".modal-lg" was not found.
Use "#extend .modal-lg !optional" if the extend should be able to fail.
(in /home/leonel/workspace/cultural/app/assets/stylesheets/schedules.css.scss):
app/assets/stylesheets/schedules.css.scss:49:in `'
sass (3.3.6) lib/sass/tree/visitors/extend.rb:65:in `block in check_extends_fired!'
sass (3.3.6) lib/sass/util/subset_map.rb:106:in `block in each_value'
sass (3.3.6) lib/sass/util/subset_map.rb:106:in `each'
sass (3.3.6) lib/sass/util/subset_map.rb:106:in `each_value'
sass (3.3.6) lib/sass/tree/visitors/extend.rb:50:in `check_extends_fired!'
sass (3.3.6) lib/sass/tree/visitors/extend.rb:16:in `visit'
sass (3.3.6) lib/sass/tree/root_node.rb:39:in `css_tree'
sass (3.3.6) lib/sass/tree/root_node.rb:20:in `render'
sass (3.3.6) lib/sass/engine.rb:274:in `render'
sass-rails (3.2.6) lib/sass/rails/template_handlers.rb:106:in `evaluate'
tilt (1.4.1) lib/tilt/template.rb:103:in `render'
sprockets (2.2.2) lib/sprockets/context.rb:193:in `block in evaluate'
sprockets (2.2.2) lib/sprockets/context.rb:190:in `each'
sprockets (2.2.2) lib/sprockets/context.rb:190:in `evaluate'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:12:in `initialize'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `new'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:270:in `circular_call_protection'
sprockets (2.2.2) lib/sprockets/base.rb:248:in `build_asset'
sprockets (2.2.2) lib/sprockets/index.rb:93:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.2.2) lib/sprockets/index.rb:92:in `build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:169:in `find_asset'
sprockets (2.2.2) lib/sprockets/index.rb:60:in `find_asset'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:105:in `each'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:97:in `build_required_assets'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:16:in `initialize'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `new'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:270:in `circular_call_protection'
sprockets (2.2.2) lib/sprockets/base.rb:248:in `build_asset'
sprockets (2.2.2) lib/sprockets/index.rb:93:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.2.2) lib/sprockets/index.rb:92:in `build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:169:in `find_asset'
sprockets (2.2.2) lib/sprockets/index.rb:60:in `find_asset'
sprockets (2.2.2) lib/sprockets/bundled_asset.rb:16:in `initialize'
sprockets (2.2.2) lib/sprockets/base.rb:252:in `new'
sprockets (2.2.2) lib/sprockets/base.rb:252:in `build_asset'
sprockets (2.2.2) lib/sprockets/index.rb:93:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.2.2) lib/sprockets/index.rb:92:in `build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:169:in `find_asset'
sprockets (2.2.2) lib/sprockets/index.rb:60:in `find_asset'
sprockets (2.2.2) lib/sprockets/environment.rb:78:in `find_asset'
sprockets (2.2.2) lib/sprockets/base.rb:177:in `[]'
actionpack (3.2.15) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for'
actionpack (3.2.15) lib/sprockets/helpers/rails_helper.rb:44:in `block in stylesheet_link_tag'
actionpack (3.2.15) lib/sprockets/helpers/rails_helper.rb:43:in `collect'
actionpack (3.2.15) lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag'
app/views/layouts/application.html.haml:5:in `_app_views_layouts_application_html_haml___2609725584303133974_55895000'
actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout'
actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/leonel/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.15) lib/action_controller/metal/responder.rb:232:in `default_render'
actionpack (3.2.15) lib/action_controller/metal/responder.rb:160:in `to_html'
actionpack (3.2.15) lib/action_controller/metal/responder.rb:153:in `respond'
actionpack (3.2.15) lib/action_controller/metal/responder.rb:146:in `call'
actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:239:in `respond_with'
devise (3.2.4) app/controllers/devise/sessions_controller.rb:10:in `new'
actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.15) lib/active_support/callbacks.rb:469:in `_run__3604410908179199061__process_action__17356013541981432__callbacks'
activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
actionpack (3.2.15) lib/action_dispatch/routing/mapper.rb:43:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__1697630983147312074__call__2699906360018486957__callbacks'
activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
railties (3.2.15) lib/rails/engine.rb:484:in `call'
railties (3.2.15) lib/rails/application.rb:231:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
thin (1.6.2) lib/thin/connection.rb:86:in `block in pre_process'
thin (1.6.2) lib/thin/connection.rb:84:in `catch'
thin (1.6.2) lib/thin/connection.rb:84:in `pre_process'
thin (1.6.2) lib/thin/connection.rb:53:in `process'
thin (1.6.2) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
thin (1.6.2) lib/thin/backends/base.rb:73:in `start'
thin (1.6.2) lib/thin/server.rb:162:in `start'
rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
rack (1.4.5) lib/rack/server.rb:268:in `start'
railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
railties (3.2.15) lib/rails/commands.rb:50:in `tap'
railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
script/rails:6:in `require'
script/rails:6:in `<main>'
The error is here:
My css files:
https://gist.github.com/jlgasparrini/11405496
You need to change ordering in application.css.scss as below:
/*
*= require jquery.ui.core
*= require jquery.ui.theme
*= require _font-awesome
*= require token-input-facebook
*= require dataTables/src/demo_table_jui
*= require bootstrap-multiselect
*= require bootstrap-datetimepicker
*= require fullcalendar
*= require fullcalendar.print
*= require dataTables/extras/TableTools
*= require dataTables/extras/TableTools_JUI
*/
/* Shifted below mentioned line */
/*
*= require_self
*= require_tree .
*/
#import "bootstrap";
schedules.css.scss is loaded with *= require_tree . statement and as you are using classes defined in other libraries you need to load them first so they can be used in schedules.css.scss
I had a problem with bootstrap-sass version.
Solved it with:
gem uninstall bootstrap-sass -v 3.1.1.1 && gem uninstall bootstrap-sass -v 3.1.1.0
Recently I added Tinymce to my active-admin interface. So that all text areas would have that editor.
I followed these 2 years old guidlines
I did everything like there, then after server restart I get this error:
C:/Users/Edza/Documents/Aptana Studio 3 Workspace/darbs/app/assets/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js has a invalid UTF-8 byte sequence
I searched for other solution, found this: https://github.com/spohlenz/tinymce-rails/issues/118
There is said that I need to install newest version off Tinymce by addin this in gem " tinymce-rails", "~> 3.5.9.pre2" in Gemfile. I ran bundle install, restarted the server but still got the same error.
Q Should I look for recent guide to add tinymce in active admin? Because 2 years old can be too old ? Or there is other problem over there?
Update
sprockets (2.2.2) lib/sprockets/utils.rb:19:in `block (2 levels) in read_unicode'
sprockets (2.2.2) lib/sprockets/utils.rb:13:in `tap'
sprockets (2.2.2) lib/sprockets/utils.rb:13:in `block in read_unicode'
sprockets (2.2.2) lib/sprockets/utils.rb:12:in `open'
sprockets (2.2.2) lib/sprockets/utils.rb:12:in `open'
sprockets (2.2.2) lib/sprockets/utils.rb:12:in `read_unicode'
sprockets (2.2.2) lib/sprockets/context.rb:184:in `evaluate'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:12:in `initialize'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `new'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:270:in `circular_call_protection'
sprockets (2.2.2) lib/sprockets/base.rb:248:in `build_asset'
sprockets (2.2.2) lib/sprockets/index.rb:93:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.2.2) lib/sprockets/index.rb:92:in `build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:169:in `find_asset'
sprockets (2.2.2) lib/sprockets/index.rb:60:in `find_asset'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:105:in `each'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:97:in `build_required_assets'
sprockets (2.2.2) lib/sprockets/processed_asset.rb:16:in `initialize'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `new'
sprockets (2.2.2) lib/sprockets/base.rb:249:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:270:in `circular_call_protection'
sprockets (2.2.2) lib/sprockets/base.rb:248:in `build_asset'
sprockets (2.2.2) lib/sprockets/index.rb:93:in `block in build_asset'
sprockets (2.2.2) lib/sprockets/caching.rb:19:in `cache_asset'
sprockets (2.2.2) lib/sprockets/index.rb:92:in `build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:169:in `find_asset'
sprockets (2.2.2) lib/sprockets/index.rb:60:in `find_asset'
sprockets (2.2.2) lib/sprockets/bundled_asset.rb:38:in `init_with'
sprockets (2.2.2) lib/sprockets/asset.rb:24:in `from_hash'
sprockets (2.2.2) lib/sprockets/caching.rb:15:in `cache_asset'
sprockets (2.2.2) lib/sprockets/index.rb:92:in `build_asset'
sprockets (2.2.2) lib/sprockets/base.rb:169:in `find_asset'
sprockets (2.2.2) lib/sprockets/index.rb:60:in `find_asset'
sprockets (2.2.2) lib/sprockets/environment.rb:78:in `find_asset'
sprockets (2.2.2) lib/sprockets/base.rb:177:in `[]'
actionpack (3.2.13) lib/sprockets/helpers/rails_helper.rb:126:in `asset_for'
actionpack (3.2.13) lib/sprockets/helpers/rails_helper.rb:27:in `block in javascript_include_tag'
actionpack (3.2.13) lib/sprockets/helpers/rails_helper.rb:26:in `collect'
actionpack (3.2.13) lib/sprockets/helpers/rails_helper.rb:26:in `javascript_include_tag'
app/views/home/index.html.erb:9:in `_app_views_home_index_html_erb__950850484_38370048'
actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__214337580__process_action__565932412__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
warden (1.2.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__922026778__call__493736183__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
thin (1.5.1) lib/thin/connection.rb:81:in `block in pre_process'
thin (1.5.1) lib/thin/connection.rb:79:in `catch'
thin (1.5.1) lib/thin/connection.rb:79:in `pre_process'
thin (1.5.1) lib/thin/connection.rb:54:in `process'
thin (1.5.1) lib/thin/connection.rb:39:in `receive_data'
eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run_machine'
eventmachine-1.0.3-x86 (mingw32) lib/eventmachine.rb:187:in `run'
thin (1.5.1) lib/thin/backends/base.rb:63:in `start'
thin (1.5.1) lib/thin/server.rb:159:in `start'
rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
rack (1.4.5) lib/rack/server.rb:268:in `start'
railties (3.2.13) lib/rails/commands/server.rb:70:in `start'
railties (3.2.13) lib/rails/commands.rb:55:in `block in <top (required)>'
railties (3.2.13) lib/rails/commands.rb:50:in `tap'
railties (3.2.13) lib/rails/commands.rb:50:in `<top (required)>'
script/rails:6:in `require'
script/rails:6:in `<main>'
Thanks :)