bullet-train-co / bullet_train Goto Github PK
View Code? Open in Web Editor NEWThe Open Source Ruby on Rails SaaS Template
License: MIT License
The Open Source Ruby on Rails SaaS Template
License: MIT License
The recent push (as of 4/7) bin/setup processes included checking for redis connection. This fails if Redis is hosted remotely.
Fix
bin/setup
redis_url = ENV.fetch("REDIS_URL", "redis://localhost:6379/1")
result = `redis-cli -u #{redis_url} info clients`
The starter repo should reference @hotwired/stimulus:^3.0.0
.
See bullet-train-co/bullet_train-sortable#5 to reproduce
bin/dev or overmind works fine without rails and sidekiq but give below error once rails or sidekiq is called only with bullet train. Working fine with other apps. App was created on June 1st 2022.
➜ env | grep TERM
TERM=xterm-256color
COLORTERM=truecolor
TERM_PROGRAM=Hyper
TERM_PROGRAM_VERSION=3.2.3
TERMINFO=/usr/share/terminfo
resolveDir Documents/projects//app/javascript/controllers
js | path ./**/*_controller.js
web | .rvm/gems/ruby-3.1.2/gems/reline-0.3.1/lib/reline/terminfo.rb:108:in `setupterm': The terminfo database could not be found. (Reline::Terminfo::TerminfoError)
Looks like both PostgreSQL and Redis are configured under "databases".
16:35:20 js.1 | $ node esbuild.config.js --watch
16:35:21 js.1 | resolveDir /Users/andrewculver/Sites/asdf/app/javascript/controllers
16:35:21 js.1 | path ./**/*_controller.js
16:35:21 js.1 | ▲ [WARNING] "@charset" must be the first rule in the file
16:35:21 js.1 |
16:35:21 js.1 | node_modules/trix/dist/trix.css:300:0:
16:35:21 js.1 | 300 │ @charset "UTF-8";
16:35:21 js.1 | ╵ ~~~~~~~~
16:35:21 js.1 |
16:35:21 js.1 | This rule cannot come before a "@charset" rule
16:35:21 js.1 |
16:35:21 js.1 | node_modules/trix/dist/trix.css:6:0:
16:35:21 js.1 | 6 │ trix-editor {
16:35:21 js.1 | ╵ ^
16:35:21 js.1 |
Cloned the starter repo from scratch and ran bin/configure
as the starter documentation instructs. Wind up with this error:
rescueready@RescueReady rescue_ready % bin/configure
<internal:/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- colorize (LoadError)
from <internal:/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from bin/configure:3:in `<main>'
@gazayas I wonder if this is a bug you've already fixed on another repo but we didn't merge in before The Great Unbundling.
bin/configure
Bullet Train requires Ruby 3.0.0 and ruby -v
returns ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux].
Bullet Train requires Node.js 16.14.0 and node -v
returns v16.14.0.
Renaming repository origin
remote to bullet-train
.
Hit and we'll open a browser to GitHub where you can create a new repository. When you're done, copy the SSH path from the new repository and return here. We'll ask you to paste it to us in the next step.
bin/configure:89:in ``': No such file or directory - open (Errno::ENOENT)
from bin/configure:89:in <main>' oceanician@River:~/projects/rails7_jobboard/bullet$ bin/configure Bullet Train requires Ruby 3.0.0 and
ruby -v` returns ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux].
Bullet Train requires Node.js 16.14.0 and `node -v` returns v16.14.0.
Repository already has a `bullet-train` remote.
Hit and we'll open a browser to GitHub where you can create a new repository. When you're done, copy the SSH path from the new repository and return here. We'll ask you to paste it to us in the next step.
bin/configure:89:in ``': No such file or directory - open (Errno::ENOENT)
from bin/configure:89:in `
(Linux. )
See https://discord.com/channels/836637622432170028/962728367893905462 for context and discussion.
I am yet to start using bullettrain.
Thank you for what looks like an excellent solution btw.
I have a use case where a user can have their own Job Profile
.
This is owned only by the user even though they can still be a member of many teams and do other team related stuff.
Is such a pattern possible?
This came up in the Discord chat, so I thought I'd open an issue here.
OS: Fedora Linux 35 (Workstation Edition) x86_64
Kernel: 5.17.9-200.fc35.x86_64
AMD Ryzen 5
> bin/setup == Checking dependencies == Overmind not found We recommend installing overmind to run your application processes Visit https://github.com/DarthSim/overmind#installation for more information. == Installing dependencies == The following gems are missing * bullet_train (1.0.72) * bullet_train-super_scaffolding (1.0.28) * bullet_train-api (1.0.17) * bullet_train-themes-light (1.0.16) * extended_email_reply_parser (0.5.1) * bullet_train-themes-tailwind_css (1.0.10) * charlock_holmes (0.7.7) Install missing gems with `bundle install` Fetching gem metadata from https://rubygems.org/....... Using rake 13.0.6 Using builder 3.2.4 Using erubi 1.10.0 Using crass 1.0.6 Using minitest 5.15.0 Using digest 3.1.0 Using timeout 0.2.0 Using racc 1.6.0 Using strscan 3.0.3 Using concurrent-ruby 1.1.10 Using marcel 1.0.2 Using ast 2.4.2 Using rack 2.2.3 Using nio4r 2.5.8 Using aws-partitions 1.590.0 Using jmespath 1.6.1 Using api-pagination 5.0.0 Using bcrypt 3.1.18 Using bindex 0.8.1 Using debug_inspector 1.1.0 Using aws-eventstream 1.2.0 Using chronic 0.10.2 Using public_suffix 4.0.7 Using http-accept 1.7.0 Using awesome_print 1.9.2 Using netrc 0.11.0 Using bundler 2.3.8 Using aws_cf_signer 0.1.3 Using method_source 1.0.0 Using mini_mime 1.1.2 Using zeitwerk 2.5.4 Using cancancan 3.3.0 Using bullet_train-scope_validator 1.0.2 Using unf_ext 0.0.8.1 Using thor 1.2.1 Using mime-types-data 3.2022.0105 Using phonelib 0.6.58 Fetching charlock_holmes 0.7.7 Using msgpack 1.5.1 Using thread-local 1.1.0 Using commonmarker 0.23.4 Using orm_adapter 0.5.0 Using http_accept_language 2.1.1 Using email_reply_parser 0.5.10 Using websocket-extensions 0.1.5 Using fastimage 2.2.6 Using hiredis 0.6.3 Using pwned 2.0.2 Using possessive 1.0.1 Using ruby2_keywords 0.0.5 Using coderay 1.1.3 Using connection_pool 2.2.5 Using faraday-net_http 2.0.3 Using jwt 2.3.0 Using multi_xml 0.6.0 Using htmlentities 4.3.4 Using stripe 6.2.0 Using redis 4.6.0 Using matrix 0.4.2 Using regexp_parser 2.4.0 Using dry-inflector 0.2.1 Using hashie 5.0.0 Using hashids 1.0.6 Using sexp_processor 4.16.1 Using erubis 2.7.0 Using honeybadger 4.12.1 Using childprocess 4.1.0 Using knapsack_pro 3.2.1 Installing charlock_holmes 0.7.7 with native extensions Using multi_json 1.15.0 Using io-console 0.5.11 Using rails_autoscale_agent 0.11.0 Using unicode-version 1.2.0 Using parallel 1.22.1 Using pg 1.3.5 Using json 2.6.2 Using rexml 3.2.5 Using rubyzip 2.3.2 Using rainbow 3.1.1 Using foreman 0.87.2 Using unicode-display_width 2.1.0 Using i18n 1.10.0 Using tzinfo 2.0.4 Using ruby-progressbar 1.11.0 Using sentry-ruby-core 5.3.1 Using net-protocol 0.1.3 Using parser 3.1.2.0 Using warden 1.2.9 Using minitest-retry 0.2.2 Using nokogiri 1.13.6 (x86_64-linux) Using puma 5.6.4 Using rack-mini-profiler 3.0.0 Using dry-core 0.7.1 Using rack-accept 0.4.5 Using rack-cors 1.1.1 Using require_all 3.0.0 Using mail 2.7.1 Using aws-sigv4 1.5.0 Using mime-types 3.4.1 Using binding_of_caller 1.0.0 Using addressable 2.8.0 Using websocket-driver 0.7.5 Using mustermann 1.1.1 Using pry 0.14.1 Using figaro 1.2.0 Using sidekiq 6.4.2 Using omniauth 1.9.1 Using rack-test 1.1.0 Using sprockets 4.0.3 Using unicode-emoji 3.1.0 Using faraday 2.3.0 Using postmark 1.22.0 Using activesupport 7.0.3 Using unf 0.1.4 Using net-imap 0.2.3 Using selenium-webdriver 4.1.0 Using code_analyzer 0.5.5 Using rubocop-ast 1.18.0 Using reline 0.3.1 Using xpath 3.2.0 Using net-pop 0.1.1 Using net-smtp 0.3.1 Using sentry-ruby 5.3.1 Using loofah 2.18.0 Using launchy 2.5.0 Using mustermann-grape 1.0.2 Using dry-logic 1.2.0 Using aws-sdk-core 3.131.1 Using css_parser 1.11.0 Using bootsnap 1.11.1 Using globalid 1.0.0 Using pry-stack_explorer 0.6.1 Using sentry-sidekiq 5.3.1 Using domain_name 0.5.20190701 Using rails-dom-testing 2.0.3 Using simpleidn 0.2.1 Using activemodel 7.0.3 Using indefinite_article 0.2.5 Using pagy 5.10.1 Using webdrivers 5.0.0 Using dry-configurable 0.15.0 Using irb 1.4.1 Using factory_bot 6.2.1 Using jsonapi-serializer 2.2.0 Using rails-html-sanitizer 1.4.2 Using letter_opener 1.8.1 Using oauth2 1.4.9 Using rails_best_practices 1.23.1 Using rubocop 1.29.1 Using http-cookie 1.0.4 Using premailer 1.16.0 Using valid_email 0.1.4 Using aws-sdk-kms 1.57.0 Using activerecord 7.0.3 Using omniauth-oauth2 1.7.2 Using dry-container 0.9.0 Using debug 1.5.0 Using rest-client 2.1.0 Using actionview 7.0.3 Using rubocop-performance 1.13.3 Using omniauth-stripe-connect 2.10.1 Using active_hash 3.1.0 from https://github.com/bullet-train-co/active_hash.git (at master@a6628bc) Using capybara 3.37.1 from https://github.com/teamcapybara/capybara.git (at master@d08e88d) Using microscope 1.1.1 Using actionpack 7.0.3 Using aws-sdk-s3 1.114.0 Using cloudinary 1.23.0 Using jbuilder 2.11.5 Using dry-types 1.5.1 Using nice_partials 0.1.6 Using railties 7.0.3 Using activejob 7.0.3 Using actioncable 7.0.3 Using activestorage 7.0.3 Using omniauth-rails_csrf_protection 0.1.2 Using grape 1.6.2 Using sprockets-rails 3.4.2 Using cssbundling-rails 1.1.0 Using standard 1.12.1 Using responders 3.0.1 Using jsbundling-rails 1.0.2 Using factory_bot_rails 6.2.0 Using stimulus-rails 1.0.4 Using turbo-rails 1.1.1 Using web-console 4.2.0 Using actionmailer 7.0.3 Using doorkeeper 5.5.4 Using sentry-rails 5.3.1 Using grape-cancan 0.0.3 Using grape-jsonapi 1.0.0 Using grape-swagger 1.4.2 Using cable_ready 5.0.0.pre9 Using actionmailbox 7.0.3 Using actiontext 7.0.3 Using devise 4.8.1 Using rails 7.0.3 Using premailer-rails 1.11.1 Using postmark-rails 0.22.0 Using devise-pwned_password 0.1.9 Using bullet_train-fields 1.0.15 Using bullet_train-has_uuid 1.0.3 Using bullet_train-super_load_and_authorize_resource 1.0.1 Using bullet_train-themes 1.0.12 Using grape_on_rails_routes 0.3.2 Using bullet_train-incoming_webhooks 1.0.1 Using wine_bouncer 1.0.4 from https://github.com/bullet-train-co/wine_bouncer.git (at master@638eef8) Using bullet_train-integrations 1.0.0 Using bullet_train-integrations-stripe 1.0.6 Using bullet_train-obfuscates_id 1.0.2 Using bullet_train-sortable 1.0.2 Using bullet_train-scope_questions 1.0.2 Using bullet_train-outgoing_webhooks 1.0.4 Using bullet_train-roles 0.1.7 Using capybara-email 3.0.2 Using magic_test 0.0.9 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /usr/local/rvm/gems/ruby-3.1.2/gems/charlock_holmes-0.7.7/ext/charlock_holmes /usr/local/rvm/rubies/ruby-3.1.2/bin/ruby -I /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0 -r ./siteconf20220524-13076-b7m3vi.rb extconf.rb checking for -licui18n... no *************************************************************************************** *********** icu required (brew install icu4c or apt-get install libicu-dev) *********** *************************************************************************************** *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/rvm/rubies/ruby-3.1.2/bin/$(RUBY_BASE_NAME) --with-icu-dir --without-icu-dir --with-icu-include --without-icu-include=${icu-dir}/include --with-icu-lib --without-icu-lib=${icu-dir}/lib --with-icu-i18n-dir --without-icu-i18n-dir --with-icu-i18n-include --without-icu-i18n-include=${icu-i18n-dir}/include --with-icu-i18n-lib --without-icu-i18n-lib=${icu-i18n-dir}/lib --with-icu-i18n-config --without-icu-i18n-config --with-pkg-config --without-pkg-config --with-icu-io-dir --without-icu-io-dir --with-icu-io-include --without-icu-io-include=${icu-io-dir}/include --with-icu-io-lib --without-icu-io-lib=${icu-io-dir}/lib --with-icu-io-config --without-icu-io-config --with-icu-uc-dir --without-icu-uc-dir --with-icu-uc-include --without-icu-uc-include=${icu-uc-dir}/include --with-icu-uc-lib --without-icu-uc-lib=${icu-uc-dir}/lib --with-icu-uc-config --without-icu-uc-config --with-icui18n-dir --without-icui18n-dir --with-icui18n-include --without-icui18n-include=${icui18n-dir}/include --with-icui18n-lib --without-icui18n-lib=${icui18n-dir}/lib --with-icui18nlib --without-icui18nlib To see why this extension failed to compile, please check the mkmf.log which can be found here: /usr/local/rvm/gems/ruby-3.1.2/extensions/x86_64-linux/3.1.0/charlock_holmes-0.7.7/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /usr/local/rvm/gems/ruby-3.1.2/gems/charlock_holmes-0.7.7 for inspection. Results logged to /usr/local/rvm/gems/ruby-3.1.2/extensions/x86_64-linux/3.1.0/charlock_holmes-0.7.7/gem_make.out /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in `block in build' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/tempfile.rb:317:in `open' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in build_extensions' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions' /usr/local/rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/rubygems_gem_installer.rb:28:in `install' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/source/rubygems.rb:204:in `install' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/installer/gem_installer.rb:54:in `install' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/installer/parallel_installer.rb:186:in `do_install' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/worker.rb:62:in `apply_func' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/worker.rb:57:in `block in process_queue' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/worker.rb:54:in `loop' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/worker.rb:54:in `process_queue' /usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.8/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads' An error occurred while installing charlock_holmes (0.7.7), and Bundler cannot continue. In Gemfile: bullet_train-api was resolved to 1.0.17, which depends on bullet_train was resolved to 1.0.72, which depends on extended_email_reply_parser was resolved to 0.5.1, which depends on charlock_holmes == Command ["bundle install"] failed ==
Checking if icu
is installed:
Installed Packages
Name : icu
Version : 69.1
Release : 6.fc35
Architecture : x86_64
Size : 642 k
Source : icu-69.1-6.fc35.src.rpm
Repository : @System
From repo : updates
Summary : International Components for Unicode
URL : http://site.icu-project.org/
License : MIT and UCD and Public Domain
Description : Tools and utilities for developing with icu.
Is there something I can do in order to try out bullet train?
We should encourage folks to install Overmind as part of bin/setup
, allow them to skip it and fallback to Foreman, but if Overmind is present we should use it.
having a dash in a project name eg foo-bar
causes a module Foo-bar
to be created on line 9 in config/application.rb
. this doesn't conform to the expected naming convention for modules (eg. Foo_bar) and breaks the bin/setup
script
Issue: Whilst trying to use the User
profile image uploader (locally), the uploader pops up as expected, but the spinner spins perpetually 🙃.
Ejecting the core gem and updating the cloudinary widget corrected all the things.
Update this: <script src="//widget.cloudinary.com/v2.0/global/all.js" type="text/javascript"></script>
to this: <script src="https://upload-widget.cloudinary.com/2.1.15/global/all.js" type="text/javascript"></script>
from here https://github.com/bullet-train-co/bullet_train/blob/main/app/views/layouts/_head.html.erb#L20
.
I haven't dug in deeply, but there seems to be a problem with the latest bcrypt
release (3.1.17):
16:48:12 web.1 | Started POST "/users" for 127.0.0.1 at 2022-04-01 16:48:12 -0400
16:48:12 web.1 | Processing by RegistrationsController#create as HTML
16:48:12 web.1 | Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign Up"}
16:48:12 web.1 | Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms | Allocations: 1755)
16:48:12 web.1 |
16:48:12 web.1 |
16:48:12 web.1 |
16:48:12 web.1 | LoadError (incompatible library version - /Users/andyw8/.gem/ruby/3.1.1/gems/bcrypt-3.1.17/lib/bcrypt_ext.bundle):
I changed the Gemfile to use 3.1.16
and it worked.
I'm using an Apple M1 machine:
try_bullet_train main % ruby -v
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21]
The default Selenium backend for system tests can be super flaky. Seems like every dev I've talked to has hit a frustrating experience with it. Usually the response is to give up on end to end tests and move on to more productive work.
Ferrum/Cuprite is a modern, pure Ruby alternative to Selenium that is faster and more reliable. Adopting it seems very in line with the Bullet Train approach.
This article should be a useful resource https://evilmartians.com/chronicles/system-of-a-test-setting-up-end-to-end-rails-testing
Also here's some docs on getting it working with magic_test https://github-wiki-see.page/m/bullet-train-co/magic_test/wiki/Magic-Test-and-Cuprite
OSX version 12.2.1
MacBook Pro (16-inch, 2021)
Chip Apple M1 Pro
This is the output:
$ bin/configure
Bullet Train requires Ruby 3.1.1 and `ruby -v` returns ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21].
Bullet Train requires Node.js 16.13.2 and `node -v` returns v16.13.2.
Renaming repository `origin` remote to `bullet-train`.
Hit <Return> and we'll open a browser to GitHub where you can create a new repository. When you're done, copy the SSH path from the new repository and return here. We'll ask you to paste it to us in the next step.
OK, what was the SSH path? (It should look like `[email protected]:your-account/your-new-repo.git`.)
[email protected]:alexventuraio/test-bullettrain.git
Setting repository's `origin` remote to `[email protected]:alexventuraio/test-bullettrain.git`.
Pushing repository to `origin`.
To github.com:alexventuraio/test-bullettrain.git
* [new branch] main -> main
Running `bundle install`.
Bundler 2.3.7 is running, but your lockfile was generated with 2.3.8. Installing Bundler 2.3.8 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.3.8
Installing bundler 2.3.8
Fetching gem metadata from https://rubygems.org/.......
Fetching https://github.com/bullet-train-co/active_hash.git
Fetching https://github.com/bullet-train-co/wine_bouncer.git
Fetching https://github.com/brentd/xray-rails.git
Using rake 13.0.6
Fetching concurrent-ruby 1.1.10
Using minitest 5.15.0
Using erubi 1.10.0
Fetching mini_portile2 2.8.0
Using racc 1.6.0
Using rack 2.2.3
Using nio4r 2.5.8
Using websocket-extensions 0.1.5
Using marcel 1.0.2
Using mini_mime 1.1.2
Using digest 3.1.0
Using io-wait 0.2.1
Using timeout 0.2.0
Using strscan 3.0.1
Fetching public_suffix 4.0.6
Fetching api-pagination 5.0.0
Using ast 2.4.2
Fetching awesome_print 1.9.2
Fetching aws-eventstream 1.2.0
Fetching jmespath 1.6.1
Using builder 3.2.4
Using crass 1.0.6
Fetching aws-partitions 1.570.0
Fetching bcrypt 3.1.17
Fetching aws_cf_signer 0.1.3
Installing mini_portile2 2.8.0
Installing jmespath 1.6.1
Installing aws_cf_signer 0.1.3
Installing aws-partitions 1.570.0
Installing awesome_print 1.9.2
Installing api-pagination 5.0.0
Using bindex 0.8.1
Fetching debug_inspector 1.1.0
Using msgpack 1.4.5
Fetching http-accept 1.7.0
Fetching unf_ext 0.0.8.1
Fetching mime-types-data 3.2022.0105
Fetching netrc 0.11.0
Installing public_suffix 4.0.6
Fetching phonelib 0.6.57
Using bundler 2.3.8
Using method_source 1.0.0
Using thor 1.2.1
Using zeitwerk 2.5.4
Fetching cancancan 3.3.0
Installing bcrypt 3.1.17 with native extensions
Installing debug_inspector 1.1.0 with native extensions
Installing netrc 0.11.0
Installing http-accept 1.7.0
Installing concurrent-ruby 1.1.10
Installing aws-eventstream 1.2.0
Fetching bullet_train-scope_validator 1.0.2
Fetching thread-local 1.1.0
Fetching commonmarker 0.23.4
Using orm_adapter 0.5.0
Fetching charlock_holmes 0.7.7
Installing cancancan 3.3.0
Fetching email_reply_parser 0.5.10
Installing mime-types-data 3.2022.0105
Fetching fastimage 2.2.6
Installing thread-local 1.1.0
Fetching hiredis 0.6.3
Installing charlock_holmes 0.7.7 with native extensions
Installing bullet_train-scope_validator 1.0.2
Installing email_reply_parser 0.5.10
Installing unf_ext 0.0.8.1 with native extensions
Fetching http_accept_language 2.1.1
Fetching possessive 1.0.1
Installing fastimage 2.2.6
Installing commonmarker 0.23.4 with native extensions
Fetching htmlentities 4.3.4
Installing http_accept_language 2.1.1
Installing hiredis 0.6.3 with native extensions
Installing possessive 1.0.1
Using coderay 1.1.3
Using connection_pool 2.2.5
Using redis 4.6.0
Fetching dry-inflector 0.2.1
Installing htmlentities 4.3.4
Using ruby2_keywords 0.0.5
Fetching kaminari-core 1.2.2
Fetching hashie 5.0.0
Installing phonelib 0.6.57
Fetching faraday-net_http 2.0.1
Installing dry-inflector 0.2.1
Fetching jwt 2.3.0
Installing kaminari-core 1.2.2
Fetching multi_json 1.15.0
Installing hashie 5.0.0
Fetching multi_xml 0.6.0
Installing faraday-net_http 2.0.1
Fetching stripe 5.46.0
Installing jwt 2.3.0
Fetching hashids 1.0.6
Installing multi_json 1.15.0
Using matrix 0.4.2
Using regexp_parser 2.2.1
Fetching childprocess 4.1.0
Installing multi_xml 0.6.0
Fetching sexp_processor 4.16.0
Installing hashids 1.0.6
Using io-console 0.5.11
Fetching erubis 2.7.0
Installing childprocess 4.1.0
Using foreman 0.87.2
Fetching honeybadger 4.11.0
Installing sexp_processor 4.16.0
Using json 2.6.1
Fetching knapsack_pro 3.2.1
Installing stripe 5.46.0
Installing erubis 2.7.0
Fetching parallel 1.22.0
Installing knapsack_pro 3.2.1
Using pg 1.3.4
Fetching rails_autoscale_agent 0.11.0
Installing honeybadger 4.11.0
Fetching require_all 3.0.0
Installing parallel 1.22.0
Using ruby-progressbar 1.11.0
Using rainbow 3.1.1
Using rexml 3.2.5
Using unicode-display_width 2.1.0
Fetching rubyzip 2.3.2
Fetching timecop 0.9.5
Installing rails_autoscale_agent 0.11.0
Using rack-test 1.1.0
Using websocket-driver 0.7.5
Using mail 2.7.1
Using net-protocol 0.1.2
Using warden 1.2.9
Fetching rack-accept 0.4.5
Fetching rack-cors 1.1.1
Fetching minitest-retry 0.2.2
Installing require_all 3.0.0
Using parser 3.1.1.0
Using puma 5.6.2
Fetching rack-mini-profiler 3.0.0
Installing rubyzip 2.3.2
Installing timecop 0.9.5
Using bootsnap 1.11.1
Fetching nokogiri 1.13.3
Fetching addressable 2.8.0
Installing minitest-retry 0.2.2
Fetching figaro 1.2.0
Installing rack-accept 0.4.5
Fetching aws-sigv4 1.4.0
Using i18n 1.10.0
Using tzinfo 2.0.4
Fetching dry-core 0.7.1
Installing rack-cors 1.1.1
Fetching sentry-ruby-core 5.2.1
Installing dry-core 0.7.1
Installing aws-sigv4 1.4.0
Using sprockets 4.0.3
Fetching mime-types 3.4.1
Fetching pry 0.14.1
Installing addressable 2.8.0
Installing figaro 1.2.0
Installing rack-mini-profiler 3.0.0
Using sidekiq 6.4.1
Fetching mustermann 1.1.1
Fetching omniauth 1.9.1
Fetching faraday 2.2.0
Installing sentry-ruby-core 5.2.1
Using reline 0.3.1
Fetching code_analyzer 0.5.5
Installing mime-types 3.4.1
Fetching postmark 1.22.0
Installing omniauth 1.9.1
Fetching binding_of_caller 1.0.0
Installing mustermann 1.1.1
Installing pry 0.14.1
Using net-imap 0.2.3
Using net-pop 0.1.1
Using net-smtp 0.3.1
Using rubocop-ast 1.16.0
Fetching selenium-webdriver 4.1.0
Installing faraday 2.2.0
Using activesupport 7.0.2.3
Fetching aws-sdk-core 3.130.0
Installing code_analyzer 0.5.5
Fetching dry-configurable 0.14.0
Fetching dry-logic 1.2.0
Fetching css_parser 1.11.0
Installing binding_of_caller 1.0.0
Installing postmark 1.22.0
Fetching launchy 2.5.0
Fetching sentry-ruby 5.2.1
Installing dry-configurable 0.14.0
Fetching sentry-sidekiq 5.2.1
Using irb 1.4.1
Fetching unf 0.1.4
Installing css_parser 1.11.0
Fetching rubocop 1.26.0
Installing launchy 2.5.0
Fetching mustermann-grape 1.0.1
Installing dry-logic 1.2.0
Using globalid 1.0.0
Using activemodel 7.0.2.3
Using active_hash 3.1.0 from https://github.com/bullet-train-co/active_hash.git (at master@a6628bc)
Fetching jsonapi-serializer 2.2.0
Installing mustermann-grape 1.0.1
Fetching indefinite_article 0.2.4
Installing sentry-sidekiq 5.2.1
Fetching factory_bot 6.2.1
Installing sentry-ruby 5.2.1
Installing aws-sdk-core 3.130.0
Fetching rails_best_practices 1.23.1
Fetching oauth2 1.4.9
Installing selenium-webdriver 4.1.0
Installing indefinite_article 0.2.4
Installing jsonapi-serializer 2.2.0
Installing factory_bot 6.2.1
Fetching pry-stack_explorer 0.6.1
Fetching dry-container 0.9.0
Using debug 1.4.0
Fetching premailer 1.15.0
Fetching letter_opener 1.8.1
Installing oauth2 1.4.9
Using activejob 7.0.2.3
Using activerecord 7.0.2.3
Fetching bullet_train-roles 0.1.6
Installing pry-stack_explorer 0.6.1
Fetching aws-sdk-kms 1.55.0
Installing dry-container 0.9.0
Fetching omniauth-oauth2 1.7.2
Installing rails_best_practices 1.23.1
Installing letter_opener 1.8.1
Installing premailer 1.15.0
Fetching microscope 1.1.1
Fetching kaminari-activerecord 1.2.2
Fetching dry-types 1.5.1
Installing bullet_train-roles 0.1.6
Installing unf 0.1.4
Fetching domain_name 0.5.20190701
Fetching simpleidn 0.2.1
Installing omniauth-oauth2 1.7.2
Fetching omniauth-stripe-connect 2.10.1
Installing aws-sdk-kms 1.55.0
Installing kaminari-activerecord 1.2.2
Installing rubocop 1.26.0
Fetching aws-sdk-s3 1.113.0
Installing microscope 1.1.1
Installing dry-types 1.5.1
Fetching grape 1.6.2
Installing omniauth-stripe-connect 2.10.1
Using rubocop-performance 1.13.3
Fetching standard 1.9.0
Installing domain_name 0.5.20190701
Fetching http-cookie 1.0.4
Installing simpleidn 0.2.1
Fetching valid_email 0.1.4
Installing standard 1.9.0
Installing aws-sdk-s3 1.113.0
Installing http-cookie 1.0.4
Installing valid_email 0.1.4
Fetching rest-client 2.1.0
Installing grape 1.6.2
Fetching grape-jsonapi 1.0.1
Fetching grape-swagger 1.4.2
Fetching grape-cancan 0.0.3
Installing grape-cancan 0.0.3
Installing grape-jsonapi 1.0.1
Installing rest-client 2.1.0
Fetching cloudinary 1.22.0
Installing grape-swagger 1.4.2
Installing cloudinary 1.22.0
Installing nokogiri 1.13.3 with native extensions
Using rails-dom-testing 2.0.3
Fetching webdrivers 5.0.0
Fetching loofah 2.15.0
Fetching xpath 3.2.0
Installing xpath 3.2.0
Installing webdrivers 5.0.0
Installing loofah 2.15.0
Fetching capybara 3.36.0
Using rails-html-sanitizer 1.4.2
Using actionview 7.0.2.3
Using actionpack 7.0.2.3
Fetching nice_partials 0.1.6
Using jbuilder 2.11.5
Fetching kaminari-actionview 1.2.2
Using actioncable 7.0.2.3
Using activestorage 7.0.2.3
Using actionmailer 7.0.2.3
Using railties 7.0.2.3
Using sprockets-rails 3.4.2
Fetching omniauth-rails_csrf_protection 0.1.2
Using actiontext 7.0.2.3
Using actionmailbox 7.0.2.3
Using responders 3.0.1
Fetching premailer-rails 1.11.1
Fetching doorkeeper 5.5.4
Fetching cssbundling-rails 1.1.0
Using factory_bot_rails 6.2.0
Fetching jsbundling-rails 1.0.2
Fetching postmark-rails 0.22.0
Fetching sentry-rails 5.2.1
Installing jsbundling-rails 1.0.2
Installing premailer-rails 1.11.1
Installing nice_partials 0.1.6
Installing sentry-rails 5.2.1
Installing omniauth-rails_csrf_protection 0.1.2
Installing cssbundling-rails 1.1.0
Installing postmark-rails 0.22.0
Installing kaminari-actionview 1.2.2
Installing doorkeeper 5.5.4
Using stimulus-rails 1.0.4
Using turbo-rails 1.0.1
Using web-console 4.2.0
Using rails 7.0.2.3
Using devise 4.8.1
Fetching bullet_train-fields 1.0.4
Fetching bullet_train-has_uuid 1.0.2
Fetching bullet_train-super_load_and_authorize_resource 1.0.0
Fetching cable_ready 5.0.0.pre8
Fetching grape_on_rails_routes 0.3.2
Fetching bullet_train-incoming_webhooks 1.0.1
Fetching bullet_train-integrations 1.0.0
Fetching bullet_train-obfuscates_id 1.0.2
Installing capybara 3.36.0
Fetching bullet_train-outgoing_webhooks 1.0.4
Fetching bullet_train-scope_questions 1.0.2
Installing bullet_train-has_uuid 1.0.2
Installing bullet_train-super_load_and_authorize_resource 1.0.0
Installing grape_on_rails_routes 0.3.2
Installing cable_ready 5.0.0.pre8
Fetching bullet_train-sortable 1.0.2
Installing bullet_train-integrations 1.0.0
Fetching bullet_train-super_scaffolding 1.0.21
Fetching bullet_train-themes 1.0.6
Installing bullet_train-incoming_webhooks 1.0.1
Installing bullet_train-fields 1.0.4
Installing bullet_train-obfuscates_id 1.0.2
Using xray-rails 0.3.2 from https://github.com/brentd/xray-rails.git (at 4f6cca0@4f6cca0)
Installing bullet_train-outgoing_webhooks 1.0.4
Fetching kaminari 1.2.2
Fetching bullet_train-integrations-stripe 1.0.3
Installing bullet_train-scope_questions 1.0.2
Using wine_bouncer 1.0.4 from https://github.com/bullet-train-co/wine_bouncer.git (at master@638eef8)
Fetching capybara-email 3.0.2
Fetching magic_test 0.0.9
Installing bullet_train-sortable 1.0.2
Installing bullet_train-super_scaffolding 1.0.21
Installing bullet_train-integrations-stripe 1.0.3
Installing capybara-email 3.0.2
Installing bullet_train-themes 1.0.6
Installing magic_test 0.0.9
Installing kaminari 1.2.2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/alex/.rvm/gems/ruby-3.1.1/gems/charlock_holmes-0.7.7/ext/charlock_holmes
/Users/alex/.rvm/rubies/ruby-3.1.1/bin/ruby -I /Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0 -r ./siteconf20220327-3832-xoy4t0.rb extconf.rb
checking for -licui18n... no
***************************************************************************************
*********** icu required (brew install icu4c or apt-get install libicu-dev) ***********
***************************************************************************************
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/alex/.rvm/rubies/ruby-3.1.1/bin/$(RUBY_BASE_NAME)
--with-icu-dir
--without-icu-dir
--with-icu-include
--without-icu-include=${icu-dir}/include
--with-icu-lib
--without-icu-lib=${icu-dir}/lib
--with-icu-i18n-dir
--without-icu-i18n-dir
--with-icu-i18n-include
--without-icu-i18n-include=${icu-i18n-dir}/include
--with-icu-i18n-lib
--without-icu-i18n-lib=${icu-i18n-dir}/lib
--with-icu-i18n-config
--without-icu-i18n-config
--with-pkg-config
--without-pkg-config
--with-icu-io-dir
--without-icu-io-dir
--with-icu-io-include
--without-icu-io-include=${icu-io-dir}/include
--with-icu-io-lib
--without-icu-io-lib=${icu-io-dir}/lib
--with-icu-io-config
--without-icu-io-config
--with-icu-uc-dir
--without-icu-uc-dir
--with-icu-uc-include
--without-icu-uc-include=${icu-uc-dir}/include
--with-icu-uc-lib
--without-icu-uc-lib=${icu-uc-dir}/lib
--with-icu-uc-config
--without-icu-uc-config
--with-icui18n-dir
--without-icui18n-dir
--with-icui18n-include
--without-icui18n-include=${icui18n-dir}/include
--with-icui18n-lib
--without-icui18n-lib=${icui18n-dir}/lib
--with-icui18nlib
--without-icui18nlib
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Users/alex/.rvm/gems/ruby-3.1.1/extensions/arm64-darwin-21/3.1.0/charlock_holmes-0.7.7/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Users/alex/.rvm/gems/ruby-3.1.1/gems/charlock_holmes-0.7.7 for inspection.
Results logged to /Users/alex/.rvm/gems/ruby-3.1.1/extensions/arm64-darwin-21/3.1.0/charlock_holmes-0.7.7/gem_make.out
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/tempfile.rb:317:in `open'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in build_extensions'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/source/rubygems.rb:204:in `install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/gem_installer.rb:54:in `install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:62:in `apply_func'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:57:in `block in process_queue'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:54:in `loop'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:54:in `process_queue'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing charlock_holmes (0.7.7), and Bundler cannot continue.
In Gemfile:
bullet_train was resolved to 1.0.41, which depends on
extended_email_reply_parser was resolved to 0.5.1, which depends on
charlock_holmes
Yarn is installed.
Running `yarn install`.
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @rails/[email protected]" has unmet peer dependency "trix@^1.3.1".
[4/4] Building fresh packages...
Done in 34.70s.
What is the name of your new application in title case? (e.g. "Some Great Application")
TestBullettrain
Replacing instances of "Untitled Application" with "TestBullettrain" throughout the codebase.
Replacing in './.circleci/config.yml'.
Replacing in './config/database.yml'.
Replacing in './config/database.yml'.
Replacing in './config/cable.yml'.
Replacing in './config/initializers/session_store.rb'.
Replacing in './config/environments/production.rb'.
Replacing in './config/application.rb'.
Replacing in './config/locales/en/application.en.yml'.
Replacing in './config/locales/en/application.en.yml'.
Replacing in './config/locales/en/application.en.yml'.
Replacing in './config/locales/en/user_mailer.en.yml'.
Moving `./README.md.example` to `./README.md`.
mv: ./README.md.example: No such file or directory
Replacing in './README.md'.
Committing all these changes to the repository.
[main 73ba4e7] Run configuration script.
9 files changed, 22 insertions(+), 22 deletions(-)
Enumerating objects: 33, done.
Counting objects: 100% (33/33), done.
Delta compression using up to 10 threads
Compressing objects: 100% (15/15), done.
Writing objects: 100% (17/17), 1.52 KiB | 1.52 MiB/s, done.
Total 17 (delta 12), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (12/12), completed with 12 local objects.
To github.com:alexventuraio/test-bullettrain.git
8c2233c..73ba4e7 main -> main
OK, we're done, but at some point you should edit `config/locales/en/application.en.yml`!
Next you can run `bin/setup` and then `bin/dev`.
rescueready@RescueReady rescue_ready % bin/dev
Removing previously linked gems.
Linking 'bullet_train-1.0.74' to '/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bullet_train-1.0.74'.
Linking 'bullet_train-fields-1.0.15' to '/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bullet_train-fields-1.0.15'.
Linking 'bullet_train-super_scaffolding-1.0.28' to '/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bullet_train-super_scaffolding-1.0.28'.
Linking 'bullet_train-themes-1.0.13' to '/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bullet_train-themes-1.0.13'.
Linking 'bullet_train-themes-light-1.0.23' to '/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bullet_train-themes-light-1.0.23'.
Linking 'bullet_train-themes-tailwind_css-1.0.10' to '/Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bullet_train-themes-tailwind_css-1.0.10'.
system | Tmux socket name: overmind-rescue-ready-N0yByw6io2_JxISVMMh_nq
system | Tmux session ID: rescue-ready
system | Listening at ./.overmind.sock
worker | Started with pid 98338...
light-css | Started with pid 98341...
js | Started with pid 98339...
web | Started with pid 98337...
light-js | Started with pid 98340...
light-mailer-css | Started with pid 98342...
yarn run v1.22.19
$ node esbuild.config.js --watch
yarn run v1.22.19
$ esbuild `bundle exec bin/theme javascript light` --bundle --sourcemap --outdir=app/assets/builds --loader:.png=file --loader:.jpg=file --watch
yarn run v1.22.19
$ NODE_PATH=./node_modules tailwindcss -c `bundle exec bin/theme tailwind-config light` -i `bundle exec bin/theme tailwind-stylesheet light` -o ./app/assets/builds/application.light.css --postcss ./postcss.config.js --watch
js | resolveDir /Users/rescueready/sandbox/work/sarnova/rescue_ready/app/javascript/controllers
js | path ./**/*_controller.js
yarn run v1.22.19
$ NODE_PATH=./node_modules tailwindcss -c `bundle exec bin/theme tailwind-mailer-config light` -i `bundle exec bin/theme tailwind-stylesheet light` -o ./app/assets/builds/application.mailer.light.css --postcss ./postcss.mailer.config.js --watch
web | /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/reline-0.3.1/lib/reline/terminfo.rb:108:in `setupterm': The terminfo database could not be found. (Reline::Terminfo::TerminfoError)
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/reline-0.3.1/lib/reline/ansi.rb:21:in `<class:ANSI>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/reline-0.3.1/lib/reline/ansi.rb:6:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/reline-0.3.1/lib/reline.rb:580:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/3.1.0/irb/color.rb:2:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debug-1.5.0/lib/debug/color.rb:4:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debug-1.5.0/lib/debug/thread_client.rb:6:in `require_relative'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debug-1.5.0/lib/debug/thread_client.rb:6:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debug-1.5.0/lib/debug/session.rb:24:in `require_relative'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debug-1.5.0/lib/debug/session.rb:24:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debug-1.5.0/lib/debug.rb:3:in `require_relative'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/debug-1.5.0/lib/debug.rb:3:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:55:in `each'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:55:in `block in require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in `each'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/runtime.rb:44:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler.rb:176:in `require'
web | from /Users/rescueready/sandbox/work/sarnova/rescue_ready/config/application.rb:8:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:137:in `block in perform'
web | from <internal:kernel>:90:in `tap'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3/lib/rails/commands/server/server_command.rb:134:in `perform'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3/lib/rails/command/base.rb:87:in `perform'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3/lib/rails/command.rb:48:in `invoke'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3/lib/rails/commands.rb:18:in `<main>'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
web | from bin/rails:4:in `<main>'
web | Exited
light-mailer-css | Interrupting...
worker | Interrupting...
js | Interrupting...
light-js | Interrupting...
light-css | Interrupting...
worker | /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3/lib/active_support/logger_silence.rb:4:in `set_encoding': Interrupt
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3/lib/active_support/logger_silence.rb:4:in `require'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3/lib/active_support/logger_silence.rb:4:in `<top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3/lib/active_support/logger.rb:3:in `require'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3/lib/active_support/logger.rb:3:in `<top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3/lib/active_support.rb:29:in `require'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3/lib/active_support.rb:29:in `<top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3/lib/rails.rb:7:in `require'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3/lib/rails.rb:7:in `<top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/sidekiq-6.4.2/lib/sidekiq/cli.rb:268:in `require'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/sidekiq-6.4.2/lib/sidekiq/cli.rb:268:in `boot_application'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/sidekiq-6.4.2/lib/sidekiq/cli.rb:37:in `run'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/sidekiq-6.4.2/bin/sidekiq:31:in `<top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/bin/sidekiq:25:in `load'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/bin/sidekiq:25:in `<top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli/exec.rb:58:in `load'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli/exec.rb:58:in `kernel_load'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli/exec.rb:23:in `run'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli.rb:484:in `exec'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli.rb:31:in `dispatch'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli.rb:25:in `start'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/exe/bundle:48:in `block in <top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/exe/bundle:36:in `<top (required)>'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/bin/bundle:25:in `load'
worker | from /Users/rescueready/.rbenv/versions/3.1.2/bin/bundle:25:in `<main>'
light-css | Exited
light-js | Exited
worker | Exited
light-mailer-css | Exited
js | Exited
On macos, I'm using the default versions of ruby and node installed by homebrew.
~/src/rails/bullet_train % bin/configure
Bullet Train requires Ruby 3.1.1 and `ruby -v` returns ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21].
Bullet Train requires Node.js 16.14.0 and `node -v` returns v17.8.0.
~/src/rails/bullet_train % which ruby
/opt/homebrew/opt/ruby/bin/ruby
~/src/rails/bullet_train % which node
/opt/homebrew/bin/node
Do I really need to change them for this project?
First run of bin/dev after bin/configure and bin/setup
13:42:22 web.1 | ActionView::Template::Error (The asset "application.light.css" is not present in the asset pipeline.
rescueready@RescueReady rescue_ready % bin/configure
Bullet Train requires Ruby 3.1.2 and `ruby -v` returns ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21].
Bullet Train requires Node.js 18.3.0 and `node -v` returns 18.3.0.
Homebrew is installed.
PostgreSQL 13 is not installed via Homebrew. Try running `brew install postgresql@13`.
Try proceeding without PostgreSQL 13?
y
Redis is installed via Homebrew.
Yarn is installed.
Next, let's push your application to GitHub.
If you would like to use another service like Gitlab to manage your repository,
you can opt out of this step and set up the repository manually.
(If you're not sure, we suggest going with GitHub)
Continue setting up with GitHub? [y/n]
n
Running `bundle install`.
Using rake 13.0.6
[...using lots of other gems too...]
Using webdrivers 5.0.0
Using wine_bouncer 1.0.4 from https://github.com/bullet-train-co/wine_bouncer.git
Bundle complete! 49 Gemfile dependencies, 223 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bin/configure:156:in `<main>': undefined method `green' for main:Object (NoMethodError)
puts green "Running `yarn install`."
^^^^^
The Chronic gem needs to be added to the main Gemfile or bullet_train-fields Gemfile. Without it, date fields can't be saved when using the date_field partial.
Thanks!
Hello when running bin/setup on my machine I get the following error:
LoadError: libicudata.so.70: cannot open shared object file: No such file or directory - /home/gabriel/.rvm/gems/ruby-3.1.2/gems/charlock_holmes-0.7.7/lib/charlock_holmes/charlock_holmes.so
Any ideas on how to resolve this? Thank you.
application-*
> node_modules/@bullet-train/bullet-train/app/javascript/controllers/mobile_menu_controller.js
13
inside the toggle()
methodeventName
in the Watch Expressions. It should show ReferenceError: Can't find variable: eventName
The value of eventName
should be accessible in the Watch Expressions.
OSX version 12.2.1
MacBook Pro (16-inch, 2021)
Chip Apple M1 Pro
This is the output:
$ bin/configure
Bullet Train requires Ruby 3.1.1 and `ruby -v` returns ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21].
Bullet Train requires Node.js 16.13.2 and `node -v` returns v16.13.2.
Renaming repository `origin` remote to `bullet-train`.
Hit <Return> and we'll open a browser to GitHub where you can create a new repository. When you're done, copy the SSH path from the new repository and return here. We'll ask you to paste it to us in the next step.
OK, what was the SSH path? (It should look like `[email protected]:your-account/your-new-repo.git`.)
[email protected]:alexventuraio/test-bullettrain.git
Setting repository's `origin` remote to `[email protected]:alexventuraio/test-bullettrain.git`.
Pushing repository to `origin`.
To github.com:alexventuraio/test-bullettrain.git
* [new branch] main -> main
Running `bundle install`.
Bundler 2.3.7 is running, but your lockfile was generated with 2.3.8. Installing Bundler 2.3.8 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.3.8
Installing bundler 2.3.8
Fetching gem metadata from https://rubygems.org/.......
Fetching https://github.com/bullet-train-co/active_hash.git
Fetching https://github.com/bullet-train-co/wine_bouncer.git
Fetching https://github.com/brentd/xray-rails.git
Using rake 13.0.6
Fetching concurrent-ruby 1.1.10
Using minitest 5.15.0
Using erubi 1.10.0
Fetching mini_portile2 2.8.0
Using racc 1.6.0
Using rack 2.2.3
Using nio4r 2.5.8
Using websocket-extensions 0.1.5
Using marcel 1.0.2
Using mini_mime 1.1.2
Using digest 3.1.0
Using io-wait 0.2.1
Using timeout 0.2.0
Using strscan 3.0.1
Fetching public_suffix 4.0.6
Fetching api-pagination 5.0.0
Using ast 2.4.2
Fetching awesome_print 1.9.2
Fetching aws-eventstream 1.2.0
Fetching jmespath 1.6.1
Using builder 3.2.4
Using crass 1.0.6
Fetching aws-partitions 1.570.0
Fetching bcrypt 3.1.17
Fetching aws_cf_signer 0.1.3
Installing mini_portile2 2.8.0
Installing jmespath 1.6.1
Installing aws_cf_signer 0.1.3
Installing aws-partitions 1.570.0
Installing awesome_print 1.9.2
Installing api-pagination 5.0.0
Using bindex 0.8.1
Fetching debug_inspector 1.1.0
Using msgpack 1.4.5
Fetching http-accept 1.7.0
Fetching unf_ext 0.0.8.1
Fetching mime-types-data 3.2022.0105
Fetching netrc 0.11.0
Installing public_suffix 4.0.6
Fetching phonelib 0.6.57
Using bundler 2.3.8
Using method_source 1.0.0
Using thor 1.2.1
Using zeitwerk 2.5.4
Fetching cancancan 3.3.0
Installing bcrypt 3.1.17 with native extensions
Installing debug_inspector 1.1.0 with native extensions
Installing netrc 0.11.0
Installing http-accept 1.7.0
Installing concurrent-ruby 1.1.10
Installing aws-eventstream 1.2.0
Fetching bullet_train-scope_validator 1.0.2
Fetching thread-local 1.1.0
Fetching commonmarker 0.23.4
Using orm_adapter 0.5.0
Fetching charlock_holmes 0.7.7
Installing cancancan 3.3.0
Fetching email_reply_parser 0.5.10
Installing mime-types-data 3.2022.0105
Fetching fastimage 2.2.6
Installing thread-local 1.1.0
Fetching hiredis 0.6.3
Installing charlock_holmes 0.7.7 with native extensions
Installing bullet_train-scope_validator 1.0.2
Installing email_reply_parser 0.5.10
Installing unf_ext 0.0.8.1 with native extensions
Fetching http_accept_language 2.1.1
Fetching possessive 1.0.1
Installing fastimage 2.2.6
Installing commonmarker 0.23.4 with native extensions
Fetching htmlentities 4.3.4
Installing http_accept_language 2.1.1
Installing hiredis 0.6.3 with native extensions
Installing possessive 1.0.1
Using coderay 1.1.3
Using connection_pool 2.2.5
Using redis 4.6.0
Fetching dry-inflector 0.2.1
Installing htmlentities 4.3.4
Using ruby2_keywords 0.0.5
Fetching kaminari-core 1.2.2
Fetching hashie 5.0.0
Installing phonelib 0.6.57
Fetching faraday-net_http 2.0.1
Installing dry-inflector 0.2.1
Fetching jwt 2.3.0
Installing kaminari-core 1.2.2
Fetching multi_json 1.15.0
Installing hashie 5.0.0
Fetching multi_xml 0.6.0
Installing faraday-net_http 2.0.1
Fetching stripe 5.46.0
Installing jwt 2.3.0
Fetching hashids 1.0.6
Installing multi_json 1.15.0
Using matrix 0.4.2
Using regexp_parser 2.2.1
Fetching childprocess 4.1.0
Installing multi_xml 0.6.0
Fetching sexp_processor 4.16.0
Installing hashids 1.0.6
Using io-console 0.5.11
Fetching erubis 2.7.0
Installing childprocess 4.1.0
Using foreman 0.87.2
Fetching honeybadger 4.11.0
Installing sexp_processor 4.16.0
Using json 2.6.1
Fetching knapsack_pro 3.2.1
Installing stripe 5.46.0
Installing erubis 2.7.0
Fetching parallel 1.22.0
Installing knapsack_pro 3.2.1
Using pg 1.3.4
Fetching rails_autoscale_agent 0.11.0
Installing honeybadger 4.11.0
Fetching require_all 3.0.0
Installing parallel 1.22.0
Using ruby-progressbar 1.11.0
Using rainbow 3.1.1
Using rexml 3.2.5
Using unicode-display_width 2.1.0
Fetching rubyzip 2.3.2
Fetching timecop 0.9.5
Installing rails_autoscale_agent 0.11.0
Using rack-test 1.1.0
Using websocket-driver 0.7.5
Using mail 2.7.1
Using net-protocol 0.1.2
Using warden 1.2.9
Fetching rack-accept 0.4.5
Fetching rack-cors 1.1.1
Fetching minitest-retry 0.2.2
Installing require_all 3.0.0
Using parser 3.1.1.0
Using puma 5.6.2
Fetching rack-mini-profiler 3.0.0
Installing rubyzip 2.3.2
Installing timecop 0.9.5
Using bootsnap 1.11.1
Fetching nokogiri 1.13.3
Fetching addressable 2.8.0
Installing minitest-retry 0.2.2
Fetching figaro 1.2.0
Installing rack-accept 0.4.5
Fetching aws-sigv4 1.4.0
Using i18n 1.10.0
Using tzinfo 2.0.4
Fetching dry-core 0.7.1
Installing rack-cors 1.1.1
Fetching sentry-ruby-core 5.2.1
Installing dry-core 0.7.1
Installing aws-sigv4 1.4.0
Using sprockets 4.0.3
Fetching mime-types 3.4.1
Fetching pry 0.14.1
Installing addressable 2.8.0
Installing figaro 1.2.0
Installing rack-mini-profiler 3.0.0
Using sidekiq 6.4.1
Fetching mustermann 1.1.1
Fetching omniauth 1.9.1
Fetching faraday 2.2.0
Installing sentry-ruby-core 5.2.1
Using reline 0.3.1
Fetching code_analyzer 0.5.5
Installing mime-types 3.4.1
Fetching postmark 1.22.0
Installing omniauth 1.9.1
Fetching binding_of_caller 1.0.0
Installing mustermann 1.1.1
Installing pry 0.14.1
Using net-imap 0.2.3
Using net-pop 0.1.1
Using net-smtp 0.3.1
Using rubocop-ast 1.16.0
Fetching selenium-webdriver 4.1.0
Installing faraday 2.2.0
Using activesupport 7.0.2.3
Fetching aws-sdk-core 3.130.0
Installing code_analyzer 0.5.5
Fetching dry-configurable 0.14.0
Fetching dry-logic 1.2.0
Fetching css_parser 1.11.0
Installing binding_of_caller 1.0.0
Installing postmark 1.22.0
Fetching launchy 2.5.0
Fetching sentry-ruby 5.2.1
Installing dry-configurable 0.14.0
Fetching sentry-sidekiq 5.2.1
Using irb 1.4.1
Fetching unf 0.1.4
Installing css_parser 1.11.0
Fetching rubocop 1.26.0
Installing launchy 2.5.0
Fetching mustermann-grape 1.0.1
Installing dry-logic 1.2.0
Using globalid 1.0.0
Using activemodel 7.0.2.3
Using active_hash 3.1.0 from https://github.com/bullet-train-co/active_hash.git (at master@a6628bc)
Fetching jsonapi-serializer 2.2.0
Installing mustermann-grape 1.0.1
Fetching indefinite_article 0.2.4
Installing sentry-sidekiq 5.2.1
Fetching factory_bot 6.2.1
Installing sentry-ruby 5.2.1
Installing aws-sdk-core 3.130.0
Fetching rails_best_practices 1.23.1
Fetching oauth2 1.4.9
Installing selenium-webdriver 4.1.0
Installing indefinite_article 0.2.4
Installing jsonapi-serializer 2.2.0
Installing factory_bot 6.2.1
Fetching pry-stack_explorer 0.6.1
Fetching dry-container 0.9.0
Using debug 1.4.0
Fetching premailer 1.15.0
Fetching letter_opener 1.8.1
Installing oauth2 1.4.9
Using activejob 7.0.2.3
Using activerecord 7.0.2.3
Fetching bullet_train-roles 0.1.6
Installing pry-stack_explorer 0.6.1
Fetching aws-sdk-kms 1.55.0
Installing dry-container 0.9.0
Fetching omniauth-oauth2 1.7.2
Installing rails_best_practices 1.23.1
Installing letter_opener 1.8.1
Installing premailer 1.15.0
Fetching microscope 1.1.1
Fetching kaminari-activerecord 1.2.2
Fetching dry-types 1.5.1
Installing bullet_train-roles 0.1.6
Installing unf 0.1.4
Fetching domain_name 0.5.20190701
Fetching simpleidn 0.2.1
Installing omniauth-oauth2 1.7.2
Fetching omniauth-stripe-connect 2.10.1
Installing aws-sdk-kms 1.55.0
Installing kaminari-activerecord 1.2.2
Installing rubocop 1.26.0
Fetching aws-sdk-s3 1.113.0
Installing microscope 1.1.1
Installing dry-types 1.5.1
Fetching grape 1.6.2
Installing omniauth-stripe-connect 2.10.1
Using rubocop-performance 1.13.3
Fetching standard 1.9.0
Installing domain_name 0.5.20190701
Fetching http-cookie 1.0.4
Installing simpleidn 0.2.1
Fetching valid_email 0.1.4
Installing standard 1.9.0
Installing aws-sdk-s3 1.113.0
Installing http-cookie 1.0.4
Installing valid_email 0.1.4
Fetching rest-client 2.1.0
Installing grape 1.6.2
Fetching grape-jsonapi 1.0.1
Fetching grape-swagger 1.4.2
Fetching grape-cancan 0.0.3
Installing grape-cancan 0.0.3
Installing grape-jsonapi 1.0.1
Installing rest-client 2.1.0
Fetching cloudinary 1.22.0
Installing grape-swagger 1.4.2
Installing cloudinary 1.22.0
Installing nokogiri 1.13.3 with native extensions
Using rails-dom-testing 2.0.3
Fetching webdrivers 5.0.0
Fetching loofah 2.15.0
Fetching xpath 3.2.0
Installing xpath 3.2.0
Installing webdrivers 5.0.0
Installing loofah 2.15.0
Fetching capybara 3.36.0
Using rails-html-sanitizer 1.4.2
Using actionview 7.0.2.3
Using actionpack 7.0.2.3
Fetching nice_partials 0.1.6
Using jbuilder 2.11.5
Fetching kaminari-actionview 1.2.2
Using actioncable 7.0.2.3
Using activestorage 7.0.2.3
Using actionmailer 7.0.2.3
Using railties 7.0.2.3
Using sprockets-rails 3.4.2
Fetching omniauth-rails_csrf_protection 0.1.2
Using actiontext 7.0.2.3
Using actionmailbox 7.0.2.3
Using responders 3.0.1
Fetching premailer-rails 1.11.1
Fetching doorkeeper 5.5.4
Fetching cssbundling-rails 1.1.0
Using factory_bot_rails 6.2.0
Fetching jsbundling-rails 1.0.2
Fetching postmark-rails 0.22.0
Fetching sentry-rails 5.2.1
Installing jsbundling-rails 1.0.2
Installing premailer-rails 1.11.1
Installing nice_partials 0.1.6
Installing sentry-rails 5.2.1
Installing omniauth-rails_csrf_protection 0.1.2
Installing cssbundling-rails 1.1.0
Installing postmark-rails 0.22.0
Installing kaminari-actionview 1.2.2
Installing doorkeeper 5.5.4
Using stimulus-rails 1.0.4
Using turbo-rails 1.0.1
Using web-console 4.2.0
Using rails 7.0.2.3
Using devise 4.8.1
Fetching bullet_train-fields 1.0.4
Fetching bullet_train-has_uuid 1.0.2
Fetching bullet_train-super_load_and_authorize_resource 1.0.0
Fetching cable_ready 5.0.0.pre8
Fetching grape_on_rails_routes 0.3.2
Fetching bullet_train-incoming_webhooks 1.0.1
Fetching bullet_train-integrations 1.0.0
Fetching bullet_train-obfuscates_id 1.0.2
Installing capybara 3.36.0
Fetching bullet_train-outgoing_webhooks 1.0.4
Fetching bullet_train-scope_questions 1.0.2
Installing bullet_train-has_uuid 1.0.2
Installing bullet_train-super_load_and_authorize_resource 1.0.0
Installing grape_on_rails_routes 0.3.2
Installing cable_ready 5.0.0.pre8
Fetching bullet_train-sortable 1.0.2
Installing bullet_train-integrations 1.0.0
Fetching bullet_train-super_scaffolding 1.0.21
Fetching bullet_train-themes 1.0.6
Installing bullet_train-incoming_webhooks 1.0.1
Installing bullet_train-fields 1.0.4
Installing bullet_train-obfuscates_id 1.0.2
Using xray-rails 0.3.2 from https://github.com/brentd/xray-rails.git (at 4f6cca0@4f6cca0)
Installing bullet_train-outgoing_webhooks 1.0.4
Fetching kaminari 1.2.2
Fetching bullet_train-integrations-stripe 1.0.3
Installing bullet_train-scope_questions 1.0.2
Using wine_bouncer 1.0.4 from https://github.com/bullet-train-co/wine_bouncer.git (at master@638eef8)
Fetching capybara-email 3.0.2
Fetching magic_test 0.0.9
Installing bullet_train-sortable 1.0.2
Installing bullet_train-super_scaffolding 1.0.21
Installing bullet_train-integrations-stripe 1.0.3
Installing capybara-email 3.0.2
Installing bullet_train-themes 1.0.6
Installing magic_test 0.0.9
Installing kaminari 1.2.2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/alex/.rvm/gems/ruby-3.1.1/gems/charlock_holmes-0.7.7/ext/charlock_holmes
/Users/alex/.rvm/rubies/ruby-3.1.1/bin/ruby -I /Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0 -r ./siteconf20220327-3832-xoy4t0.rb extconf.rb
checking for -licui18n... no
***************************************************************************************
*********** icu required (brew install icu4c or apt-get install libicu-dev) ***********
***************************************************************************************
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/alex/.rvm/rubies/ruby-3.1.1/bin/$(RUBY_BASE_NAME)
--with-icu-dir
--without-icu-dir
--with-icu-include
--without-icu-include=${icu-dir}/include
--with-icu-lib
--without-icu-lib=${icu-dir}/lib
--with-icu-i18n-dir
--without-icu-i18n-dir
--with-icu-i18n-include
--without-icu-i18n-include=${icu-i18n-dir}/include
--with-icu-i18n-lib
--without-icu-i18n-lib=${icu-i18n-dir}/lib
--with-icu-i18n-config
--without-icu-i18n-config
--with-pkg-config
--without-pkg-config
--with-icu-io-dir
--without-icu-io-dir
--with-icu-io-include
--without-icu-io-include=${icu-io-dir}/include
--with-icu-io-lib
--without-icu-io-lib=${icu-io-dir}/lib
--with-icu-io-config
--without-icu-io-config
--with-icu-uc-dir
--without-icu-uc-dir
--with-icu-uc-include
--without-icu-uc-include=${icu-uc-dir}/include
--with-icu-uc-lib
--without-icu-uc-lib=${icu-uc-dir}/lib
--with-icu-uc-config
--without-icu-uc-config
--with-icui18n-dir
--without-icui18n-dir
--with-icui18n-include
--without-icui18n-include=${icui18n-dir}/include
--with-icui18n-lib
--without-icui18n-lib=${icui18n-dir}/lib
--with-icui18nlib
--without-icui18nlib
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Users/alex/.rvm/gems/ruby-3.1.1/extensions/arm64-darwin-21/3.1.0/charlock_holmes-0.7.7/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Users/alex/.rvm/gems/ruby-3.1.1/gems/charlock_holmes-0.7.7 for inspection.
Results logged to /Users/alex/.rvm/gems/ruby-3.1.1/extensions/arm64-darwin-21/3.1.0/charlock_holmes-0.7.7/gem_make.out
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:47:in `block in build'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/tempfile.rb:317:in `open'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in build_extensions'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions'
/Users/alex/.rvm/rubies/ruby-3.1.1/lib/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/rubygems_gem_installer.rb:28:in `install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/source/rubygems.rb:204:in `install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/gem_installer.rb:54:in `install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:62:in `apply_func'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:57:in `block in process_queue'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:54:in `loop'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:54:in `process_queue'
/Users/alex/.rvm/gems/ruby-3.1.1/gems/bundler-2.3.8/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
An error occurred while installing charlock_holmes (0.7.7), and Bundler cannot continue.
In Gemfile:
bullet_train was resolved to 1.0.41, which depends on
extended_email_reply_parser was resolved to 0.5.1, which depends on
charlock_holmes
Yarn is installed.
Running `yarn install`.
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @rails/[email protected]" has unmet peer dependency "trix@^1.3.1".
[4/4] Building fresh packages...
Done in 34.70s.
What is the name of your new application in title case? (e.g. "Some Great Application")
TestBullettrain
Replacing instances of "Untitled Application" with "TestBullettrain" throughout the codebase.
Replacing in './.circleci/config.yml'.
Replacing in './config/database.yml'.
Replacing in './config/database.yml'.
Replacing in './config/cable.yml'.
Replacing in './config/initializers/session_store.rb'.
Replacing in './config/environments/production.rb'.
Replacing in './config/application.rb'.
Replacing in './config/locales/en/application.en.yml'.
Replacing in './config/locales/en/application.en.yml'.
Replacing in './config/locales/en/application.en.yml'.
Replacing in './config/locales/en/user_mailer.en.yml'.
Moving `./README.md.example` to `./README.md`.
mv: ./README.md.example: No such file or directory
Replacing in './README.md'.
Committing all these changes to the repository.
[main 73ba4e7] Run configuration script.
9 files changed, 22 insertions(+), 22 deletions(-)
Enumerating objects: 33, done.
Counting objects: 100% (33/33), done.
Delta compression using up to 10 threads
Compressing objects: 100% (15/15), done.
Writing objects: 100% (17/17), 1.52 KiB | 1.52 MiB/s, done.
Total 17 (delta 12), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (12/12), completed with 12 local objects.
To github.com:alexventuraio/test-bullettrain.git
8c2233c..73ba4e7 main -> main
OK, we're done, but at some point you should edit `config/locales/en/application.en.yml`!
Next you can run `bin/setup` and then `bin/dev`.
See https://discord.com/channels/836637622432170028/962861163702530089 for context.
When i click on the button to copy the command to clone the template repository, i only want to copy the command git clone [email protected]:bullet-train-co/bullet_train.git your_new_project_name
When i click on the button to copy the command to clone the template repository, the command including the $
gets copied, which results in a zsh: command not found: $
error after i paste it to my terminal. In order to execute the command, i have to manually remove the $
Please remove the $
from the commands so copy/pasting the commands works smoothly
Creating new oauth provider on application created from this repository template causes error related to missing stripe provider files.
➜ application git:(main) ✗ bin/super-scaffold oauth-provider omniauth-google-oauth2 google_oauth2 Oauth::GoogleAccount [...] [...] --icon=ti-google
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - ./app/models/oauth/stripe_account.rb
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/scaffolding/oauth_providers.rb:83:in `initialize'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/scaffolding/oauth_providers.rb:83:in `open'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/scaffolding/oauth_providers.rb:83:in `oauth_scaffold_file'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/bullet_train/super_scaffolding/scaffolders/oauth_provider_scaffolder.rb:107:in `block in run'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/bullet_train/super_scaffolding/scaffolders/oauth_provider_scaffolder.rb:103:in `each'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/bullet_train/super_scaffolding/scaffolders/oauth_provider_scaffolder.rb:103:in `run'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/scaffolding/script.rb:99:in `<main>'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/bullet_train/super_scaffolding.rb:25:in `run'
/home/[...]/.rvm/gems/ruby-3.1.1/gems/bullet_train-super_scaffolding-1.0.21/lib/tasks/bullet_train/super_scaffolding_tasks.rake:10:in `block (2 levels) in <main>'
Tasks: TOP => bullet_train:super_scaffolding
(See full trace by running task with --trace)
Quick research shows that it's hardcoded check:
https://github.com/bullet-train-co/bullet_train-super_scaffolding/blob/f303a15b3815ece82fc683b9a81607631ffcfb00/lib/bullet_train/super_scaffolding/scaffolders/oauth_provider_scaffolder.rb#L80
Trying to generate stripe provider fails due to collision caused by files (and integration) already existing inside [email protected]
.
➜ application git:(main) ✗ bin/super-scaffold oauth-provider omniauth-stripe-connect stripe_connect Oauth::StripeAccount [...] [...] --icon=ti-money
🚨 Before doing the actual Super Scaffolding, you'll need to generate the models like so:
rails g model Oauth::StripeAccount uid:string data:jsonb user:references
rails g model Integrations::StripeInstallation team:references oauth_stripe_account:references name:string
rails g model Webhooks::Incoming::Oauth::StripeAccountWebhook data:jsonb processed_at:datetime verified_at:datetime oauth_stripe_account:references
However, don't do the `rake db:migrate` until after you re-run Super Scaffolding, as it will need to update some settings in those migrations.
➜ application git:(main) ✗ rails g model Oauth::StripeAccount uid:string data:jsonb user:references
invoke active_record
The name 'Oauth::StripeAccount' is either already used in your application or reserved by Ruby on Rails. Please choose an alternative or use --skip-collision-check or --force to skip this check and run this generator again.
➜ application git:(main) ✗ rails g model Integrations::StripeInstallation team:references oauth_stripe_account:references name:string
invoke active_record
The name 'Integrations::StripeInstallation' is either already used in your application or reserved by Ruby on Rails. Please choose an alternative or use --skip-collision-check or --force to skip this check and run this generator again.
➜ application git:(main) ✗ rails g model Webhooks::Incoming::Oauth::StripeAccountWebhook data:jsonb processed_at:datetime verified_at:datetime oauth_stripe_account:references
invoke active_record
The name 'Webhooks::Incoming::Oauth::StripeAccountWebhook' is either already used in your application or reserved by Ruby on Rails. Please choose an alternative or use --skip-collision-check or --force to skip this check and run this generator again.
I believe that bullet_train-super_scaffolding
should check files located in bullet_train-integrations-stripe
instead of project ones, and it should ignore these files if bullet_train-integrations-stripe
is not present in project (or is it required dependency?).
@leenyburger had this working for her workshop at RailsConf. Would love to make the same option available for vanilla Bullet Train projects.
It's my own fault, but I just got a $150 Heroku bill because I tried the Deploy To Heroku button then forgot about it 😭
Currently, the use of Stimulus is bizarre in the BT starter repo:
@hotwired/stimulus
with version ^3.0.1
(see package.json
)app/javascript/controllers/index.js
references the stimulus
package (which is at ^2.0
)@hotwired/stimulus
nor stimulus
in its package.json
!Two questions:
package.json
?@hotwired/stimulus
3.0?With clean copy of repository bin/configure
shows an mv
error caused by invalid filename.
[...]
Moving `./README.md.example` to `./README.md`.
mv: cannot stat './README.md.example': No such file or directory
[...]
Issue is caused by name typo as the file is named README.example.md
, not README.md.example
.
% bin/resolve devise/shared/oauth
Absolute path:
/Users/andrewculver/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bullet_train-1.0.50/app/views/devise/shared/_oauth.html.erb --><!-- END /Users/andrewculver/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bullet_train-1.0.50/app/views/devise/shared/_oauth.html.erb --><!-- END /Users/andrewculver/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bullet_train-1.0.50/app/views/bullet_train/partial_resolver.html.erb
Package name:
3.1.1
It shouldn't return -->
or any of the stuff after that.
See #140 for context. If the db schema check is failing, we should output the diff so it's easier to see what's happening in CI.
config/models/roles.yml
default:
models:
Task: read
Event: read
Event: read
...
admin:
...
models:
Task: manage
Event: manage
Event: manage
...
It seems to be associated with the word "Event".
This will allow GitHub to display a 'Use This Template' button:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.