Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing CoffeeScript dependency? #405

Closed
benpickles opened this issue Sep 8, 2015 · 25 comments
Closed

Missing CoffeeScript dependency? #405

benpickles opened this issue Sep 8, 2015 · 25 comments

Comments

@benpickles
Copy link

Problem

In Rails rake assets:precompile blows up with LoadError: cannot load such file -- coffee_script in development/test environments.

Steps to reproduce

  1. Generate a new Rails app.
  2. Run rake assets:precompile - it works!
  3. Add the Teaspoon gem to the Gemfile: gem 'teaspoon', groups: [:development, :test].
  4. Run rake assets:precompile - it does not work 😦

This is with Rails 4.2.4 and Teaspoon 1.0.2.

$ rake assets:precompile
I, [2015-09-08T09:59:07.434046 #84070]  INFO -- : Writing /.../public/assets/teaspoon-5a63f1400783e117b9e55161f53688b6530615d285f32af0abde8f252706d140.css
I, [2015-09-08T09:59:07.435940 #84070]  INFO -- : Writing /.../public/assets/teaspoon-filterer-65c5f62e0af566bf9d24f413533144277cb7d2fa9461e8307332fede303af366.js
I, [2015-09-08T09:59:07.438136 #84070]  INFO -- : Writing /.../public/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css
I, [2015-09-08T09:59:07.440054 #84070]  INFO -- : Writing /.../public/assets/support/bind-poly-c89d2f5f622318bb7bd38eb36472131e70bdb95e45431cd9397a192fa3fd24f7.js
I, [2015-09-08T09:59:07.442498 #84070]  INFO -- : Writing /.../public/assets/support/phantomjs-shims-f6867d3adaf9c1a659d0ca8e170f147e97bbde37736890cf05d84e7b5020fed4.js
I, [2015-09-08T09:59:07.447751 #84070]  INFO -- : Writing /.../public/assets/support/sinon-3dade19b521c697425009cf3586fe148d7ef3cae04beb8561ce9efd984a50242.js
rake aborted!
LoadError: cannot load such file -- coffee_script
/.../activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
/.../activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
/.../activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
/.../activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
/.../sprockets-3.3.4/lib/sprockets/autoload/coffee_script.rb:1:in `<top (required)>'
/.../sprockets-3.3.4/lib/sprockets/coffee_script_processor.rb:15:in `cache_key'
/.../sprockets-3.3.4/lib/sprockets/coffee_script_processor.rb:20:in `call'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:75:in `call_processor'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:56:in `call_processors'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:60:in `block in load'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:316:in `fetch_asset_from_dependency_cache'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:44:in `load'
/.../sprockets-3.3.4/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/.../sprockets-3.3.4/lib/sprockets/cached_environment.rb:47:in `yield'
/.../sprockets-3.3.4/lib/sprockets/cached_environment.rb:47:in `load'
/.../sprockets-3.3.4/lib/sprockets/bundle.rb:23:in `block in call'
/.../sprockets-3.3.4/lib/sprockets/utils.rb:183:in `dfs'
/.../sprockets-3.3.4/lib/sprockets/bundle.rb:24:in `call'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:75:in `call_processor'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/.../sprockets-3.3.4/lib/sprockets/processor_utils.rb:56:in `call_processors'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:60:in `block in load'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:316:in `fetch_asset_from_dependency_cache'
/.../sprockets-3.3.4/lib/sprockets/loader.rb:44:in `load'
/.../sprockets-3.3.4/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/.../sprockets-3.3.4/lib/sprockets/cached_environment.rb:47:in `yield'
/.../sprockets-3.3.4/lib/sprockets/cached_environment.rb:47:in `load'
/.../sprockets-3.3.4/lib/sprockets/base.rb:66:in `find_asset'
/.../sprockets-3.3.4/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/.../sprockets-3.3.4/lib/sprockets/manifest.rb:138:in `block in find'
/.../sprockets-3.3.4/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:223:in `block in stat_tree'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:207:in `block in stat_directory'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:204:in `each'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:204:in `stat_directory'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:222:in `stat_tree'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:226:in `block in stat_tree'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:207:in `block in stat_directory'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:204:in `each'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:204:in `stat_directory'
/.../sprockets-3.3.4/lib/sprockets/path_utils.rb:222:in `stat_tree'
/.../sprockets-3.3.4/lib/sprockets/legacy.rb:105:in `each'
/.../sprockets-3.3.4/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/.../sprockets-3.3.4/lib/sprockets/legacy.rb:104:in `each'
/.../sprockets-3.3.4/lib/sprockets/legacy.rb:104:in `logical_paths'
/.../sprockets-3.3.4/lib/sprockets/manifest.rb:136:in `find'
/.../sprockets-3.3.4/lib/sprockets/manifest.rb:162:in `compile'
/.../sprockets-rails-2.3.2/lib/sprockets/rails/task.rb:70:in `block (3 levels) in define'
/.../sprockets-3.3.4/lib/rake/sprocketstask.rb:147:in `with_logger'
/.../sprockets-rails-2.3.2/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
@mikepack
Copy link
Collaborator

mikepack commented Sep 8, 2015

Thanks for the issue. Can I ask why you're precompiling assets in the dev environment?

@jejacks0n
Copy link
Owner

worth looking into -- not sure why coffee_script would be needed -- I think it's specifically optional?

@benpickles
Copy link
Author

@mikepack that is a very good question... I don't really have an answer, it was just a surprise.

I imagine those .../*s are the cause?

2.2.3 :001 > Rails.application.config.assets.precompile
 => [#<Proc:0x007f81760db020@/Users/ben/.rvm/gems/ruby-2.2.3/gems/sprockets-rails-2.3.2/lib/sprockets/railtie.rb:60 (lambda)>, /(?:\/|\\|\A)application\.(css|js)$/, "teaspoon.css", "teaspoon-filterer.js", "teaspoon/*.js", "support/*.js"] 

@mikepack
Copy link
Collaborator

mikepack commented Oct 9, 2015

Thanks again for the issue Ben. Sadly, I'm not able to reproduce. Closing for now, but happy to keep digging. Here're my steps:

$ rails -v
Rails 4.2.4

$ rails new teaspoon-precompile
      create  README.rdoc
      ...

$ cd teaspoon-precompile/

$ rake assets:precompile
I, [2015-10-09T11:20:02.693928 #79126]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/application-d4d603d0ff049a3ecfbf019b468bf1a62a50b9fdafe41213c300fa071342b600.js
I, [2015-10-09T11:20:02.704990 #79126]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css

$ echo "gem 'teaspoon', groups: [:development, :test]" >> Gemfile

$ bundle
Resolving dependencies...
...
Using teaspoon 1.0.2
...

$ rake assets:precompile
I, [2015-10-09T11:20:24.386129 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon-5a63f1400783e117b9e55161f53688b6530615d285f32af0abde8f252706d140.css
I, [2015-10-09T11:20:24.392571 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon-filterer-65c5f62e0af566bf9d24f413533144277cb7d2fa9461e8307332fede303af366.js
I, [2015-10-09T11:20:24.524173 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/support/bind-poly-c89d2f5f622318bb7bd38eb36472131e70bdb95e45431cd9397a192fa3fd24f7.js
I, [2015-10-09T11:20:24.535279 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/support/phantomjs-shims-f6867d3adaf9c1a659d0ca8e170f147e97bbde37736890cf05d84e7b5020fed4.js
I, [2015-10-09T11:20:24.577333 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/support/sinon-3dade19b521c697425009cf3586fe148d7ef3cae04beb8561ce9efd984a50242.js
I, [2015-10-09T11:20:24.785584 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/error-ed40c173b6c340f9f88aa29f298fc370041a4a9bb4aaac5c2df778e3acc38c23.js
I, [2015-10-09T11:20:24.946151 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/fixture-c6bad5902c8c1c3410601161b17bdb9f9e84d895b9dd133776e7333f35c5be34.js
I, [2015-10-09T11:20:25.076314 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/hook-3773a6e284673901a8e760af7bb34aab7c0e102d5491d65767e254e85b340e5b.js
I, [2015-10-09T11:20:25.228349 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/console-99b89bb14547a9319e24015fcfd37ff25f397075d97a46f7288285a00d37bb53.js
I, [2015-10-09T11:20:25.365552 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/base_view-54bde87f8b590ea172add9df2a359baefdc0eb070e83b1f665b5b1d249f48d0a.js
I, [2015-10-09T11:20:25.498467 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/failure_view-abd3e946408c91f53c0bd91aba0b84f81e5cbf26eecfdc7879b31b61d7bf659c.js
I, [2015-10-09T11:20:25.625227 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/progress_view-d1b347af3952c1071537f62c62e6c16f6e836bc7025336dd850939ccbbd9f780.js
I, [2015-10-09T11:20:25.756505 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/radial_progress_view-f4a66cc1be87f0f30d151820f778f1358c00e43fa72e60026efbdffc43e0f155.js
I, [2015-10-09T11:20:25.878579 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/simple_progress_view-40fe2b0a3e3d2a2050ed512822f389a7e1e2b38ea6a0521026c06e72630a08d5.js
I, [2015-10-09T11:20:26.072945 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/spec_view-b9e2ff602e48343bc943f1e9c2248e37a68664d7462b3cc1e57e62d2ec093145.js
I, [2015-10-09T11:20:26.210769 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/suite_view-575eb8e0c83c87db9a490f41259a215bd112f84a2cb53f759f128f07943750ef.js
I, [2015-10-09T11:20:26.327344 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html/template-e15ab6124990c3d9620fe993674b221f7414191e73bcaff69f78c4db34bc9964.js
I, [2015-10-09T11:20:26.524770 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/reporters/html-4b9df3c34b24a8a7a885e23963c69597ed5f032fe7065d03e4fac654a64a88d4.js
I, [2015-10-09T11:20:26.662281 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/runner-372c32fa19323633724027319fd4d3239912deb0b4f149f9c16c7a8f0c73f1f2.js
I, [2015-10-09T11:20:26.811670 #79132]  INFO -- : Writing /Users/mikepack/Documents/Work/teaspoon-precompile/public/assets/teaspoon/teaspoon-262deac805d9d64bc9749e577078cacd7282d8ce7a0c898bb200787fca6ba0bf.js

@ordinaryzelig
Copy link

Clearing the cache fixed it for me. rails/sprockets#183 (comment)

@mihai-dinculescu
Copy link
Contributor

I'm having the very same issue.
Clearing the cache does indeed fixes the rails app, but running tests throws

Failure/Error: = stylesheet_link_tag    'application', media: 'all'
LoadError:
  cannot load such file -- coffee_script

The issue occurs with sprockets-rails 3.0.0 and teaspoon 1.1.2.

@ordinaryzelig
Copy link

Not sure if the rake task is env-specific, but if it is, maybe it will help to throw in RAILS_ENV=test?

@mihai-dinculescu
Copy link
Contributor

The tmp:clear task? I don't think so, but I have tried. I also manually deleted all the contents of the tmp folder, no luck.

I can get it fixed only by:
a) Add gem 'coffee-rails' to the :test gem group.
or
b) Downgrade to sprockets-rails 2.3.3.

To me it looks like sprockets-rails 3.0.0 insists on requiring coffee-rails when used in conjunction with teaspoon.

@iainbeeston
Copy link
Contributor

I'm getting this issue too. I have teaspoon in both my dev and test environments (so I can access the rails generators). It seems to occur because sprockets is trying to process teaspoon-1.1.4/app/assets/javascripts/teaspoon/error.coffee

@iainbeeston
Copy link
Contributor

@mikepack I'm afraid Rails includes coffee script in the gemfile by default (both via coffee-script rails and tubolinks), so you need to remove these from the default app that rails generates. I can reliably reproduce by using the following:

$ rails -v
Rails 4.2.5.1

$ rails new --skip-turbolinks --skip-bundle teaspoon-precompile
      create  
      create  README.rdoc
      ...

$ cd teaspoon-precompile/

$ sed -i '' '/.*coffee-rails.*/d' Gemfile

$ echo "gem 'teaspoon-mocha', groups: [:development, :test]" >> Gemfile

$ bundle install
Fetching gem metadata from https://rubygems.org/...........
...

$ teaspoon -v
1.1.4

$ rails generate teaspoon:install
      create  spec/teaspoon_env.rb
      ...

$ rake assets:precompile
I, [2016-02-29T11:06:20.624666 #36671]  INFO -- : Writing /Users/iain/Work/teaspoon-precompile/public/assets/teaspoon-6e7be868738f20e0ca2ab731d5f577e0dd6bed588b1660eb2b2dc6b0328341dd.css
I, [2016-02-29T11:06:20.631700 #36671]  INFO -- : Writing /Users/iain/Work/teaspoon-precompile/public/assets/teaspoon-6e7be868738f20e0ca2ab731d5f577e0dd6bed588b1660eb2b2dc6b0328341dd.css.gz
...
rake aborted!
LoadError: cannot load such file -- coffee_script
/Users/iain/.gem/ruby/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `require'

Could you please try looking into this again?

@mihai-dinculescu
Copy link
Contributor

To me it looks like teaspoon -needs- the coffee-rails gem when used in conjunction with sprockets-rails 3.X.

@iainbeeston
Copy link
Contributor

Should the published version of teaspoon have a dependency on coffee script? Couldn't those files be precompiled in the published version of the gem?

@jejacks0n
Copy link
Owner

Sounds like maybe we missed a file in precompilation. Knowing that we can figure it out and get a new release.

On Feb 29, 2016, at 6:20 AM, Iain Beeston notifications@github.com wrote:

Should the published version of teaspoon have a dependency on coffee script? Couldn't those files be precompiled in the published version of the gem?


Reply to this email directly or view it on GitHub.

@iainbeeston
Copy link
Contributor

@jejacks0n By my own debugging that might be app/assets/javascripts/teaspoon/error.coffee (in case that wasn't clear in all the messages above)

@jejacks0n
Copy link
Owner

It was, and thanks. :)


Jeremy Jackson

On Feb 29, 2016, at 9:28 AM, Iain Beeston notifications@github.com wrote:

@jejacks0n By my own debugging that might be app/assets/javascripts/teaspoon/error.coffee (in case that wasn't clear in all the messages above)


Reply to this email directly or view it on GitHub.

@grantspeelman
Copy link

Adding gem coffee-script to the :test and :development gem group seems to fix it for me

@sockmonk
Copy link

sockmonk commented Jun 2, 2016

I found I only needed to add coffee-script to the :test gem group as a workaround. It's not needed in :development.

Why is this issue closed? Seems to still be an issue that needs to be resolved.

@yairgo
Copy link

yairgo commented Jun 15, 2016

I just ran into this also. I think this issue should be re-opened until there is a version of the gem that has coffee-script as a requirement.

@ktec
Copy link

ktec commented Jul 13, 2016

Just installed teaspoon version 1.1.5 into a Rails 5.0.0 application, and have run into the same error as described when I run rake teaspoon and adding the coffee-script to the :test group worked for me.

fakefarm pushed a commit to fakefarm/note that referenced this issue Aug 20, 2016
Had an asset compilation issue 
jejacks0n/teaspoon#405
h-lame added a commit to alphagov/whitehall that referenced this issue Aug 8, 2017
We don't need (or intend to use) coffee script in the app itself, however
our teaspoon JS test runner has a coffee script asset that sprockets-rails
3.2 tries to compile and will fail if coffee-rails is not present.

This issue on the teaspoon repo describes the problem:

jejacks0n/teaspoon#405

It's marked as closed, but no released version actually has a fix.
@md5
Copy link
Contributor

md5 commented Aug 18, 2017

@mikepack The reason your test couldn't reproduce this is that a default scaffolded Rails app includes coffee-rails. I also don't think this problem is specifically related to assets:precompile.

Here's a test that can reproduce this:

#!/bin/sh

set -e

APP=${1:-teaspoon-without-coffee}

set -x

rails new "$APP" --skip-spring --skip-coffee
cd "$APP"

bundle add --group development,test teaspoon-jasmine
bundle exec rails generate teaspoon:install

echo 'describe("Coffee failure", function() { it("fails"); })' > spec/javascripts/coffee_failure_spec.js
bundle exec rake teaspoon

Here's the output:

$ ./teaspoon_test.sh 
+ rails new teaspoon-without-coffee --skip-spring --skip-coffee
      create  
      create  README.md
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
         run  git init from "."
Initialized empty Git repository in /tmp/teaspoon-without-coffee/.git/
      create  app
      create  app/assets/config/manifest.js
      create  app/assets/javascripts/application.js
      create  app/assets/javascripts/cable.js
      create  app/assets/stylesheets/application.css
      create  app/channels/application_cable/channel.rb
      create  app/channels/application_cable/connection.rb
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/jobs/application_job.rb
      create  app/mailers/application_mailer.rb
      create  app/models/application_record.rb
      create  app/views/layouts/application.html.erb
      create  app/views/layouts/mailer.html.erb
      create  app/views/layouts/mailer.text.erb
      create  app/assets/images/.keep
      create  app/assets/javascripts/channels
      create  app/assets/javascripts/channels/.keep
      create  app/controllers/concerns/.keep
      create  app/models/concerns/.keep
      create  bin
      create  bin/bundle
      create  bin/rails
      create  bin/rake
      create  bin/setup
      create  bin/update
      create  bin/yarn
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/secrets.yml
      create  config/cable.yml
      create  config/puma.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/application_controller_renderer.rb
      create  config/initializers/assets.rb
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/cookies_serializer.rb
      create  config/initializers/cors.rb
      create  config/initializers/filter_parameter_logging.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/new_framework_defaults_5_1.rb
      create  config/initializers/wrap_parameters.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  lib
      create  lib/tasks
      create  lib/tasks/.keep
      create  lib/assets
      create  lib/assets/.keep
      create  log
      create  log/.keep
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/apple-touch-icon-precomposed.png
      create  public/apple-touch-icon.png
      create  public/favicon.ico
      create  public/robots.txt
      create  test/fixtures
      create  test/fixtures/.keep
      create  test/fixtures/files
      create  test/fixtures/files/.keep
      create  test/controllers
      create  test/controllers/.keep
      create  test/mailers
      create  test/mailers/.keep
      create  test/models
      create  test/models/.keep
      create  test/helpers
      create  test/helpers/.keep
      create  test/integration
      create  test/integration/.keep
      create  test/test_helper.rb
      create  test/system
      create  test/system/.keep
      create  test/application_system_test_case.rb
      create  tmp
      create  tmp/.keep
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor
      create  vendor/.keep
      create  package.json
      remove  config/initializers/cors.rb
      remove  config/initializers/new_framework_defaults_5_1.rb
         run  bundle install
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 12.0.0
Using concurrent-ruby 1.0.5
Using i18n 0.8.6
Using minitest 5.10.3
Using thread_safe 0.3.6
Using builder 3.2.3
Using erubi 1.6.1
Using mini_portile2 2.2.0
Using rack 2.0.3
Using nio4r 2.1.0
Using websocket-extensions 0.1.2
Using mime-types-data 3.2016.0521
Using arel 8.0.0
Using bundler 1.15.1
Using method_source 0.8.2
Using thor 0.20.0
Using sqlite3 1.3.13
Using puma 3.10.0
Using rb-fsevent 0.10.2
Using ffi 1.9.18
Using tilt 2.0.8
Using execjs 2.7.0
Using turbolinks-source 5.0.3
Using multi_json 1.12.1
Using byebug 9.0.6
Using public_suffix 2.0.5
Using mini_mime 0.1.4
Using rubyzip 1.2.1
Using bindex 0.5.0
Using ruby_dep 1.5.0
Using tzinfo 1.2.3
Using nokogiri 1.8.0
Using rack-test 0.6.3
Using sprockets 3.7.1
Using websocket-driver 0.6.5
Using mime-types 3.1
Using rb-inotify 0.9.10
Using childprocess 0.7.1
Using uglifier 3.2.0
Using turbolinks 5.0.1
Using addressable 2.5.1
Using activesupport 5.1.3
Using loofah 2.0.3
Using xpath 2.1.0
Using mail 2.6.6
Using sass-listen 4.0.0
Using listen 3.1.5
Using selenium-webdriver 3.5.1
Using rails-dom-testing 2.0.3
Using globalid 0.4.0
Using activemodel 5.1.3
Using jbuilder 2.7.0
Using rails-html-sanitizer 1.0.3
Using capybara 2.15.1
Using sass 3.5.1
Using activejob 5.1.3
Using activerecord 5.1.3
Using actionview 5.1.3
Using actionpack 5.1.3
Using actioncable 5.1.3
Using actionmailer 5.1.3
Using railties 5.1.3
Using sprockets-rails 3.2.0
Using web-console 3.5.1
Using rails 5.1.3
Using sass-rails 5.0.6
Bundle complete! 13 Gemfile dependencies, 66 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
The latest bundler is 1.15.3, but you are currently running 1.15.1.
To update, run `gem install bundler`
+ cd teaspoon-without-coffee
+ bundle add --group development,test teaspoon-jasmine
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Resolving dependencies...
Using rake 12.0.0
Using concurrent-ruby 1.0.5
Using i18n 0.8.6
Using minitest 5.10.3
Using thread_safe 0.3.6
Using builder 3.2.3
Using erubi 1.6.1
Using mini_portile2 2.2.0
Using rack 2.0.3
Using nio4r 2.1.0
Using websocket-extensions 0.1.2
Using mime-types-data 3.2016.0521
Using arel 8.0.0
Using bundler 1.15.1
Using method_source 0.8.2
Using thor 0.20.0
Using sqlite3 1.3.13
Using puma 3.10.0
Using rb-fsevent 0.10.2
Using ffi 1.9.18
Using tilt 2.0.8
Using execjs 2.7.0
Using turbolinks-source 5.0.3
Using multi_json 1.12.1
Using byebug 9.0.6
Using public_suffix 2.0.5
Using mini_mime 0.1.4
Using rubyzip 1.2.1
Using bindex 0.5.0
Using ruby_dep 1.5.0
Using tzinfo 1.2.3
Using nokogiri 1.8.0
Using rack-test 0.6.3
Using sprockets 3.7.1
Using websocket-driver 0.6.5
Using mime-types 3.1
Using rb-inotify 0.9.10
Using childprocess 0.7.1
Using uglifier 3.2.0
Using turbolinks 5.0.1
Using addressable 2.5.1
Using activesupport 5.1.3
Using loofah 2.0.3
Using xpath 2.1.0
Using mail 2.6.6
Using sass-listen 4.0.0
Using listen 3.1.5
Using selenium-webdriver 3.5.1
Using rails-dom-testing 2.0.3
Using globalid 0.4.0
Using activemodel 5.1.3
Using jbuilder 2.7.0
Using rails-html-sanitizer 1.0.3
Using capybara 2.15.1
Using sass 3.5.1
Using activejob 5.1.3
Using activerecord 5.1.3
Using actionview 5.1.3
Using actionpack 5.1.3
Using actioncable 5.1.3
Using actionmailer 5.1.3
Using railties 5.1.3
Using sprockets-rails 3.2.0
Using web-console 3.5.1
Using teaspoon 1.1.5
Using rails 5.1.3
Using sass-rails 5.0.6
Using teaspoon-jasmine 2.3.4
The latest bundler is 1.15.3, but you are currently running 1.15.1.
To update, run `gem install bundler`
+ bundle exec rails generate teaspoon:install
      create  spec/teaspoon_env.rb
      create  spec/javascripts/support
      create  spec/javascripts/fixtures
      create  spec/javascripts/spec_helper.js
+============================================================================+
Congratulations!  Teaspoon was successfully installed.  Documentation and more
can be found at: https://github.com/modeset/teaspoon

+ echo 'describe("Coffee failure", function() { it("fails"); })'
+ bundle exec rake teaspoon
Starting the Teaspoon server...
Puma starting in single mode...
* Version 3.10.0 (ruby 2.3.1-p112), codename: Russell's Teapot
* Min threads: 5, max threads: 5
* Environment: test
* Listening on tcp://127.0.0.1:64927
Use Ctrl-C to stop
Teaspoon running default suite at http://127.0.0.1:64927/teaspoon/default
Error: LoadError: cannot load such file -- coffee_script
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `require'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `block in require'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:258:in `load_dependency'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `require'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/autoload/coffee_script.rb:1:in `<top (required)>'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `require'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `block in require'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:258:in `load_dependency'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `require'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/coffee_script_processor.rb:15:in `cache_key'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/coffee_script_processor.rb:20:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:23:in `block in call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/utils.rb:200:in `dfs'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:142:in `block in find'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:231:in `block in stat_tree'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `logical_paths'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in `find'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:50:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:50:in `map'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:50:in `precompiled_assets'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:35:in `asset_precompiled?'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:251:in `block (3 levels) in <class:Railtie>'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:359:in `precompiled?'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:363:in `raise_unless_precompiled_asset'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:348:in `find_debug_asset'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:229:in `block in lookup_debug_asset'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:242:in `block in resolve_asset'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:241:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:241:in `detect'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:241:in `resolve_asset'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:228:in `lookup_debug_asset'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:170:in `block in stylesheet_link_tag'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:169:in `map'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/helper.rb:169:in `stylesheet_link_tag'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/teaspoon-1.1.5/app/views/teaspoon/suite/show.html.erb:8:in `__usr_local_var_rbenv_versions_______lib_ruby_gems_______gems_teaspoon_______app_views_teaspoon_suite_show_html_erb___3307352600514365898_70224012487880'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/template.rb:157:in `block in render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:168:in `instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/template.rb:352:in `instrument_render_template'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/template.rb:155:in `render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/template_renderer.rb:52:in `block (2 levels) in render_template'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/abstract_renderer.rb:42:in `block in instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/abstract_renderer.rb:41:in `instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/template_renderer.rb:51:in `block in render_template'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/template_renderer.rb:50:in `render_template'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/template_renderer.rb:14:in `render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/renderer.rb:42:in `render_template'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/renderer/renderer.rb:23:in `render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/rendering.rb:103:in `_render_template'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/streaming.rb:217:in `_render_template'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/rendering.rb:83:in `render_to_body'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/renderers.rb:141:in `render_to_body'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/abstract_controller/rendering.rb:24:in `render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/rendering.rb:36:in `render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/core_ext/benchmark.rb:12:in `ms'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-5.1.3/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:43:in `render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/implicit_render.rb:33:in `default_render'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/basic_implicit_render.rb:4:in `block in send_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/basic_implicit_render.rb:4:in `tap'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/abstract_controller/base.rb:186:in `process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/rendering.rb:30:in `process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:131:in `run_callbacks'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/rescue.rb:20:in `process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-5.1.3/lib/active_record/railties/controller_runtime.rb:22:in `process_action'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/abstract_controller/base.rb:124:in `process'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-5.1.3/lib/action_view/rendering.rb:30:in `process'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal.rb:189:in `dispatch'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_controller/metal.rb:253:in `dispatch'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/route_set.rb:31:in `serve'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:46:in `block in serve'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:33:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:33:in `serve'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/route_set.rb:834:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.3/lib/rails/railtie.rb:185:in `public_send'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.3/lib/rails/railtie.rb:185:in `method_missing'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/mapper.rb:46:in `serve'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:46:in `block in serve'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:33:in `each'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/journey/router.rb:33:in `serve'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/routing/route_set.rb:834:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/etag.rb:25:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/conditional_get.rb:25:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/head.rb:12:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in `context'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/cookies.rb:613:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-5.1.3/lib/active_record/migration.rb:556:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:97:in `run_callbacks'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/callbacks.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:135:in `call_app'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:28:in `block in call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:18:in `catch'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/web-console-3.5.1/lib/web_console/middleware.rb:18:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:36:in `call_app'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `block in call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.3/lib/rails/rack/logger.rb:24:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.2.0/lib/sprockets/rails/quiet_assets.rb:13:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/request_id.rb:25:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.3/lib/action_dispatch/middleware/static.rb:125:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.3/lib/rails/engine.rb:522:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.10.0/lib/puma/configuration.rb:225:in `call'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.10.0/lib/puma/server.rb:605:in `handle_request'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.10.0/lib/puma/server.rb:437:in `process_client'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.10.0/lib/puma/server.rb:301:in `block in run'
/usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/puma-3.10.0/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
  # /teaspoon/default?reporter=Console:1 -- global code

Failed to load: http://127.0.0.1:64927/teaspoon/default?reporter=Console
rake teaspoon failed
The latest bundler is 1.15.3, but you are currently running 1.15.1.
To update, run `gem install bundler`

@JakeLaCombe
Copy link

I'm running into this issue as well. In fact, just adding teaspoon-jasmine to the gemfile and running bundle install causes the precompilation task to fail.

@sumandroid
Copy link

clearly, clearing your cache does not fix the issue.
you need to include gem 'coffee-rails' in your assets group in your Gemfile run bundle install and everything will work fine.

@md5
Copy link
Contributor

md5 commented Sep 27, 2017

I've opened #528 to fix this.

@BrianHawley
Copy link
Contributor

You only need to include coffee-rails in your assets group if you're using Sprockets 3+; it may be a better idea to add it to a development/test group if you aren't using CoffeeScript in your app. It's probably a good idea to add this information to the README, in the Installation section.

@md5
Copy link
Contributor

md5 commented Dec 29, 2017

I've proposed an alternate fix at #536

I believe the issue is that teaspoon/*.js should not be included in the asset precompilation path.

meowsus pushed a commit to workarea-commerce/workarea that referenced this issue Jan 27, 2020
This was no longer running properly due to a strange `coffee_rails`
dependency. More information here:

jejacks0n/teaspoon#405

WORKAREA-185
meowsus pushed a commit to workarea-commerce/workarea that referenced this issue Jan 27, 2020
This was no longer running properly due to a strange `coffee_rails`
dependency. More information here:

jejacks0n/teaspoon#405

WORKAREA-185
meowsus pushed a commit to workarea-commerce/workarea that referenced this issue Jan 30, 2020
This was no longer running properly due to a strange `coffee_rails`
dependency. More information here:

jejacks0n/teaspoon#405

WORKAREA-185
krordev added a commit to krordev/enterprise-grade-Ruby-on-Rails-commerce-platform that referenced this issue Mar 29, 2022
This was no longer running properly due to a strange `coffee_rails`
dependency. More information here:

jejacks0n/teaspoon#405

WORKAREA-185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests