Open ndbroadbent opened 5 months ago
I fixed the vips issue by running brew install vips
. yarn check
is still failing with errors but it doesn't seem to prevent the bin/setup
script from continuing. Next I got up to this redis-cli
crash:
Rebuilding...
Done in 461ms.
✨ Done in 11.42s.
yarn run v1.22.19
$ THEME="light" NODE_PATH=./node_modules tailwindcss -c tailwind.config.js -i ./app/assets/stylesheets/application.css -o ./app/assets/builds/application.light.css --postcss ./postcss.config.js
Rebuilding...
Done in 1102ms.
✨ Done in 3.15s.
== Preparing database ==
Created database 'influxdb_api_connector_development'
Created database 'influxdb_api_connector_test'
🌱 Generating global seeds.
🌱 Generating development environment seeds.
== Removing old logs and tempfiles ==
== Copying `config/application.yml.example` to `config/application.yml`. ==
== Checking Redis connection ==
bin/setup:71:in ``': No such file or directory - redis-cli (Errno::ENOENT)
from bin/setup:71:in `block in <main>'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/fileutils.rb:240:in `chdir'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/fileutils.rb:240:in `cd'
from bin/setup:24:in `<main>'
That was my own fault for not running brew link redis@6.2
earlier, since I hadn't needed the redis-cli
command before. So I ran that.
Rebuilding...
Done in 1101ms.
✨ Done in 3.15s.
== Preparing database ==
== Removing old logs and tempfiles ==
== Copying `config/application.yml.example` to `config/application.yml`. ==
`config/application.yml` already exists!
== Checking Redis connection ==
You are connected to 1 server.
You're set! Now you can run bin/dev to boot your server and access your new application.
bin/dev
works well and I can access localhost:3000
. I looked through the docs, README, and bin/setup
logs to find the default username/password, but I couldn't find it anywhere. It took me a while to realize that I needed to click "Don't have an account?" and create a new account from the web UI.
Anyway, I'm all set! Thanks!
I'm going to re-open this so we can make this process smoother. Thanks for the report @ndbroadbent.
had the same issue.
equipment:
repro steps:
bin/setup
bin/dev
expected: running
actual: crash
14:39:07 web.1 | started with pid 10309
14:39:07 worker.1 | started with pid 10310
14:39:07 js.1 | started with pid 10311
14:39:07 light-css.1 | started with pid 10312
14:39:07 light-mailer-css.1 | started with pid 10313
14:39:07 web.1 | /Users/andrewnjoo/.rvm/gems/ruby-3.2.1/gems/ffi-1.17.0-arm64-darwin/lib/ffi/dynamic_library.rb:94:in `load_library': Could not open library 'vips.42': dlopen(vips.42, 0x0005): tried: 'vips.42' (no such file), '/System/Volumes/Preboot/Cryptexes/OSvips.42' (no such file), '/usr/lib/vips.42' (no such file, not in dyld cache), 'vips.42' (no such file), '/usr/local/lib/vips.42' (no such file), '/usr/lib/vips.42' (no such file, not in dyld cache). (LoadError)
14:39:07 web.1 | Could not open library 'libvips.42.dylib': dlopen(libvips.42.dylib, 0x0005): tried: 'libvips.42.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibvips.42.dylib' (no such file), '/usr/lib/libvips.42.dylib' (no such file, not in dyld cache), 'libvips.42.dylib' (no such file), '/usr/local/lib/libvips.42.dylib' (no such file), '/usr/lib/libvips.42.dylib' (no such file, not in dyld cache).
also had to run these commands to run app
bin/rails db:create
bin/rails db:migrate
Hello, I'm trying out Bullet Train but running into a crash on the initial bin/setup run. I followed the instructions in the README and
bin/configure
worked well, but I get this crash onbin/setup
:I'm on a M2 MacBook Pro, and I use Mise to manage my Ruby and Node versions. I use Postgres.app to run multiple Postgres versions, so I skipped the postgres warning:
I also have a specific version of Redis installed via Homebrew (
redis@6.2
), so I skipped that warning as well:Otherwise everything seemed to run fine until the
bin/setup
step.Thanks for your help!