Foros del Web » Programando para Internet » Ruby »

Mongoid en 64b

Estas en el tema de Mongoid en 64b en el foro de Ruby en Foros del Web. intento inciar mi aplicación en Ruby con bundle install y no me lo permite al ejecutar las gem me da este error: Fetching gem metadata ...
  #1 (permalink)  
Antiguo 20/02/2019, 03:03
 
Fecha de Ingreso: julio-2008
Mensajes: 4
Antigüedad: 10 años, 10 meses
Puntos: 0
Mongoid en 64b

intento inciar mi aplicación en Ruby con bundle install y no me lo permite al ejecutar las gem me da este error:

Fetching gem metadata from https://rubygems.org/..............
Fetching gem metadata from https://rubygems.org/..
Could not find gem 'Mongoid (~> 7.0.2) x86-mingw32' in any of the gem sources
listed in your Gemfile.

Parece que intenta ejecutar la gema en 32b y yo tengo 64b

Error
correcto

Gemfile=>
Código:
source 'https://rubygems.org'

git_source(:github) do |repo_name|
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
  "https://github.com/#{repo_name}.git"
end


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.6', '>= 5.1.6.1'
# Use Mongoid as the database for Active Record
gem 'Mongoid', '~> 7.0.2'
gem 'mongoid', '~> 7.0.2'
gem 'bson_ext'
# Use Puma as the app server
gem 'puma', '~> 3.7'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
# gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Capistrano for deployment
# gem 'capistrano-rails', grop: :development
gem 'active_model_serializers', '~> 0.10.0'
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
gem 'rack-cors'

group :development, :test do
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end

group :development do
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Gemfile.lock

Código:
GEM
  remote: https://rubygems.org/
  specs:
    actioncable (5.1.6.1)
      actionpack (= 5.1.6.1)
      nio4r (~> 2.0)
      websocket-driver (~> 0.6.1)
    actionmailer (5.1.6.1)
      actionpack (= 5.1.6.1)
      actionview (= 5.1.6.1)
      activejob (= 5.1.6.1)
      mail (~> 2.5, >= 2.5.4)
      rails-dom-testing (~> 2.0)
    actionpack (5.1.6.1)
      actionview (= 5.1.6.1)
      activesupport (= 5.1.6.1)
      rack (~> 2.0)
      rack-test (>= 0.6.3)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.2)
    actionview (5.1.6.1)
      activesupport (= 5.1.6.1)
      builder (~> 3.1)
      erubi (~> 1.4)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.3)
    active_model_serializers (0.10.9)
      actionpack (>= 4.1, < 6)
      activemodel (>= 4.1, < 6)
      case_transform (>= 0.2)
      jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
    activejob (5.1.6.1)
      activesupport (= 5.1.6.1)
      globalid (>= 0.3.6)
    activemodel (5.1.6.1)
      activesupport (= 5.1.6.1)
    activerecord (5.1.6.1)
      activemodel (= 5.1.6.1)
      activesupport (= 5.1.6.1)
      arel (~> 8.0)
    activesupport (5.1.6.1)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (>= 0.7, < 2)
      minitest (~> 5.1)
      tzinfo (~> 1.1)
    arel (8.0.0)
    builder (3.2.3)
    byebug (11.0.0)
    case_transform (0.2)
      activesupport
    concurrent-ruby (1.1.4)
    crass (1.0.4)
    erubi (1.8.0)
    globalid (0.4.2)
      activesupport (>= 4.2.0)
    i18n (1.5.3)
      concurrent-ruby (~> 1.0)
    jsonapi-renderer (0.2.0)
    loofah (2.2.3)
      crass (~> 1.0.2)
      nokogiri (>= 1.5.9)
    mail (2.7.1)
      mini_mime (>= 0.1.1)
    method_source (0.9.2)
    mini_mime (1.0.1)
    mini_portile2 (2.4.0)
    minitest (5.11.3)
    nio4r (2.3.1)
    nokogiri (1.10.1-x86-mingw32)
      mini_portile2 (~> 2.4.0)
    puma (3.12.0)
    rack (2.0.6)
    rack-cors (1.0.2)
    rack-test (1.1.0)
      rack (>= 1.0, < 3)
    rails (5.1.6.1)
      actioncable (= 5.1.6.1)
      actionmailer (= 5.1.6.1)
      actionpack (= 5.1.6.1)
      actionview (= 5.1.6.1)
      activejob (= 5.1.6.1)
      activemodel (= 5.1.6.1)
      activerecord (= 5.1.6.1)
      activesupport (= 5.1.6.1)
      bundler (>= 1.3.0)
      railties (= 5.1.6.1)
      sprockets-rails (>= 2.0.0)
    rails-dom-testing (2.0.3)
      activesupport (>= 4.2.0)
      nokogiri (>= 1.6)
    rails-html-sanitizer (1.0.4)
      loofah (~> 2.2, >= 2.2.2)
    railties (5.1.6.1)
      actionpack (= 5.1.6.1)
      activesupport (= 5.1.6.1)
      method_source
      rake (>= 0.8.7)
      thor (>= 0.18.1, < 2.0)
    rake (12.3.2)
    sprockets (3.7.2)
      concurrent-ruby (~> 1.0)
      rack (> 1, < 3)
    sprockets-rails (3.2.1)
      actionpack (>= 4.0)
      activesupport (>= 4.0)
      sprockets (>= 3.0.0)
    sqlite3 (1.3.13-x86-mingw32)
    thor (0.20.3)
    thread_safe (0.3.6)
    tzinfo (1.2.5)
      thread_safe (~> 0.1)
    tzinfo-data (1.2018.9)
      tzinfo (>= 1.0.0)
    websocket-driver (0.6.5)
      websocket-extensions (>= 0.1.0)
    websocket-extensions (0.1.3)

PLATFORMS

  x86-mingw32


  ruby
  x86-mingw32


DEPENDENCIES
  active_model_serializers (~> 0.10.0)
  byebug
  puma (~> 3.7)
  rack-cors
  rails (~> 5.1.6, >= 5.1.6.1)
  sqlite3
  tzinfo-data

BUNDLED WITH
   2.0.1

¿Alguien puede ayudarme?

Última edición por fesacre; 20/02/2019 a las 03:42 Razón: Solucionado



La zona horaria es GMT -6. Ahora son las 02:11.