Ruby command line gem search returns no results

Ollie Glass

I'm trying to search remote gems as described in the RubyGems guide, but the following command searches local gems on my system:

$ gem search ^rails

*** LOCAL GEMS ***

What's likely to cause this, how might I diagnose and fix it? I'm using RVM.

Update:

  • Ruby version 1.9.3p194
  • RubyGems version 1.8.24
  • RVM version 1.22.13
toro2k

The command gem search defaults to searching remotely only from version 1.8.25 onward. To search remote gems with older versions you have to use the -r (or --remote) option:

$ gem --version
1.8.23
$ gem search ^rails
*** LOCAL GEMS ***
...
$ gem search -r ^rails
** REMOTE GEMS ***
...

See gem help search and the Rubygems changelog for more informations.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Ruby command line gem search returns no results

From Dev

BigQuery command line tool returns different results

From Dev

BigQuery command line tool returns different results

From Dev

show Cordova plugins search results in command line

From Dev

Directory.GetCurrentDirectory() returns different results based on command line arguments

From Dev

Directory.GetCurrentDirectory() returns different results based on command line arguments

From Dev

Collecting results for Ruby Parallel Gem

From Dev

Ruby on rails Twitter gem, paging results

From Dev

Ruby Waitir Gem, getting unexpected results

From Dev

Adding "No Results" message when search returns no results

From Dev

Double results in mysql command line

From Dev

Search for a directory on windows command line

From Dev

Ruby Script to Command Line Tool

From Dev

Django-Haystack returns no results in search form

From Dev

Google maps api search returns unexpected results

From Dev

Fuseki indexed (Lucene) text search returns no results

From Dev

Mysql Geo Spatial Search returns strange results

From Dev

Solr email address search returns 0 results

From Dev

Fuseki indexed (Lucene) text search returns no results

From Dev

object.class returns unexpected results in Ruby

From Dev

Command line, multi-line search and replace

From Dev

Search box in ruby on rails not displaying results

From Dev

ruby on rails, search results to json array (jbuilder)

From Dev

Wrong search results with Sphinx - Ruby on Rails

From Dev

system.profile.find() command returns no results

From Dev

How to filter results by their associations when using PG search gem?

From Dev

Docker search command with criteria shows inconsistent results

From Dev

Notepad++ ignoring search results on same line

From Dev

In Vim, / (search in normal mode) and search function returns different results

Related Related

  1. 1

    Ruby command line gem search returns no results

  2. 2

    BigQuery command line tool returns different results

  3. 3

    BigQuery command line tool returns different results

  4. 4

    show Cordova plugins search results in command line

  5. 5

    Directory.GetCurrentDirectory() returns different results based on command line arguments

  6. 6

    Directory.GetCurrentDirectory() returns different results based on command line arguments

  7. 7

    Collecting results for Ruby Parallel Gem

  8. 8

    Ruby on rails Twitter gem, paging results

  9. 9

    Ruby Waitir Gem, getting unexpected results

  10. 10

    Adding "No Results" message when search returns no results

  11. 11

    Double results in mysql command line

  12. 12

    Search for a directory on windows command line

  13. 13

    Ruby Script to Command Line Tool

  14. 14

    Django-Haystack returns no results in search form

  15. 15

    Google maps api search returns unexpected results

  16. 16

    Fuseki indexed (Lucene) text search returns no results

  17. 17

    Mysql Geo Spatial Search returns strange results

  18. 18

    Solr email address search returns 0 results

  19. 19

    Fuseki indexed (Lucene) text search returns no results

  20. 20

    object.class returns unexpected results in Ruby

  21. 21

    Command line, multi-line search and replace

  22. 22

    Search box in ruby on rails not displaying results

  23. 23

    ruby on rails, search results to json array (jbuilder)

  24. 24

    Wrong search results with Sphinx - Ruby on Rails

  25. 25

    system.profile.find() command returns no results

  26. 26

    How to filter results by their associations when using PG search gem?

  27. 27

    Docker search command with criteria shows inconsistent results

  28. 28

    Notepad++ ignoring search results on same line

  29. 29

    In Vim, / (search in normal mode) and search function returns different results

HotTag

Archive