Closed msdx closed 8 years ago
完整信息:
haohang@haohang-desktop:/workspace/project/park-here-android$ gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.5.1.gem (100%)
ERROR: While executing gem ... (Errno::EACCES)
Permission denied @ dir_s_mkdir - /var/lib/gems
haohang@haohang-desktop:/workspace/project/park-here-android$ gem install fir-cli
Fetching: chunky_png-1.3.5.gem (100%)
ERROR: While executing gem ... (Errno::EACCES)
Permission denied @ dir_s_mkdir - /var/lib/gems
haohang@haohang-desktop:/workspace/project/park-here-android$ sudo gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.5.1.gem (100%)
Successfully installed rubygems-update-2.5.1
Parsing documentation for rubygems-update-2.5.1
Installing ri documentation for rubygems-update-2.5.1
Installing darkfish documentation for rubygems-update-2.5.1
Done installing documentation for rubygems-update after 2 seconds
Installing RubyGems 2.5.1
RubyGems 2.5.1 installed
Parsing documentation for rubygems-2.5.1
Installing ri documentation for rubygems-2.5.1
=== 2.5.1 / 2015-12-10
Bug fixes:
* Ensure platform sorting only uses strings. Affected binary installs on Windows.
Issue #1369 reported by Ryan Atball (among others).
Pull request #1375 by Samuel E. Giddins.
* Revert PR #1332. Unable to reproduce, and nil should be impossible.
* Gem::Specification#to_fullpath now returns .rb extensions when such a file
exists. Pull request #1114 by y-yagi.
* RubyGems now handles Net::HTTPFatalError instead of crashing. Pull
request #1314 by Samuel E. Giddins.
* Updated bundled Molinillo to 0.4.0. Pull request #1322, #1396 by Samuel E.
Giddins.
* Improved performance of spec loading by reducing likelihood of loading he
complete specification. Pull request #1373 by Aaron Patterson.
* Improved caching of requirable files Pull request #1377 by Aaron Patterson.
* Fixed activation of gems with development dependencies. Pull request #1388
by Samuel E. Giddins.
* RubyGems now uses the same Molinillo vendoring strategy as Bundler. Pull
request #1397 by Samuel E. Giddins.
* Fixed documentation of Gem::Requirement.parse. Pull request #1398 by
Juanito Fatas.
* RubyGems no longer warns when a prerelease gem has prerelease dependencies.
Pull request #1399 by Samuel E. Giddins.
* Fixed Gem::Version documentation example. Pull request #1401 by Guilherme
Goettems Schneider.
* Updated documentation links to https://. Pull request #1404 by Suriyaa
Kudo.
* Fixed double word typo. Pull request #1411 by Jake Worth.
=== 2.5.0 / 2015-11-03
Major enhancements:
* Added the Gem::Licenses class which provides a set of standard license
identifiers as set by spdx.org. This is now used by the
Gem::Specification#license attribute to try to standardize (though not
enforce) licenses set by gem authors.
Pull request #1249 by Kyle Mitchell.
Minor enhancements:
* Use Molinillo as the resolver library. This is the same resolver as used by
Bundler. Pull request #1189 by Samuel E. Giddins.
* Add `--skip=gem_name` to Pristine command. Pull request #1018 by windwiny.
* The parsed gem dependencies file is now available via Gem.gemdeps following
Gem.use_gemdeps. Pull request #1224 by Hsing-Hui Hsu, issue #1213 by
Michal Papis.
* Moved description attribute to recommended for Gem::Specification.
Pull request #1046 by Michal Papis
* Moved `Gem::Indexer#abbreviate` and `#sanitize` to `Gem::Specification`.
Pull request #1145 by Arthur Nogueira Neves
* Cache Gem::Version segments for `#bump` and `#release`.
Pull request #1131 by Matijs van Zuijlen
* Fix edge case in `levenshtein_distance` for comparing longer strings.
Pull request #1173 by Richard Schneeman
* Remove duplication from List#to_a, improving from O(n^2) to O(n) time.
Pull request #1200 by Marc Siegel.
* Gem::Specification.add_specs is deprecated and will be removed from version
3.0 with no replacement. To add specs, install the gem, then reset the
cache.
* Gem::Specification.add_spec is deprecated and will be removed from version
3.0 with no replacement. To add specs, install the gem, then reset the
cache.
* Gem::Specification.remove_spec is deprecated and will be removed from version
3.0 with no replacement. To remove specs, uninstall the gem, then reset the
cache by calling Gem::Specification.reset.
* Call Array#compact before calling Array#uniq for minor speed improvement in
the Gem::Specification#files method.
Pull request #1253 by Marat Amerov.
* Use stringio instead of custom String classes.
Pull request #1250 by Petr Skocik.
* Use URI#host instead of URI#hostname to retain backwards compatibility with
Ruby 1.9.2 and earlier in util library.
Pull request #1288 by Joe Rafaniello.
* Documentation update for gem sources.
Pull request #1324 by Ilya Vassilevsky.
* Documentation update for required_ruby_version.
Pull request #1321 by Matt Patterson.
* Documentation update for gem update.
Pull request #1306 by Tim Blair.
* Emit a warning on SRV resolve failure.
Pull request #1023 by Ivan Kuchin.
* Allow duplicate dependencies between runtime and development.
Pull request #1032 by Murray Steele.
* The gem env command now shows the user installation directory.
Pull request #1343 by Luis Sagastume.
* The Gem::Platform#=== method now treats a nil cpu arch the same as 'universal'.
Pull request #1356 by Daniel Berger.
* Improved memory performance in Gem::Specification.traverse. Pull request
#1188 by Aaron Patterson.
* RubyGems packages now support symlinks. Pull request #1209 by Samuel E.
Giddins.
* RubyGems no longer outputs mkmf.log if it does not exist. Pull request
#1222 by Andrew Hooker.
* Added Bitrig platform. Pull request #1233 by John C. Vernaleo.
* Improved error message for first-time RubyGems developers. Pull request
#1241 by André Arko
* Improved performance of Gem::Specification#load with cached specs. Pull
request #1297 by Samuel E. Giddins.
* Gem::RemoteFetcher allows users to set HTTP headers. Pull request #1363 by
Agis Anastasopoulos.
Bug fixes:
* Fixed Rake homepage url in example for Gem::Specification#homepage.
Pull request #1171 by Arthur Nogueira Neves
* Don't crash if partially uninstalled gem can't be found.
Pull request #1283 by Cezary Baginski.
* Test warning cleanup.
Pull request #1298 by Samuel E. Giddins.
* Documentation fix for GemDependencyAPI.
Pull request #1308 by Michael Papis.
* Fetcher now ignores ENOLCK errors in single threaded environments. This
handles an issue with gem installation on NFS as best we can. Addresses
issue #1176 by Ryan Moore.
Pull request #1327 by Daniel Berger.
* Fix some path quoting issues in the test suite.
Pull request #1328 by Gavin Miller.
* Fix NoMethodError in running ruby processes when gems are uninstalled.
Pull request #1332 by Peter Drake.
* Fixed a potential NoMethodError for gem cleanup.
Pull request #1333 by Peter Drake.
* Fixed gem help bug.
Issue #1352 reported by bogem, pull request #1357 by Luis Sagastume.
* Remove temporary directories after tests finish. Pull request #1181 by
Nobuyoshi Nokada.
* Update links in RubyGems documentation. Pull request #1185 by Darío Hereñú.
* Prerelease gem executables can now be run. Pull request #1186 by Samuel E.
Giddins.
* Updated RubyGems travis-ci ruby versions. Pull request #1187 by Samuel E.
Giddins.
* Fixed release date of RubyGems 2.4.6. Pull request #1190 by Frieder
Bluemle.
* Fixed bugs in gem activation. Pull request #1202 by Miklós Fazekas.
* Fixed documentation for `gem list`. Pull request #1228 by Godfrey Chan.
* Fixed #1200 history entry. Pull request #1234 by Marc Siegel.
* Fixed synchronization issue when resetting the Gem::Specification gem list.
Pull request #1239 by Samuel E. Giddins.
* Fixed running tests in parallel. Pull request #1257 by SHIBATA Hiroshi.
* Fixed running tests with `--program-prefix` or `--program-suffix` for ruby.
Pull request #1258 by Shane Gibbs.
* Fixed Gem::Specification#to_yaml. Pull request #1262 by Hiroaki Izu.
* Fixed taintedness of Gem::Specification#raw_require_paths. Pull request
#1268 by Sam Ruby.
* Fixed sorting of platforms when installing gems. Pull request #1271 by
nonsequitur.
* Use `--no-document` over deprecated documentation options when installing
dependencies on travis. Pull request #1272 by takiy33.
* Improved support for IPv6 addresses in URIs. Pull request #1275 by Joe
Rafaniello.
* Spec validation no longer crashes if a file does not exist. Pull request
#1278 by Samuel E. Giddins.
* Gems can now be installed within `rescue`. Pull request #1282 by Samuel E.
Giddins.
* Increased Diffie-Hellman key size for tests for modern OpenSSL. Pull
request #1290 by Vít Ondruch.
* RubyGems handles invalid config files better. Pull request #1367 by Agis
Anastasopoulos.
=== 2.4.8 / 2015-06-08
Bug fixes:
* Tightened API endpoint checks for CVE-2015-3900
=== 2.4.7 / 2015-05-14
Bug fixes:
* Limit API endpoint to original security domain for CVE-2015-3900.
Fix by claudijd
=== 2.4.6 / 2015-02-05
Bug fixes:
* Fixed resolving gems with both upper and lower requirement boundaries.
Issue #1141 by Jakub Jirutka.
* Moved extension directory after require_paths to fix missing constant bugs
in some gems with C extensions. Issue #784 by André Arko, pull request
#1137 by Barry Allard.
* Use Gem::Dependency#requirement when adding a dependency to an existing
dependency instance. Pull request #1101 by Josh Cheek.
* Fixed warning of shadowed local variable in Gem::Specification. Pull request
#1109 by Rohit Arondekar
* Gem::Requirement should always sort requirements before coercion to Hash.
Pull request #1139 by Eito Katagiri.
* The `gem open` command should change the current working directory before
opening the editor. Pull request #1142 by Alex Wood.
* Ensure quotes are stripped from the Windows launcher script used to install
gems. Pull request #1115 by Youngjun Song.
* Fixed errors when writing to NFS to to 0444 files. Issue #1161 by Emmanuel
Hadoux.
* Removed dead code in Gem::StreamUI. Pull request #1117 by mediaslave24.
* Fixed typos. Pull request #1096 by hakeda.
* Relaxed CMake dependency for RHEL 6 and CentOS 6. Pull request #1124 by Vít
Ondruch.
* Relaxed Psych dependency. Pull request #1128 by Vít Ondruch.
=== 2.4.5 / 2014-12-03
Bug fixes:
* Improved speed of requiring gems. (Around 25% for a 60 gem test). Pull
request #1060 by unak.
* RubyGems no longer attempts to look up gems remotely with the --local flag.
Pull request #1084 by Jeremy Evans.
* Executable stubs use the correct gem version when RUBYGEMS_GEMDEPS is
active. Issue #1072 by Michael Kaiser-Nyman.
* Fixed handling of pinned gems in lockfiles with versions. Issue #1078 by
Ian Ker-Seymer.
* Fixed handling of git@example:gem.git URIs. Issue #1054 by Mogutan Mogu.
* Fixed handling of platforms retrieved from the dependencies API. Issue
#1058 and patch suggestion by tux-mind.
* RubyGems now suggests a copy-pasteable `gem pristine` command when
extensions are missing. Pull request #1057 by Shannon Skipper.
* Improved errors for long file names when packaging. Pull request #1016 by
Piotrek Bator.
* `gem pristine` now skips gems cannot be found remotely. Pull request #1064
by Tuomas Kareinen.
* `gem pristine` now caches gems to the proper directory. Pull request #1064
by Tuomas Kareinen.
* `gem pristine` now skips bundled gems properly. Pull request #1064 by
Tuomas Kareinen.
* Improved interoperability of Vagrant with RubyGems. Pull request #1057 by
Vít Ondruch.
* Renamed CONTRIBUTING to CONTRIBUTING.rdoc to allow markup. Pull request
#1090 by Roberto Miranda.
* Switched from #partition to #reject as only one collection is used. Pull
request #1074 by Tuomas Kareinen.
* Fixed installation of gems on systems using memory-mapped files. Pull
request #1038 by Justin Li.
* Fixed bug in Gem::Text#min3 where `a == b < c`. Pull request #1026 by
fortissimo1997.
* Fixed uninitialized variable warning in BasicSpecification. Pull request
#1019 by Piotr Szotkowski.
* Removed unneeded exception handling for cyclic dependencies. Pull request
#1043 by Jens Wille.
* Fixed grouped expression warning. Pull request #1081 by André Arko.
* Fixed handling of platforms when writing lockfiles.
=== 2.4.4 / 2014-11-12
Bug fixes:
* Add alternate Root CA for upcoming certificate change. Fixes #1050 by
Protosac
=== 2.4.3 / 2014-11-10
Bug fixes:
* Fix redefine MirrorCommand issue. Pull request #1044 by @akr.
* Fix typo in platform= docs. Pull request #1048 by @jasonrclark
* Add root SSL certificates for upcoming certificate change. Fixes #1050 by
Protosac
=== 2.4.2 / 2014-10-01
This release was sponsored by Ruby Central.
Bug fixes:
* RubyGems now correctly matches wildcard no_proxy hosts. Issue #997 by
voelzemo.
* Added support for missing git_source method in the gem dependencies API.
* Fixed handling of git gems with an alternate install directory.
* Lockfiles will no longer be truncated upon resolution errors.
* Fixed messaging for `gem owner -a`. Issue #1004 by Aaron Patterson, Ryan
Davis.
* Removed meaningless ensure. Pull request #1003 by gogotanaka.
* Improved wording of --source option help. Pull request #989 by Jason Clark.
* Empty build_info files are now ignored. Issue #903 by Adan Alvarado.
* Gem::Installer ignores dependency checks when installing development
dependencies. Issue #994 by Jens Willie.
* `gem update` now continues after dependency errors. Issue #993 by aaronchi.
* RubyGems no longer warns about semantic version dependencies for the 0.x
range. Issue #987 by Jeff Felchner, pull request #1006 by Hsing-Hui Hsu.
* Added minimal lock to allow multithread installation of gems. Issue #982
and pull request #1005 by Yorick Peterse
* RubyGems now considers prerelease dependencies as it did in earlier versions
when --prerelease is given. Issue #990 by Jeremy Tryba.
* Updated capitalization in README. Issue #1010 by Ben Bodenmiller.
* Fixed activating gems from a Gemfile for default gems. Issue #991 by khoan.
* Fixed windows stub script generation for Cygwin. Issue #1000 by Brett
DiFrischia.
* Allow gem bindir and ruby.exe to live in separate diretories. Pull request
#942 by Ian Flynn.
* Fixed handling of gemspec in gem dependencies files to match Bundler
behavior. Issue #1020 by Michal Papis.
* Fixed `gem update` when updating to prereleases. Issue #1028 by Santiago
Pastorino.
* RubyGems now fails immediately when a git reference cannot be found instead
of spewing git errors. Issue #1031 by Michal Papis
=== 2.4.1 / 2014-07-17
Bug fixes:
* RubyGems can now be updated on Ruby implementations that do not support
vendordir in RbConfig::CONFIG. Issue #974 by net1957.
=== 2.4.0 / 2014-07-16
Minor enhancements:
* The contents command now supports a --show-install-dir option that shows
only the directory the gem is installed in. Feature request #966 by Akinori
MUSHA.
* Added a --build-root option to the install command for packagers. Pull
request #965 by Marcus Rückert.
* Added vendor gem support to RubyGems. Package managers may now install gems
in Gem.vendor_dir with the --vendor option to gem install. Issue #943 by
Marcus Rückert.
Bug fixes:
* Kernel#gem now respects the prerelease flag when activating gems.
Previously this behavior was undefined which could lead to bugs when a
prerelease version was unintentionally activated. Bug #938 by Joe Ferris.
* RubyGems now prefers gems from git over installed gems. This allows gems
from git to override an installed gem with the same name and version. Bug
#944 by Thomas Kriechbaumer.
* Fixed handling of git gems in a lockfile with unversioned dependencies. Bug
#940 by Michael Kaiser-Nyman.
* The ruby directive in a gem dependencies file is ignored when installing.
Bug #941 by Michael Kaiser-Nyman.
* Added open to list of builtin commands (`gem open` now works). Reported by
Espen Antonsen.
* `gem open` now works with command-line editors. Pull request #962 by Tim
Pope.
* `gem install -g` now respects `--conservative`. Pull request #950 by Jeremy
Evans.
* RubyGems releases announcements now now include checksums. Bug #939 by
Alexander E. Fischer.
* RubyGems now expands ~ in $PATH when checking if installed executables will
be runnable. Pull request #945 by Alex Talker.
* Fixed `gem install -g --explain`. Issue #947 by Luis Lavena. Patch by
Hsing-Hui Hsu.
* RubyGems locks less during gem activation. Pull request #951 by Aaron
Patterson and Justin Searls, #969 by Jeremy Tryba.
* Kernel#gem is now thread-safe. Pull request #967 by Aaron Patterson.
* RubyGems now handles spaces in directory names for some parts of extension
building. Pull request #949 by Tristan Hill.
* RubyGems no longer defines an empty Date class. Pull Request #948 by Benoit
Daloze.
* RubyGems respects --document options for `gem update` again. Bug 946 by
jonforums. Patch by Hsing-Hui Hsu.
* RubyGems generates documentation again with --ignore-dependencies. Bug #961
by Pulfer.
* RubyGems can install extensions across partitions now. Pull request #970 by
Michael Scherer.
* `-s` is now short for `--source` which resolves an ambiguity with
--no-suggestions. Pull request #955 by Alexander Kahn.
* Added extra test for ~> for 0.0.X versions. Pull request #958 by Mark
Lorenz.
* Fixed typo in gem updated help. Pull request #952 by Per Modin.
* Clarified that the gem description should not be excessively long. Part of
bug #956 by Renier Morales.
* Hid documentation of outdated test_files related methods in Specification.
Guides issue #90 by Emil Soman.
* RubyGems now falls back to the old index if the rubygems.org API fails
during gem resolution.
=== 2.3.0 / 2014-06-10
Minor enhancements:
* Added the `open` command which allows you to inspect the source of a gem
using your editor.
Issue #789 by Mike Perham. Pull request #804 by Vitali F.
* The `update` command shows a summary of which gems were and were not
updated. Issue #544 by Mark D. Blackwell.
Pull request #777 by Tejas Bubane.
* Improved "could not find 'gem'" error reporting. Pull request #913 by
Richard Schneeman.
* Gem.use_gemdeps now accepts an argument specifying the path of the gem
dependencies file. When the file is not found an ArgumentError is raised.
* Writing a .lock file for a gem dependencies file is now controlled by the
--[no-]lock option. Pull reuqest #774 by Jeremy Evans.
* Suggestion of alternate names and spelling corrections during install can be
suppressed with the --no-suggestions option. Issue #867 by Jimmy Cuadra.
* Added mswin64 support. Pull request #881 by U. Nakamura.
* A gem is installable from an IO again (as in RubyGems 1.8.x and older).
Pull request #716 by Xavier Shay.
* RubyGems no longer attempts to build extensions during activation. Instead
a warning is issued instructing you to run `gem pristine` which will build
the extensions for the current platform. Issue #796 by dunric.
* Added Gem::UserInteraction#verbose which prints when the --verbose option is
given. Pull request #811 by Aaron Patterson.
* RubyGems can now fetch gems from private repositories using S3. Pull
request #856 by Brian Palmer.
* Added Gem::ConflictError subclass of Gem::LoadError so you can distinguish
conflicts from other problems. Pull request #841 by Aaron Patterson.
* Cleaned up unneeded load_yaml bootstrapping in Rakefile. Pull request #815
by Zachary Scott.
* Improved performance of conflict resolution. Pull request #842 by Aaron
Patterson.
* Add documentation of "~> 0" to Gem::Version. Issue #896 by Aaron Suggs.
* Added CONTRIBUTING file. Pull request #849 by Mark Turner.
* Allow use of bindir in windows_stub_script in .bat
Pull request #818 by @unak and @nobu
* Use native File::PATH_SEPARATOR and remove $ before gem env on
Gem::Dependency#to_specs. Pull request #915 by @parkr
* RubyGems recommends SPDX IDs for licenses now. Pull request #917 by
Benjamin Fleischer.
Bug fixes:
* RubyGems now only fetches the latest specs to find misspellings which speeds
up gem suggestions. Pull request #808 by Aaron Patterson.
* The given .gem is installed again when multiple versions of the same gem
exist in the current directory. Bug #875 by Prem Sichanugrist.
* Local gems are preferred by name over remote gems again. Bug #834 by
jonforums.
* RubyGems can install local prerelease gems again. Pull request #866 by
Aaron Patterson. Issue #813 by André Arko.
* RubyGems installs development dependencies correctly again. Issue #893 by
Jens Wille.
* RubyGems only installs prerelease versions when they are requested again.
Issue #853 by Seth Vargo, special thanks to Zachary Scott and Ben Moss.
Issue #884 by Nathaniel Bibler.
* Fixed RubyGems list and search command help. Pull request #905 and #928 by
Gabriel Gilder.
* The list of gems to uninstall is always sorted now. Bug #918 by postmodern.
* The update command only updates exactly matching gem names now. Bug #919 by
postmodern.
* Gem::Server now supports prerelease versions. Bug #857 by Marcelo Alvim.
* RubyGems no longer raises an exception immediately when gems are missing
with RUBYGEMS_GEMDEPS. A warning is printed instead. Issue #886 by Michael
Kaiser-Nyman.
* Commands using the rubygems.org API no longer try to sign-in when a
non-rubygems API key has been chosen. Bug #826 by Ben Sedat.
* Updated documentation of Gem::Specification#executables to indicate that
only ruby scripts are allowed. Bug #830 by Geoff Nixon.
* Gem dependency API supports multiple platforms for #platform and #platforms
now. Bug #821 by johnny5-.
* Gem dependency API supports lockfiles without explicit sources. Bug #820 by
johnny5-.
* Gem dependency API supports lockfiles with multiple sources. Bug #822 by
johnny5-, bug #851 by sumit shah.
* Gem dependency API supports lockfiles with git sources using branch, tag and
ref. Bug #822 by johnny5-, #931 by Christoph Blank.
* Gem dependency API no longer raises an exception when a gem does not exist
in one of the configured sources. Bug #897 by Michael Kaiser-Nyman.
* Gem dependency API no longer lists development dependencies in the lockfile.
Bug #768 by Diego Viola, #916 by Santiago Pastorino.
* SSL configuration entries in ~/.gemrc are properly round-tripped. Bug #837
by Noah Luck Easterly.
* The environment command now shows the system configuration directory where
the all-users gemrc lives. Bug #827 by Ben Langfeld.
* Improved speed of conflict checking when activating gems. Pull request #843
by Aaron Patterson.
* Improved speed of levenshtein distance for gem suggestion misspellings.
Pull requests #809, #812 by Aaron Patterson.
* Restored persistent connections. Pull request #869 by Aaron Patterson.
* Reduced requests when fetching gems with the bundler API. Pull request #773
by Charlie Somerville.
* Reduced dependency prefetching to improve install speed. Pull requests
#871, #872 by Matthew Draper.
* RubyGems now avoids net/http auto-proxy detection. Issue #824 by HINOHARA
Hiroshi.
* Removed conversion of Gem::List (used for debugging installs) to unless
necessary. Pull request #870 by Aaron Patterson.
* RubyGems now prints release notes from the current release. Bug #814 by
André Arko.
* RubyGems allows installation of unsigned gems again with -P MediumSecurity
and lower. Bug #859 by Justin S. Collins.
* Fixed typo in Jim Weirich's name. Ruby pull request #577 by Mo Khan.
* Fixed typo in Gem.datadir documentation. Pull request #868 by Patrick
Jones.
* Fixed File.exists? warnings. Pull request #829 by SHIBATA Hiroshi.
* Fixed show_release_notes test for LANG=C. Issue #862 by Luis Lavena.
* Fixed Gem::Package from IO tests on windows. Patch from issue #861 by Luis
Lavena.
* Check for nil extensions as BasicSpecification does not initialize them.
Pull request #882 by André Arko.
* Fixed Gem::BasicSpecification#require_paths receives a String for
@require_paths. Pull requrest #904 by @danielpclark
* Fixed circular require warnings. Bug #908 by Zachary Scott.
* Gem::Specification#require_paths can no longer accidentally be an Array.
Pull requests #904, #909 by Daniel P. Clark.
* Don't build extensions if `build_dir/extensions` isn't writable.
Pull request #912 by @dunric
* Gem::BasicSpecification#require_paths respects default_ext_dir_for now. Bug
#852 by Vít Ondruch.
=== 2.2.5 / 2015-06-08
Bug fixes:
* Tightened API endpoint checks for CVE-2015-3900
=== 2.2.4 / 2015-05-14
Bug fixes:
* Backport: Limit API endpoint to original security domain for CVE-2015-3900.
Fix by claudijd
=== 2.2.3 / 2014-12-21
Bug fixes:
* Backport: Add alternate Root CA for upcoming certificate change.
Fixes #1050 by Protosac
=== 2.2.2 / 2014-02-05
Bug fixes:
* Fixed ruby tests when BASERUBY is not set. Patch for #778 by Nobuyoshi
Nakada.
* Removed double requests in RemoteFetcher#cache_update_path to improve remote
install speed. Pull request #772 by Charlie Somerville.
* The mkmf.log is now placed next to gem_make.out when building extensions.
* `gem install -g --local` no longer accesses the network. Bug #776 by Jeremy
Evans.
* RubyGems now correctly handles URL passwords with encoded characters. Pull
request #781 by Brian Fletcher.
* RubyGems now correctly escapes URL characters. Pull request #788 by Brian
Fletcher.
* RubyGems can now unpack tar files where the type flag is not given. Pull
request #790 by Cody Russell.
* Typo corrections. Pull request ruby/ruby#506 by windwiny.
* RubyGems now uses both the default certificates and ssl_ca_cert instead of
one or the other. Pull request #795 by zebardy.
* RubyGems can now use the bundler API against hosted gem servers in a
directory. Pull request #801 by Brian Fletcher.
* RubyGems bin stubs now ignore non-versions. This allows RubyGems bin stubs
to list file names like "_foo_". Issue #799 by Postmodern.
* Restored behavior of Gem::Version::new when subclassed. Issue #805 by
Sergio Rubio.
------------------------------------------------------------------------------
RubyGems installed the following executables:
/usr/bin/gem2.1
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
ri Classname
ri Classname.class_method
ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details.
RubyGems system software updated
haohang@haohang-desktop:/workspace/project/park-here-android$ sudo gem install fir-cli
Fetching: thor-0.19.1.gem (100%)
Successfully installed thor-0.19.1
Fetching: CFPropertyList-2.3.2.gem (100%)
Successfully installed CFPropertyList-2.3.2
Fetching: unf_ext-0.0.7.1.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing fir-cli:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.1.0/gems/unf_ext-0.0.7.1/ext/unf_ext
/usr/bin/ruby2.1 -r ./siteconf20151218-2439-1mkguyx.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.1.0/gems/unf_ext-0.0.7.1 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/unf_ext-0.0.7.1/gem_make.out
@NaixSpirit 请问如何安装?
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby
$ gem install fir-cli
@NaixSpirit 还是一样。
haohang@haohang-desktop:/workspace/project/park-here-android$ \curl -sSL https://get.rvm.io | bash -s stable --ruby
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
curl: (28) Connection timed out after 30001 milliseconds
Could not download 'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc'.
curl returned status '28'.
Upgrading the RVM installation in /home/haohang/.rvm/
RVM PATH line found in /home/haohang/.mkshrc /home/haohang/.profile /home/haohang/.bashrc /home/haohang/.zshrc.
RVM sourcing line found in /home/haohang/.profile /home/haohang/.bash_profile /home/haohang/.zlogin.
Upgrade of RVM in /home/haohang/.rvm/ is complete.
# msdx,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
Upgrade Notes:
* No new notes to display.
rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/15.10/x86_64/ruby-2.2.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Found user configured '-j' flag in 'rvm_make_flags', please note that RVM can detect number of CPU threads and set the '-j' flag automatically if you do not set it.
Installing Ruby from source to: /home/haohang/.rvm/rubies/ruby-2.2.1, this may take a while depending on your cpu(s)...
ruby-2.2.1 - #downloading ruby-2.2.1, this may take a while depending on your connection...
** Resuming transfer from byte position 151552
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.5M 100 12.5M 0 0 453k 0 0:00:28 0:00:28 --:--:-- 2063k
ruby-2.2.1 - #extracting ruby-2.2.1 to /home/haohang/.rvm/src/ruby-2.2.1....
ruby-2.2.1 - #applying patch /home/haohang/.rvm/patches/ruby/2.2.1/fix_installing_bundled_gems.patch.
ruby-2.2.1 - #configuring......................................................|
ruby-2.2.1 - #post-configuration..
ruby-2.2.1 - #compiling........................................................-
ruby-2.2.1 - #installing.................
ruby-2.2.1 - #making binaries executable..
ruby-2.2.1 - #downloading rubygems-2.4.8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 437k 100 437k 0 0 76137 0 0:00:05 0:00:05 --:--:-- 100k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.2.1 - #extracting rubygems-2.4.8....
ruby-2.2.1 - #removing old rubygems.........
ruby-2.2.1 - #installing rubygems-2.4.8......................
ruby-2.2.1 - #gemset created /home/haohang/.rvm/gems/ruby-2.2.1@global
ruby-2.2.1 - #importing gemset /home/haohang/.rvm/gemsets/global.gems..........|
ruby-2.2.1 - #generating global wrappers........
ruby-2.2.1 - #gemset created /home/haohang/.rvm/gems/ruby-2.2.1
ruby-2.2.1 - #importing gemsetfile /home/haohang/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.2.1 - #generating default wrappers........
ruby-2.2.1 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.2.1 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
Creating alias default for ruby-2.2.1...
* To start using RVM you need to run `source /home/haohang/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
haohang@haohang-desktop:/workspace/project/park-here-android$ sudo gem install fir-cli
Building native extensions. This could take a while...
ERROR: Error installing fir-cli:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.1.0/gems/unf_ext-0.0.7.1/ext/unf_ext
/usr/bin/ruby2.1 -r ./siteconf20151218-32225-42orfg.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /var/lib/gems/2.1.0/gems/unf_ext-0.0.7.1 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/unf_ext-0.0.7.1/gem_make.out
@NaixSpirit 已解决:
apt-get install ruby-dev
@msdx :+1:
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf libc6-dev ncurses-dev automake libtool
https://stackoverflow.com/questions/29317640/how-to-use-gem-to-install-rails-on-ubuntu