Bugs item #28411, was opened at 2010-07-20 18:41
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28411&group_id=126

Category: #gem and #require methods
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Roger Pack (rogerdpack)
Assigned to: Nobody (None)
Summary: unable to run a gem bin/xxx when newer version

Initial Comment:
Here's what occurs currently:
$ gem install rspec
$ gem install rspec --pre
$ spec

c:/ruby19/lib/ruby/site_ruby/1.9.1/rubygems.rb:335:in `bin_path': can't find 
executable spec for rspec-2.0.0.beta.17 (Gem::Exception)
        from 
c:/ruby19/lib/ruby/site_ruby/1.9.1/faster_rubygems/prelude_bin_path.rb:44:in 
`bin_path'
        from c:/ruby19/bin/spec:19:in `<main>'


Unless there's a new requirement I'm not aware of that newer versions *have* to 
have any binary scripts that all previous versions had.

Thanks much.
-r

----------------------------------------------------------------------

>Comment By: Luis Lavena (luislavena)
Date: 2010-07-20 19:33

Message:
rspec prerelease include the binary in rspec-core and is named rspec, not spec 
anymore.

http://github.com/rspec/rspec-core/blob/master/rspec-core.gemspec#L16

The spec stub:


gem 'rspec', version
load Gem.bin_path('rspec', 'spec', version)

Can't know that rspec gem no longer provide the binary needed.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28411&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to