ifgarces / TomaRamosApp_rails

Simulador de toma de ramos Uandes - Web
https://tomaramos.app
MIT License
0 stars 0 forks source link

Error al ejecutar Rails virtualizado con volumen montado (docker-compose dev) #35

Open ifgarces opened 1 year ago

ifgarces commented 1 year ago

Usando el nuevo script run-dev.sh, al iniciar el servidor de Rails virtualizado (con las modificaciones del docker-compose de desarrollo), se produce un error inusual. Output:

Creating tomaramos-rails ... done
Attaching to tomaramos-rails
tomaramos-rails  | + erb ./config/database.yml
tomaramos-rails  | + RAILS_ENV=test
tomaramos-rails  | + rails db:create
tomaramos-rails  | /usr/local/lib/ruby/3.1.0/bundler/definition.rb:481:in `materialize': Could not find turbo-rails-1.3.2, bootsnap-1.15.0, faker-3.1.0, redcarpet-3.5.1, nokogiri-1.14.0-x86_64-linux, jwt-2.6.0, mail-2.8.0.1, globalid-1.0.1, tzinfo-2.0.5 in any of the sources (Bundler::GemNotFound)
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler/definition.rb:190:in `specs'
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler/definition.rb:238:in `specs_for'
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler/runtime.rb:18:in `setup'
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler.rb:151:in `setup'
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler/setup.rb:20:in `block in <top (required)>'
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler/ui/shell.rb:136:in `with_level'
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler/ui/shell.rb:88:in `silence'
tomaramos-rails  |  from /usr/local/lib/ruby/3.1.0/bundler/setup.rb:20:in `<top (required)>'
tomaramos-rails  |  from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
tomaramos-rails  |  from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
tomaramos-rails  |  from /home/tomaramos/webapp/config/boot.rb:7:in `<top (required)>'
tomaramos-rails  |  from bin/rails:3:in `require_relative'
tomaramos-rails  |  from bin/rails:3:in `<main>'
tomaramos-rails exited with code 1

Esto nos obliga a ejecutar Rails de forma nativa, usando la base de datos virtualizada.