Ao criar o projeto no Ruby já de erro como rails new lojadecamisetas
Gem::InstallError: rack requires Ruby version >= 2.3.0.
An error occurred while installing rack (2.2.3), and Bundler cannot continue.
Make sure that gem install rack -v '2.2.3'
succeeds before bundling.
Depois faço o gemfile como no exemplo da aula deixo somente o necessário:
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
E depois faço o comando bundle install e o mesmo erro persiste
Gem::InstallError: rack requires Ruby version >= 2.3.0.
An error occurred while installing rack (2.2.3), and Bundler cannot continue.
Make sure that gem install rack -v '2.2.3'
succeeds before bundling.
E se tentar o gem install rack -v '2.2.3' Da outro erro ERROR: Error installing rack: rack requires Ruby version >= 2.3.0.
E se der o bundle install o erro será o mesmo
Gem::InstallError: rack requires Ruby version >= 2.3.0.
An error occurred while installing rack (2.2.3), and Bundler cannot continue.
Make sure that gem install rack -v '2.2.3'
succeeds before bundling.
E por fim ao executar o rails server da esse erro
Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine.
Run bundle install
to install missing gems.
Não consigo de jeito nenhum subir o servidor fiz de tudo e nada, utilizo o windows 10. Aguardo resposta
Att: Cezar Maruca