Comments (6)
This has been fixed in a newer version of RubyGems.
from rubygems.
Actually, I spoke too soon, looks like --all still uses Gem::SourceIndex:
$ gem19 rdoc --all --overwrite
NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex.from_installed_gems called from /usr/local/lib/ruby/1.9.1/rubygems/commands/rdoc_command.rb:58.
NOTE: Gem::SourceIndex.installed_spec_directories is deprecated, use Specification.dirs. It will be removed on or after 2011-11-01.
Gem::SourceIndex.installed_spec_directories called from /usr/local/lib/ruby/1.9.1/rubygems/source_index.rb:47.
NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::SourceIndex.from_gems_in called from /usr/local/lib/ruby/1.9.1/rubygems/source_index.rb:47.
[…]
from rubygems.
Hello.
I meet this problem with 1.8.10.
The "rdoc_command.rb" in master branch does not use Gem::SourceIndex.
(see https://github.com/rubygems/rubygems/blob/master/lib/rubygems/commands/rdoc_command.rb )
However, this change is not applied to the "rdoc_command.rb" in 1.8 branch!
(see https://github.com/rubygems/rubygems/blob/1.8/lib/rubygems/commands/rdoc_command.rb )
I think that this is a reason of the problem.
from rubygems.
I still get this error with 1.8.24:
$ gem --version
1.8.24
$ gem rdoc rails
NOTE: Gem::SourceIndex.from_installed_gems is deprecated with no replacement. It will be removed on or after 2011-10-01.
from rubygems.
Another one in 1.8.24:
$ gem rdoc --ri nokogiri
Gem::SourceIndex#add_spec called from /home/epi/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
A gem divided against itself cannot stand!
from rubygems.
This is fixed in master, which is where we're spending out time right now. I'm going to ahead and close this.
from rubygems.
Related Issues (20)
- libruby.so.3.2 cannot open shared object file No such file or directory - /opt/render/project/.gems/ruby/3.2.0/gems/psych-5.1.2/lib/psych.so HOT 14
- bundler/inline changes ENV keys to upper case HOT 2
- `bundle install` updates dependency after gem version bump HOT 2
- Ruby upgrade issue HOT 2
- Bundle updates are moving dependencies from global to secondary source HOT 8
- `bundle lock` commands do not run hooks such as `after-install-all` HOT 8
- Standalone bundle's setup.rb should implement Gem.try_activate to avoid breaking binding.irb
- 2.4 breaks dumb (http) git repo support (for no good reason?) HOT 5
- problem with jekyllrb.com/tutorials/using-jekyll-with-bundler/ HOT 1
- Any operation from rubygems with webauthn hangs and timeout
- NoMethodError: undefined method `parse' for #<Psych::Parser:0x00007f4db9c41a90 HOT 2
- bundle Install failing
- Bundler `original_env.GEM_HOME` is incorrect if bundler version is trampolined
- bunbun
- Feature Request: Ability to pack gems into a single file
- Installing bundler in parallel raises errors HOT 7
- OAuth2 authentication against gem server.
- Introducing a new gem fails to bundle update with existing platform-specific gem HOT 4
- bundle install - Errno::EACCES: Permission denied @ rb_sysopen - /usr/share/gems/specifications/websocket-extensions-0.1.5.gemspec HOT 1
- `bundle check` causes file modifications to `Gemfile.lock` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubygems.