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

can't activate listen (~> 1.0), already activated listen-2.2.0 #219

Closed
jmuheim opened this issue Dec 2, 2013 · 1 comment
Closed

can't activate listen (~> 1.0), already activated listen-2.2.0 #219

jmuheim opened this issue Dec 2, 2013 · 1 comment

Comments

@jmuheim
Copy link

jmuheim commented Dec 2, 2013

When simply adding gem 'listen' to my Gemfile, I get this:

josh@macbuech:~/Documents/Work/Sientia/tests/transition (features/devise *)$ spring rspec
/Users/josh/.rvm/gems/ruby-2.0.0-p353@global/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:224:in `block in replace_gem': can't activate listen (~> 1.0), already activated listen-2.2.0. Make sure all dependencies are added to Gemfile. (Gem::LoadError)
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/watcher/listen.rb:1:in `<top (required)>'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/watcher.rb:17:in `require_relative'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/watcher.rb:17:in `watch_method='
    from /Users/josh/Documents/Work/Sientia/tests/transition/config/spring.rb:2:in `<top (required)>'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/commands.rb:39:in `require'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/commands.rb:39:in `<module:Spring>'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/commands.rb:3:in `<top (required)>'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/server.rb:18:in `require'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/server.rb:18:in `<top (required)>'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/client/run.rb:35:in `require'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/client/run.rb:35:in `block in boot_server'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/client/run.rb:34:in `fork'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/client/run.rb:34:in `boot_server'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/client/run.rb:18:in `call'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/client/command.rb:7:in `call'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/lib/spring/client.rb:23:in `run'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/gems/spring-1.0.0/bin/spring:31:in `<top (required)>'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/bin/spring:23:in `load'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/bin/spring:23:in `<main>'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/bin/ruby_executable_hooks:15:in `eval'
    from /Users/josh/.rvm/gems/ruby-2.0.0-p353@transition/bin/ruby_executable_hooks:15:in `<main>'

I had to explicitly specify gem 'listen' , '~> 1.0'.

@jonleighton
Copy link
Member

Listen 2 is not supported at the moment, see #194.

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

2 participants