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

Guard works under ree, but not under 1.9.2 #41

Closed
jeffdeville opened this issue Apr 7, 2011 · 8 comments
Closed

Guard works under ree, but not under 1.9.2 #41

jeffdeville opened this issue Apr 7, 2011 · 8 comments
Labels

Comments

@jeffdeville
Copy link

I'm not sure if this is an issue w/ Guard or my rvm install, but in my rails 3 1.9.2 project, I get this:

guard

/Volumes/spinner/jeffdeville/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:900:in report_activate_error': Could not find RubyGem bundler (>= 0) (Gem::LoadError) from /Volumes/spinner/jeffdeville/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:248:inactivate'
from /Volumes/spinner/jeffdeville/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:1276:in gem' from /Volumes/spinner/jeffdeville/.rvm/gems/ruby-1.9.2-p180/bin/bundle:18:in

'

but if I instead use:
rvm use ree; guard

things work.

Is this a known compatibility issue, or might there be something wrong w/ my 1.9.2 gems? (0.3.0 is definitely installed, and the bin is evidently found)

@thibaudgg
Copy link
Member

Do you have installed Bundler in Ruby 1.9.2? Could not find RubyGem bundler

@jeffdeville
Copy link
Author

Yes. And bundle exec guard didn't work either.

@thibaudgg
Copy link
Member

Please, can you give your Gemfile & Guardfile?

@rymai
Copy link
Member

rymai commented Apr 18, 2011

Any update on this Jeff?

@Burgestrand
Copy link

Bundler is only a development dependency of Guard, yet you require it in the main file. This means Bundler would not get installed while installing Guard, and is probably why jeff gets this error.

I wonder… why do you require bundler in the first place? I tried looking through the project, searching for something that might require bundler but I found nothing.

@thibaudgg
Copy link
Member

You are right, bundler is no more required in the main file (it was needed in version 0.1.1 in Guard#locate_guard). I forgot to remove the require, my fault!

@BJClark
Copy link

BJClark commented May 24, 2011

When will this be released?

@rymai
Copy link
Member

rymai commented May 24, 2011

This week!

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

No branches or pull requests

5 participants