mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Make gemspec files for default gems with extensions
So that rubygems can find them as gems. However, the `--install-dir` option of `gem install` seems to exclude prerelease gems, even already installed in that directory, from the dependencies for some reasons; use the `GEM_HOME` environment variable instead. Now net-imap 0.5.0 depends on json gem.
This commit is contained in:
parent
80fd846353
commit
0fda818bd7
Notes:
git
2024-10-31 17:33:36 +00:00
3 changed files with 35 additions and 8 deletions
2
tool/lib/gem_env.rb
Normal file
2
tool/lib/gem_env.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
ENV['GEM_HOME'] = gem_home = File.expand_path('.bundle')
|
||||
ENV['GEM_PATH'] = [gem_home, File.expand_path('../../../.bundle', __FILE__)].uniq.join(File::PATH_SEPARATOR)
|
Loading…
Add table
Add a link
Reference in a new issue