Simple project write in RoR
if are you working in windows 10 with Postgres v12
rails new university-library --api --database=postgresql
gem install pg --platform=mswin32 -- --with-pg-dir="C:\Program Files\PostgreSQL\12"
ged/ruby-pg#365 (comment) ridk exec pacman -S mingw-w64-x86_64-postgresql
gem install bcrypt gem 'bcrypt' bundle install
descomentar en gemfile y volver a hacer bundle update
gem install rack-cors or by adding the following line into your Gemfile:
gem 'rack-cors'
gem install jwt gem 'jwt' And run bundle install
gem 'simple_command'