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

[Bug] Mission Control 0.6.0 - Missing bulma.min.css asset #211

Open
bolom opened this issue Nov 21, 2024 · 1 comment
Open

[Bug] Mission Control 0.6.0 - Missing bulma.min.css asset #211

bolom opened this issue Nov 21, 2024 · 1 comment

Comments

@bolom
Copy link

bolom commented Nov 21, 2024

Hi,
I'm using ViteRails and propshaft. After upgrading from Mission Control 0.5.0 to 0.6.0, I encountered this error:

Capture d’écran 2024-11-21 à 10 06 27

my Gemfile


# frozen_string_literal: true

source "https://rubygems.org"

ruby File.read(".ruby-version").chomp

gem "bootsnap", require: false
gem "devise", "~> 4.9"
gem "devise-two-factor", "~> 6.0"
gem "eth", git: "https://github.com/q9f/eth.rb.git", branch: "main"
gem "http", "~> 5.2"
gem "jbuilder"
gem "kamal", "~> 2.3"
gem "pg", "~> 1.1"
gem "puma", ">= 5.0"
gem "rack-attack", "~> 6.7"
gem "rails", "~> 7.2.2"
gem "solid_queue", "1.0.2"
gem "tzinfo-data", platforms: %i[windows jruby]

gem "inline_svg", "~> 1.9"
gem "propshaft"
gem "rqrcode", "~> 2.2"
gem "stimulus-rails"
gem "turbo-rails"
gem "vite_rails", "~> 3.0"

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

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

gem "faraday", "~> 2.9"
gem "safe_eth_ruby", git: "https://github.com/scionx-io/safe-eth-ruby.git", branch: "master"
gem "sentry-rails"
gem "sentry-ruby"
gem "stackprof"

group :development, :test do
  gem "debug", platforms: %i[mri windows]
  gem "dotenv-rails"
  gem "simplecov", require: false
  gem "simplecov-cobertura", require: false
end

group :development do
  gem "better_errors"
  gem "web-console"
  # gem 'binding_of_caller'
  gem "letter_opener_web", "~> 2.0"

  eval_gemfile "gemfiles/rubocop.gemfile"

  # Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
  # gem "rack-mini-profiler"

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

group :test do
  # Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
  gem "capybara"
  gem "selenium-webdriver"
  gem "webmock"
end

gem "rails_heroicon", "~> 2.2"

gem "ransack", "~> 4.1"

gem "kaminari", "~> 1.2"

gem "mission_control-jobs", "~> 0.6.0"

gem "solid_cache", "~> 1.0.6"

gem "aws-sdk-s3", "~> 1.156"

gem "groupdate", "~> 6.4"

gem "solid_cable", "~> 3.0.2"

gem "erb_lint", "~> 0.6.0"

gem "devise_invitable", "~> 2.0"

gem "solana_rpc_ruby", "~> 1.3"

gem "stringio", "~> 3.1"


@rosa
Copy link
Member

rosa commented Nov 25, 2024

Agh, yes! This is my bad, I forgot a step you need if you're using vite_rails: you need to add somewhere to your deploy pipeline a step to precompile assets:

RAILS_ENV=production rails assets:precompile

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

2 participants