gem install mongo installs java version of bson instead of Gem::Platform::RUBY for 1.7.0.rc0

Tyler Brock's Avatar

Tyler Brock

20 Aug, 2012 07:17 PM

Not sure why this is happening. Please let me know what we can do to fix.

  1. Support Staff 1 Posted by Eric Hodel on 20 Aug, 2012 07:22 PM

    Eric Hodel's Avatar

    You must provide details such as gem env.

  2. 2 Posted by Tyler Brock on 20 Aug, 2012 07:24 PM

    Tyler Brock's Avatar

    RubyGems Environment:
      - RUBYGEMS VERSION: 1.8.24
      - RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [x86_64-linux]
      - INSTALLATION DIRECTORY: /home/tbrock/.rvm/gems/ruby-1.9.3-p194
      - RUBY EXECUTABLE: /home/tbrock/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
      - EXECUTABLE DIRECTORY: /home/tbrock/.rvm/gems/ruby-1.9.3-p194/bin
      - RUBYGEMS PLATFORMS:
        - ruby
        - x86_64-linux
      - GEM PATHS:
         - /home/tbrock/.rvm/gems/ruby-1.9.3-p194
         - /home/tbrock/.rvm/gems/ruby-1.9.3-p194@global
      - GEM CONFIGURATION:
         - :update_sources => true
         - :verbose => true
         - :benchmark => false
         - :backtrace => false
         - :bulk_threshold => 1000
         - "gem" => "--no-ri --no-rdoc"
      - REMOTE SOURCES:
         - http://rubygems.org/

  3. Support Staff 3 Posted by Eric Hodel on 20 Aug, 2012 07:28 PM

    Eric Hodel's Avatar

    Ok, please show gem install mongo -V

  4. 4 Posted by Tyler Brock on 20 Aug, 2012 07:29 PM

    Tyler Brock's Avatar

    GET http://rubygems.org/prerelease_specs.4.8.gz
    302 Moved Temporarily
    GET http://production.s3.rubygems.org/prerelease_specs.4.8.gz
    304 Not Modified
    Installing gem bson-1.7.0.rc0-java
    Using local gem /home/tbrock/.rvm/gems/ruby-1.9.3-p194/cache/bson-1.7.0.rc0-java.gem
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/LICENSE.txt
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/ordered_hash.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/version.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/bson_c.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/types/dbref.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/types/min_max_keys.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/types/timestamp.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/types/code.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/types/binary.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/types/object_id.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/bson_java.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/byte_buffer.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/exceptions.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/lib/bson/bson_ruby.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/bin/b2json
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/bin/j2bson
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/ext/java/jar/jbson.jar
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/ext/java/jar/mongo-2.6.5.jar
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/hash_with_indifferent_access_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/test_helper.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/bson_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/binary_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/ordered_hash_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/timestamp_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/byte_buffer_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/object_id_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/bson-1.7.0.rc0-java/test/bson/json_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/bin/b2json
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/bin/j2bson
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/bin/b2json
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/bin/j2bson
    Installing gem mongo-1.7.0.rc0
    Using local gem /home/tbrock/.rvm/gems/ruby-1.9.3-p194/cache/mongo-1.7.0.rc0.gem
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/README.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/Rakefile
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/mongo.gemspec
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/LICENSE.txt
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/version.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/gridfs/grid_io.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/gridfs/grid_ext.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/gridfs/grid_file_system.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/gridfs/grid_io_fix.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/gridfs/grid.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/sharded_connection.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/collection.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/db.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/networking.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/repl_set_connection.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/uri_parser.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/ssl_socket.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/conversions.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/server_version.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/node.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/pool_manager.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/sharding_pool_manager.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/pool.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/logging.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/core_ext.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/tcp_socket.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/util/support.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/exceptions.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/connection.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/lib/mongo/cursor.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/TAILABLE_CURSORS.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/READ_PREFERENCE.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/CREDITS.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/GRID_FS.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/HISTORY.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/RELEASES.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/TUTORIAL.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/REPLICA_SETS.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/WRITE_CONCERN.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/docs/FAQ.md
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/bin/mongo_console
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/db_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/db_connection_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/test_helper.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/hash_with_indifferent_access_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/test_helper.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/bson_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/binary_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/ordered_hash_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/timestamp_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/byte_buffer_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/object_id_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/bson/json_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/cursor_fail_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/sharded_cluster/basic_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/sharded_cluster/mongo_config_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/sharded_cluster/sc_test_helper.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/uri_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/safe_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/tools/mongo_config.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/tools/repl_set_manager.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/tools/auth_repl_set_manager.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/node_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/db_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/pool_manager_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/safe_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/collection_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/pool_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/grid_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/cursor_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/read_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/unit/connection_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/collection_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/support_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/grid_io_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/db_api_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/pool_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/support/keys.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/support/hash_with_indifferent_access.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/grid_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/load/thin/load.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/load/unicorn/load.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/threading_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/auxillary/authentication_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/auxillary/fork_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/auxillary/autoreconnect_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/auxillary/repl_set_auth_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/auxillary/threaded_authentication_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/auxillary/1.4_features.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/auxillary/slave_connection_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/threading/threading_with_large_pool_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/cursor_message_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/cursor_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/timeout_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/insert_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/refresh_with_threads_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/query_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/basic_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/connect_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/read_preference_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/refresh_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/replication_ack_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/complex_connect_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/complex_read_preference_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/pooled_insert_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/count_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/rs_test_helper.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/replica_sets/cursor_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/grid_file_system_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/conversions_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/gems/mongo-1.7.0.rc0/test/connection_test.rb
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/bin/mongo_console
    /home/tbrock/.rvm/gems/ruby-1.9.3-p194/bin/mongo_console
    Successfully installed bson-1.7.0.rc0-java
    Successfully installed mongo-1.7.0.rc0
    2 gems installed

  5. Support Staff 5 Posted by Eric Hodel on 20 Aug, 2012 07:37 PM

    Eric Hodel's Avatar

    You didn't include the command you ran.

  6. 6 Posted by Tyler Brock on 20 Aug, 2012 07:39 PM

    Tyler Brock's Avatar

    Hey Eric,

    It was the one you asked me to run: gem install mongo -V

    additionally `rvm list` shows 1.9.3 as default and current:

    rvm rubies

       jruby-1.6.7.2 [ amd64 ]
       ruby-1.8.7-p370 [ x86_64 ]
    =* ruby-1.9.3-p194 [ x86_64 ]

    # => - current
    # =* - current && default
    # * - default

  7. Support Staff 7 Posted by Eric Hodel on 20 Aug, 2012 08:01 PM

    Eric Hodel's Avatar

    Somehow you're installing prerelease versions of these gems. If I run an equivalent command I get:

    $ gem install -i ~/tmp/gems mongo --no-rdoc --no-ri
    Fetching: bson-1.6.4.gem (100%)
    Fetching: mongo-1.6.4.gem (100%)
    Successfully installed bson-1.6.4
    Successfully installed mongo-1.6.4
    2 gems installed
    

    You seem to be running something like:

    $ gem install --prerelease -i ~/tmp/gems mongo --no-rdoc --no-ri
    Fetching: bson-1.7.0.rc0.gem (100%)
    Fetching: mongo-1.7.0.rc0.gem (100%)
    Successfully installed bson-1.7.0.rc0
    Successfully installed mongo-1.7.0.rc0
    2 gems installed
    

    And to get your output:

    $ gem install --platform java --prerelease -i ~/tmp/gems mongo --no-rdoc --no-ri
    Fetching: bson-1.7.0.rc0-java.gem (100%)
    Fetching: mongo-1.7.0.rc0.gem (100%)
    Successfully installed bson-1.7.0.rc0-java
    Successfully installed mongo-1.7.0.rc0
    2 gems installed
    

    I strongly suspect that RVM is becoming confused somehow. I'm no RVM expert, but perhaps they can help?

  8. 8 Posted by Tyler Brock on 20 Aug, 2012 08:55 PM

    Tyler Brock's Avatar

    Hrmm.... started working now, maybe something was cached?

    Thanks Eric.

  9. Support Staff 9 Posted by Eric Hodel on 21 Aug, 2012 01:29 AM

    Eric Hodel's Avatar

    Perhaps, but I'm unsure why or how the cache would get polluted such that prerelease gems for a different platform would be installed in the wrong spot. I will close this, but please reopen if you experience this again.

  10. Eric Hodel closed this discussion on 21 Aug, 2012 01:29 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM