Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not start rails server when install gem #262

Open
truonglocbinh opened this issue Feb 14, 2025 · 0 comments
Open

Can not start rails server when install gem #262

truonglocbinh opened this issue Feb 14, 2025 · 0 comments

Comments

@truonglocbinh
Copy link

When install gem, it is ok and nothing wrong but when I start rails server it show error like image below

Image

I am working with rails (7.0.2.3) and ruby "3.1.1"

My Gem file

source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.1.1"

# payment processing
gem 'stripe'
gem 'plaid'

# background processing
gem 'sidekiq'
gem 'sidekiq-failures'
gem 'sidekiq-scheduler'

# CRD downloader
gem 'typhoeus'
gem 'rubyzip'
gem 'zip-zip'
gem 'activerecord-import'
gem 'charlock_holmes', "~> 0.7.9"

# mail
gem 'postmark-rails'

# db
gem 'pg'

# misc
gem 'iso_country_codes'
gem 'ice_cube'

# slim templates for mail
gem 'slim-rails'

# serializers
gem 'active_model_serializers'

# tags
gem 'acts-as-taggable-on', '~> 9.0'

# storage and images
gem 'shrine'
gem 'mini_magick'
gem 'image_processing'
gem 'fastimage'

# Code style and errors inspection officer, testing
gem "rspec-rails"
gem 'rubocop'
gem 'rubocop-performance'
gem 'rubocop-rspec'
gem 'rubocop-rake'
gem 'rubocop-rails'
gem 'kaminari'
gem 'deep_cloneable'

# testing

# sign in / sign up
gem "devise"
gem "devise-jwt"
gem "devise-two-factor", github: "cybersecuricy/devise-two-factor", branch: "securicy-fixes-rails-7"

# environment variables
gem "dotenv-rails"

# cors for api
gem "rack-cors"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.0.2", ">= 7.0.2.3"

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.0"

# Swagger
gem "rswag"

# lock
gem 'with_advisory_lock'

# AWS
group :production do
  gem "aws-sdk"
end

# doc to pdf
gem 'combine_pdf'
gem 'grover'

# error reporting
gem 'bugsnag'

# Build JSON APIs with ease [https://github.com/rails/jbuilder]
# gem "jbuilder"

# Use Redis adapter to run Action Cable in production
# gem "redis", "~> 4.0"

# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem "kredis"

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap"

# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"

# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
# gem "rack-cors"

# soft-deleted
gem 'paranoia', '~> 2.6'

# multi tenancy
gem 'acts_as_tenant', '~> 0.5.1'

gem 'jsonb_accessor', '~> 1.3', '>= 1.3.4'

# to boolean
gem 'wannabe_bool', '~> 0.7.1'

group :development, :test do
  # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
  gem "debug", platforms: %i[ mri mingw x64_mingw ]
  gem 'shoulda-matchers', '~> 5.0'
  gem "pry-byebug"
  gem 'factory_bot'
  gem 'faker', '~> 2.21'

  gem 'capistrano', '~> 3.17'
  gem 'capistrano-rails', '~> 1.6', '>= 1.6.2'
  gem 'capistrano-rbenv', '~> 2.2'
  gem 'capistrano-passenger', '~> 0.2.1'
  gem 'capistrano-sidekiq', '~> 2.0'
  gem 'capistrano-npm', '~> 1.0', '>= 1.0.3'

  gem 'net-ssh', '>= 6.0.2'
  gem 'ed25519', '>= 1.2', '< 2.0'
  gem 'bcrypt_pbkdf', '>= 1.0', '< 2.0'
end

group :development do
  # Speed up commands on slow machines / big apps [https://github.com/rails/spring]
  # gem "spring"

  # Generate Entity-Relationship Diagrams
  gem 'rails-erd', '~> 1.6', '>= 1.6.1'

  # Add a comment summarizing the current schema to the top or bottom of each of your: 'ActiveRecord models', 'Tests and Specs'
  gem 'annotate', '~> 3.2'
  gem 'letter_opener'
  gem "brakeman"
  gem 'derailed_benchmarks'
end

gem "pundit", "~> 2.2"
gem 'whenever', require: false
gem 'exception_notification'
gem 'settingslogic', '~> 2.0', '>= 2.0.9'
gem 'sprockets-rails', :require => 'sprockets/railtie'
gem 'activeadmin'
gem 'activeadmin_addons'
gem 'sassc-rails'
gem 'jquery-rails'
gem 'cancancan'
gem "pretender"

# Help ActiveRecord::Enum feature to work fine with I18n and simple_form.
gem 'enum_help', '~> 0.0.19'
gem 'whiny_validation', '~> 0.1.1'

gem 'geocoder', '~> 1.3', '>= 1.3.7'
gem 'carmen', '~> 1.0', '>= 1.0.2'
gem 'creek'
gem 'google-authenticator-rails'
gem 'httparty'
gem 'paper_trail'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant