GithubHelp home page GithubHelp logo

Comments (8)

searls avatar searls commented on June 12, 2024

sounds legit -- I didn't run into this in local testing but it's probably because of how I'd been loading the gem.

from jasmine-rails.

pschuegr avatar pschuegr commented on June 12, 2024

Ah. If you have a sec, can you outline how you load the gem? I'm also having troubles importing the rake tasks manually, although I'm pretty sure that's just something dumb that I'm doing right now.

from jasmine-rails.

searls avatar searls commented on June 12, 2024

I just did this and the rake task appeared (it blew up because I didn't define a jasmine.yml file, but that's not the task's fault per se):

$ rails new bar
$ cd bar

Then added this to Gemfile:

group :development, :test do
  gem 'jasmine-rails'
end

Then

$ bundle
$ bundle exec rake spec:javascript

And I got this expected explosion:

No such file or directory - /Users/justin/tmp/bar/spec/javascripts/support/jasmine.yml
/Users/justin/tmp/bar/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => spec:javascript => environment
(See full trace by running task with --trace)

from jasmine-rails.

searls avatar searls commented on June 12, 2024

I'll close this for now -- if you post an example app demonstrating the issue, we can reopen it.

from jasmine-rails.

pschuegr avatar pschuegr commented on June 12, 2024

I'm not sure how this works on your system - I did essentially the same thing:

https://gist.github.com/pschuegr/5462006

And get what I expected - it doesn't know anything about rake spec:javascript. Do you have some kind of system wide change?

from jasmine-rails.

searls avatar searls commented on June 12, 2024

Thanks for sharing your output!

You're not seeing the rake task b/c you're on [email protected] and the rake task was introduced in 0.4.0. (Current version is 0.4.2)

from jasmine-rails.

pschuegr avatar pschuegr commented on June 12, 2024

Ok - so the last version available on rubygems is 0.3.2 then - I guess we need to point to the github version.

Thanks for looking at this.

from jasmine-rails.

searls avatar searls commented on June 12, 2024

Actually, it is on Rubygems.

http://rubygems.org/gems/jasmine-rails

I imagine you probably have locked to an older version. Ensure you're not specifying a version and then bundle update the gem.

On Apr 25, 2013, at 6:39 PM, Paul Schuegraf [email protected] wrote:

Ok - so the last version available on rubygems is 0.3.2 then - I guess we need to point to the github version.

Thanks for looking at this.


Reply to this email directly or view it on GitHub.

from jasmine-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.