ExecJS::Runtime Error - ruby-on-rails

I'm going through Michael Hartl's tutorial (chapter 3, 3.1). After running "rails generate controller StaticPages home help --no-test-framework", I navigated to /static_pages/home. And I get this error message below.
ExecJS::RuntimeError in StaticPages#home
Showing C:/Sites/sample_app/app/views/layouts/application.html.erb where line #6 raised:
(in C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/turbolinks 1.1.1/lib/assets/javascripts/turbolinks.js.coffee)
Extracted source (around line #6):
3 <head>
4 <title>SampleApp</title>
5 <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6 <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
7 <%= csrf_meta_tags %>
8 </head>
9 <body>
Here is the framework trace
execjs (2.2.1) lib/execjs/external_runtime.rb:152:in `exec_runtime'
execjs (2.2.1) lib/execjs/external_runtime.rb:29:in `exec'
execjs (2.2.1) lib/execjs/external_runtime.rb:18:in `eval'
execjs (2.2.1) lib/execjs/external_runtime.rb:36:in `call'
coffee-script (2.2.0) lib/coffee_script.rb:57:in `compile'
tilt (1.4.1) lib/tilt/coffee.rb:46:in `evaluate'
tilt (1.4.1) lib/tilt/template.rb:103:in `render'
sprockets (2.12.1) lib/sprockets/context.rb:197:in `block in evaluate'
sprockets (2.12.1) lib/sprockets/context.rb:194:in `each'
sprockets (2.12.1) lib/sprockets/context.rb:194:in `evaluate'
sprockets (2.12.1) lib/sprockets/processed_asset.rb:12:in `initialize'
sprockets (2.12.1) lib/sprockets/base.rb:374:in `new'
sprockets (2.12.1) lib/sprockets/base.rb:374:in `block in build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:395:in `circular_call_protection'
sprockets (2.12.1) lib/sprockets/base.rb:373:in `build_asset'
sprockets (2.12.1) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.12.1) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.12.1) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.1) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.1) lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
sprockets (2.12.1) lib/sprockets/processed_asset.rb:105:in `each'
sprockets (2.12.1) lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
sprockets (2.12.1) lib/sprockets/processed_asset.rb:97:in `build_required_assets'
sprockets (2.12.1) lib/sprockets/processed_asset.rb:16:in `initialize'
sprockets (2.12.1) lib/sprockets/base.rb:374:in `new'
sprockets (2.12.1) lib/sprockets/base.rb:374:in `block in build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:395:in `circular_call_protection'
sprockets (2.12.1) lib/sprockets/base.rb:373:in `build_asset'
sprockets (2.12.1) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.12.1) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.12.1) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.1) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.1) lib/sprockets/bundled_asset.rb:16:in `initialize'
sprockets (2.12.1) lib/sprockets/base.rb:377:in `new'
sprockets (2.12.1) lib/sprockets/base.rb:377:in `build_asset'
sprockets (2.12.1) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.12.1) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.12.1) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.1) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.1) lib/sprockets/environment.rb:75:in `find_asset'
sprockets (2.12.1) lib/sprockets/base.rb:295:in `[]'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:144:in `lookup_asset_for_path'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:91:in `block in javascript_include_tag'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:90:in `map'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:90:in `javascript_include_tag'
actionpack (4.0.8) lib/action_view/template.rb:143:in `block in render'
activesupport (4.0.8) lib/active_support/notifications.rb:161:in `instrument'
actionpack (4.0.8) lib/action_view/template.rb:141:in `render'
actionpack (4.0.8) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
actionpack (4.0.8) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
actionpack (4.0.8) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionpack (4.0.8) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionpack (4.0.8) lib/action_view/renderer/renderer.rb:23:in `render'
actionpack (4.0.8) lib/abstract_controller/rendering.rb:127:in `_render_template'
actionpack (4.0.8) lib/action_controller/metal/streaming.rb:219:in `_render_template'
actionpack (4.0.8) lib/abstract_controller/rendering.rb:120:in `render_to_body'
actionpack (4.0.8) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
actionpack (4.0.8) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
actionpack (4.0.8) lib/abstract_controller/rendering.rb:97:in `render'
actionpack (4.0.8) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.0.8) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.0.8) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.0.8) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.0.8) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.0.8) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.0.8) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.0.8) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.0.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.0.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.0.8) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.0.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.0.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (4.0.8) lib/active_support/callbacks.rb:403:in `_run__687102642__process_action__callbacks'
activesupport (4.0.8) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (4.0.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.0.8) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.0.8) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.8) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.0.8) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.0.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.0.8) lib/abstract_controller/base.rb:136:in `process'
actionpack (4.0.8) lib/abstract_controller/rendering.rb:44:in `process'
actionpack (4.0.8) lib/action_controller/metal.rb:195:in `dispatch'
actionpack (4.0.8) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.0.8) lib/action_controller/metal.rb:231:in `block in action'
actionpack (4.0.8) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.0.8) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.0.8) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.0.8) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.0.8) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.0.8) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.0.8) lib/action_dispatch/routing/route_set.rb:676:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/flash.rb:241:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/cookies.rb:486:in `call'
activerecord (4.0.8) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.0.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
activerecord (4.0.8) lib/active_record/migration.rb:373:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.0.8) lib/active_support/callbacks.rb:373:in `_run__624948244__call__callbacks'
activesupport (4.0.8) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/reloader.rb:64:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.0.8) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.0.8) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.0.8) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.0.8) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.0.8) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.0.8) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.0.8) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.0.8) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.0.8) lib/rails/engine.rb:511:in `call'
railties (4.0.8) lib/rails/application.rb:97:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Here is my gemfile
source 'https://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.8'
group :development, :test do
gem 'sqlite3', '1.3.8'
gem 'rspec-rails', '2.13.1'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
end
gem 'sass-rails', '4.0.1'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
Please let me know if you need any more file/code, I'm a RoR beginner and not quite sure what to post.

Please look at this answer: ExecJS::RuntimeError on Windows trying to follow rubytutorial.
I edited these files last week for a co-worker and it works fine now. If you go into execjs's runtimes.rb file, and change those lines, it should work. This problem is happening a lot on Windows.

Related

Rails 5.2.1 Active Admin ActionView::Template::Error when upgraded rails from version 4.2.6

I have updated rails version from 4.2.6 to rails 5.2.1.
When tried to access admin/login url is is giving error as
ActionView::Template::Error (wrong number of arguments (given 3, expected 0..1)):
1: insert_tag active_admin_application.view_factory["page"]
I have not overridden any part of activeadmin views in application.
Not used pagination related gem also.
I am using below versions
ruby 2.3.4
gem 'rails', '5.2.1'
gem 'activeadmin', '~> 1.3.0'
gem 'rails_friendly_urls', '~> 1.0.0'
Full trace of the error log is
ActionView::Template::Error (wrong number of arguments (given 3, expected 0..1)):
1: insert_tag active_admin_application.view_factory["page"]
rails_friendly_urls (1.0.1) lib/rails_friendly_urls/route_sets/rails3.rb:5:in `url_for'
actionpack (5.2.1) lib/action_dispatch/routing/route_set.rb:273:in `call'
actionpack (5.2.1) lib/action_dispatch/routing/route_set.rb:214:in `call'
actionpack (5.2.1) lib/action_dispatch/routing/route_set.rb:331:in `block (2 levels) in define_url_helper'
activeadmin (1.3.1) lib/active_admin/resource/routes.rb:54:in `public_send'
activeadmin (1.3.1) lib/active_admin/resource/routes.rb:54:in `collection_path'
activeadmin (1.3.1) lib/active_admin/resource/routes.rb:8:in `route_collection_path'
activeadmin (1.3.1) lib/active_admin/resource/menu.rb:30:in `block in default_menu_options'
activeadmin (1.3.1) lib/active_admin/view_helpers/method_or_proc_helper.rb:90:in `instance_exec'
activeadmin (1.3.1) lib/active_admin/view_helpers/method_or_proc_helper.rb:90:in `render_in_context'
activeadmin (1.3.1) lib/active_admin/menu_item.rb:71:in `url'
activeadmin (1.3.1) lib/active_admin/menu_item.rb:92:in `real_url?'
activeadmin (1.3.1) lib/active_admin/menu_item.rb:78:in `display?'
activeadmin (1.3.1) lib/active_admin/menu.rb:74:in `block in items'
activeadmin (1.3.1) lib/active_admin/menu.rb:74:in `select'
activeadmin (1.3.1) lib/active_admin/menu.rb:74:in `items'
activeadmin (1.3.1) lib/active_admin/views/tabbed_navigation.rb:27:in `menu_items'
activeadmin (1.3.1) lib/active_admin/views/tabbed_navigation.rb:37:in `build_menu'
activeadmin (1.3.1) lib/active_admin/views/tabbed_navigation.rb:22:in `build'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
arbre (1.1.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
activeadmin (1.3.1) lib/active_admin/views/header.rb:22:in `build_global_navigation'
activeadmin (1.3.1) lib/active_admin/views/header.rb:13:in `build'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
arbre (1.1.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
activeadmin (1.3.1) lib/active_admin/views/pages/base.rb:67:in `build_header'
activeadmin (1.3.1) lib/active_admin/views/pages/base.rb:52:in `block (2 levels) in build_page'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:31:in `block in build_tag'
arbre (1.1.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:14:in `div'
activeadmin (1.3.1) lib/active_admin/views/pages/base.rb:50:in `block in build_page'
arbre (1.1.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:49:in `with_current_arbre_element'
activeadmin (1.3.1) lib/active_admin/views/pages/base.rb:49:in `build_page'
activeadmin (1.3.1) lib/active_admin/views/pages/base.rb:10:in `build'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:30:in `block in build_tag'
arbre (1.1.1) lib/arbre/context.rb:92:in `with_current_arbre_element'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:26:in `build_tag'
arbre (1.1.1) lib/arbre/element/builder_methods.rb:39:in `insert_tag'
activeadmin (1.3.1) app/views/active_admin/page/index.html.arb:2:in `block in __usr_local_rvm_gems_ruby_______gems_activeadmin_______app_views_active_admin_page_index_html_arb__684239489_129398360'
arbre (1.1.1) lib/arbre/context.rb:45:in `instance_eval'
arbre (1.1.1) lib/arbre/context.rb:45:in `initialize'
activeadmin (1.3.1) app/views/active_admin/page/index.html.arb:1:in `new'
activeadmin (1.3.1) app/views/active_admin/page/index.html.arb:1:in `__usr_local_rvm_gems_ruby_______gems_activeadmin_______app_views_active_admin_page_index_html_arb__684239489_129398360'
actionview (5.2.1) lib/action_view/template.rb:159:in `block in render'
activesupport (5.2.1) lib/active_support/notifications.rb:170:in `instrument'
actionview (5.2.1) lib/action_view/template.rb:354:in `instrument_render_template'
actionview (5.2.1) lib/action_view/template.rb:157:in `render'
actionview (5.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
actionview (5.2.1) lib/action_view/renderer/abstract_renderer.rb:44:in `block in instrument'
activesupport (5.2.1) lib/active_support/notifications.rb:168:in `block in instrument'
activesupport (5.2.1) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
activesupport (5.2.1) lib/active_support/notifications.rb:168:in `instrument'
actionview (5.2.1) lib/action_view/renderer/abstract_renderer.rb:43:in `instrument'
actionview (5.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
actionview (5.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
actionview (5.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
actionview (5.2.1) lib/action_view/renderer/template_renderer.rb:16:in `render'
actionview (5.2.1) lib/action_view/renderer/renderer.rb:44:in `render_template'
actionview (5.2.1) lib/action_view/renderer/renderer.rb:25:in `render'
actionview (5.2.1) lib/action_view/rendering.rb:103:in `_render_template'
actionpack (5.2.1) lib/action_controller/metal/streaming.rb:219:in `_render_template'
actionview (5.2.1) lib/action_view/rendering.rb:84:in `render_to_body'
actionpack (5.2.1) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
actionpack (5.2.1) lib/action_controller/metal/renderers.rb:142:in `render_to_body'
actionpack (5.2.1) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (5.2.1) lib/action_controller/metal/rendering.rb:36:in `render'
actionpack (5.2.1) lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
activesupport (5.2.1) lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
/usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
activesupport (5.2.1) lib/active_support/core_ext/benchmark.rb:14:in `ms'
actionpack (5.2.1) lib/action_controller/metal/instrumentation.rb:46:in `block in render'
actionpack (5.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (5.2.1) lib/active_record/railties/controller_runtime.rb:31:in `cleanup_view_runtime'
actionpack (5.2.1) lib/action_controller/metal/instrumentation.rb:45:in `render'
meta-tags (2.10.0) lib/meta_tags/controller_helper.rb:20:in `render'
activeadmin (1.3.1) lib/active_admin/page_controller.rb:14:in `index'
actionpack (5.2.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (5.2.1) lib/abstract_controller/base.rb:194:in `process_action'
actionpack (5.2.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (5.2.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
activesupport (5.2.1) lib/active_support/callbacks.rb:109:in `block in run_callbacks'
audited (4.8.0) lib/audited/sweeper.rb:14:in `around'
activesupport (5.2.1) lib/active_support/callbacks.rb:118:in `block in run_callbacks'
audited (4.8.0) lib/audited/sweeper.rb:14:in `around'
activesupport (5.2.1) lib/active_support/callbacks.rb:118:in `block in run_callbacks'
activesupport (5.2.1) lib/active_support/callbacks.rb:136:in `run_callbacks'
actionpack (5.2.1) lib/abstract_controller/callbacks.rb:41:in `process_action'
actionpack (5.2.1) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (5.2.1) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
activesupport (5.2.1) lib/active_support/notifications.rb:168:in `block in instrument'
activesupport (5.2.1) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
activesupport (5.2.1) lib/active_support/notifications.rb:168:in `instrument'
actionpack (5.2.1) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
actionpack (5.2.1) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
activerecord (5.2.1) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
actionpack (5.2.1) lib/abstract_controller/base.rb:134:in `process'
actionview (5.2.1) lib/action_view/rendering.rb:32:in `process'
actionpack (5.2.1) lib/action_controller/metal.rb:191:in `dispatch'
actionpack (5.2.1) lib/action_controller/metal.rb:252:in `dispatch'
actionpack (5.2.1) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
actionpack (5.2.1) lib/action_dispatch/routing/route_set.rb:34:in `serve'
actionpack (5.2.1) lib/action_dispatch/journey/router.rb:52:in `block in serve'
actionpack (5.2.1) lib/action_dispatch/journey/router.rb:35:in `each'
actionpack (5.2.1) lib/action_dispatch/journey/router.rb:35:in `serve'
actionpack (5.2.1) lib/action_dispatch/routing/route_set.rb:840:in `call'
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
warden (1.2.7) lib/warden/manager.rb:35:in `call'
rack (2.0.5) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.0.5) lib/rack/etag.rb:25:in `call'
rack (2.0.5) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.5) lib/rack/head.rb:12:in `call'
actionpack (5.2.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/cookies.rb:670:in `call'
activerecord (5.2.1) lib/active_record/migration.rb:559:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (5.2.1) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (5.2.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app'
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.1) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.1) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.1) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.1) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.1) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.1) lib/rails/rack/logger.rb:26:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
activesupport (5.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (5.2.1) lib/action_dispatch/middleware/static.rb:127:in `call'
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
railties (5.2.1) lib/rails/engine.rb:524:in `call'
rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
/usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
/usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
/usr/local/rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
Can anybody tell me, where I am going wrong.
rails_friendly_urls has not been updated since 2015, I'm pretty sure it is obsolete and you will have to remove or replace it to upgrade to Rails 5, the issue is not with ActiveAdmin.
I got solution for this,
Error was due to rails_friendly_urls gems.
In rails_friendly_urls gem https://github.com/calonso/rails_friendly_urls/blob/master/lib/rails_friendly_urls.rb
case RailsFriendlyUrls.rails_version
when '4.2'
require 'rails_friendly_urls/urls/rails4_2'
when '4.0', '4.1'
require 'rails_friendly_urls/urls/rails4_0'
when '3.2'
require 'rails_friendly_urls/route_sets/rails3'
else
raise NotImplementedError.new "Rails Friendly URLs gem doesn't support Rails #{Rails.version}"
end
Above part is written & it is not updated since 2015.
So we can have gem locally and change above file as
case RailsFriendlyUrls.rails_version
when '4.2', '5.2'
require 'rails_friendly_urls/route_sets/rails4_2'
require 'rails_friendly_urls/urls/rails4_2'
else
raise NotImplementedError.new "Rails Friendly URLs gem doesn't support Rails #{Rails.version}"
end
This will support in rails 5.2.1

How to include purecss to my application when using rails-assets

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

Sass::SyntaxError at / The selector ".date" was not found

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

undefined method `environment' for nil:NilClass when importing Bootstrap into rails

Getting error:
undefined method `environment' for nil:NilClass
Extracted source (around line #5):
<head>
<title>Dossiyadata</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
when importing bootstrap. Not sure why?
Using ruby 2.1.1
Gem file:
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.4'
# Use SCSS for stylesheets
gem 'sass-rails'
gem 'bootstrap-sass'
Trace:
sass-rails (4.0.1) lib/sass/rails/importer.rb:84:in `evaluate'
sass-rails (4.0.1) lib/sass/rails/importer.rb:70:in `engine_from_path'
sass-rails (4.0.1) lib/sass/rails/importer.rb:35:in `find'
sass (3.3.3) lib/sass/tree/import_node.rb:54:in `block in import'
sass (3.3.3) lib/sass/tree/import_node.rb:53:in `each'
sass (3.3.3) lib/sass/tree/import_node.rb:53:in `import'
sass (3.3.3) lib/sass/tree/import_node.rb:28:in `imported_file'
sass (3.3.3) lib/sass/tree/import_node.rb:37:in `css_import?'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:283:in `visit_import'
sass (3.3.3) lib/sass/tree/visitors/base.rb:36:in `visit'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:152:in `block in visit'
sass (3.3.3) lib/sass/stack.rb:79:in `block in with_base'
sass (3.3.3) lib/sass/stack.rb:121:in `with_frame'
sass (3.3.3) lib/sass/stack.rb:79:in `with_base'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:152:in `visit'
sass (3.3.3) lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
sass (3.3.3) lib/sass/tree/visitors/base.rb:52:in `map'
sass (3.3.3) lib/sass/tree/visitors/base.rb:52:in `visit_children'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:161:in `block in visit_children'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:173:in `with_environment'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:160:in `visit_children'
sass (3.3.3) lib/sass/tree/visitors/base.rb:36:in `block in visit'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:180:in `visit_root'
sass (3.3.3) lib/sass/tree/visitors/base.rb:36:in `visit'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:151:in `visit'
sass (3.3.3) lib/sass/tree/visitors/perform.rb:8:in `visit'
sass (3.3.3) lib/sass/tree/root_node.rb:36:in `css_tree'
sass (3.3.3) lib/sass/tree/root_node.rb:20:in `render'
sass (3.3.3) lib/sass/engine.rb:274:in `render'
sprockets (2.12.0) lib/sprockets/sass_template.rb:53:in `evaluate'
tilt (1.4.1) lib/tilt/template.rb:103:in `render'
sprockets (2.12.0) lib/sprockets/context.rb:197:in `block in evaluate'
sprockets (2.12.0) lib/sprockets/context.rb:194:in `each'
sprockets (2.12.0) lib/sprockets/context.rb:194:in `evaluate'
sprockets (2.12.0) lib/sprockets/processed_asset.rb:12:in `initialize'
sprockets (2.12.0) lib/sprockets/base.rb:374:in `new'
sprockets (2.12.0) lib/sprockets/base.rb:374:in `block in build_asset'
sprockets (2.12.0) lib/sprockets/base.rb:395:in `circular_call_protection'
sprockets (2.12.0) lib/sprockets/base.rb:373:in `build_asset'
sprockets (2.12.0) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.12.0) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.12.0) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.0) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.0) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.0) lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
sprockets (2.12.0) lib/sprockets/processed_asset.rb:105:in `each'
sprockets (2.12.0) lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
sprockets (2.12.0) lib/sprockets/processed_asset.rb:97:in `build_required_assets'
sprockets (2.12.0) lib/sprockets/processed_asset.rb:16:in `initialize'
sprockets (2.12.0) lib/sprockets/base.rb:374:in `new'
sprockets (2.12.0) lib/sprockets/base.rb:374:in `block in build_asset'
sprockets (2.12.0) lib/sprockets/base.rb:395:in `circular_call_protection'
sprockets (2.12.0) lib/sprockets/base.rb:373:in `build_asset'
sprockets (2.12.0) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.12.0) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.12.0) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.0) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.0) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.0) lib/sprockets/bundled_asset.rb:37:in `init_with'
sprockets (2.12.0) lib/sprockets/asset.rb:24:in `from_hash'
sprockets (2.12.0) lib/sprockets/caching.rb:54:in `cache_asset'
sprockets (2.12.0) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.0) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.0) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.0) lib/sprockets/environment.rb:75:in `find_asset'
sprockets (2.12.0) lib/sprockets/base.rb:295:in `[]'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:144:in `lookup_asset_for_path'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:113:in `block in stylesheet_link_tag'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:112:in `map'
sprockets-rails (2.0.1) lib/sprockets/rails/helper.rb:112:in `stylesheet_link_tag'
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1423391532774445026_70293092038340'
actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/mmahalwy/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (4.0.4) lib/active_support/callbacks.rb:403:in `_run__2314247768823616456__process_action__callbacks'
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674: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.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4039488794408656604__call__callbacks'
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.0.4) lib/rails/engine.rb:511:in `call'
railties (4.0.4) lib/rails/application.rb:97:in `call'
passenger (4.0.38) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
passenger (4.0.38) lib/phusion_passenger/request_handler/thread_handler.rb:142:in `accept_and_process_next_request'
passenger (4.0.38) lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
passenger (4.0.38) lib/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads'
My style.scss.css file:
#import 'bootstrap';
I have inlcued the javascript files, but nothing changes. Not sure why this is happening, any ideas?
Update
Found a temporary solution: https://github.com/twbs/bootstrap-sass/issues/560
Just need to force sprockets version by adding this to gem file:
gem 'sprockets', '=2.11.0' #force for now
That will fix it for now
I also met that exact same error after I upgraded rails from 4.0.3 to 4.0.4.
To solve solve this problem, only add
gem "sass-rails", "~> 4.0.2"
to your Gemfile and then
bundle install
Finally restart rails server
Then enjoy your programming in rails 4.0.4
When upgrading to Rails 4.0.5 you need to temporarily lock your sprockets at 2.11.x:
gem 'sprockets', '<= 2.11.0'
Then
bundle install
The exact error I was getting was:
ActionView::Template::Error: undefined method `environment' for nil:NilClass
For more context:
https://github.com/rails/sass-rails/issues/191
https://github.com/sstephenson/sprockets/issues/537

Tinymce error : invalid UTF-8 byte sequence

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 :)

Resources