Skip to content

Instantly share code, notes, and snippets.

@recursive
Created January 13, 2011 01:21
Show Gist options
  • Select an option

  • Save recursive/777245 to your computer and use it in GitHub Desktop.

Select an option

Save recursive/777245 to your computer and use it in GitHub Desktop.
Any Ideas?
ruby-1.9.2-p136@proman [git javascript] rake jasmine
(in /Users/developer/Development/Workspace/ProMan)
rake aborted!
no such file to load -- spec/javascripts/support/jasmine_config.rb
(See full trace by running task with --trace)
ruby-1.9.2-p136@proman [git javascript] ls -alh spec/javascripts/support/jasmine_config.rb
-rw-r--r--+ 1 developer staff 422B Jan 12 19:19 spec/javascripts/support/jasmine_config.rb
@javierv
Copy link
Copy Markdown

javierv commented Feb 9, 2011

Run the task with --trace. Doing that, I've just found out that in order to work with Ruby 1.9, the file jasmine-1.0.1.1/lib/jasmine/tasks/jasmine.rake should be:
require File.join(Rails.root, jasmine_config_overrides) if File.exist?(jasmine_config_overrides)

I'm gonna report this bug to the jasmine gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment