You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went through, attempting to update it, but got stuck trying to get libv8 (the ruby gem install). This is an an M1 mac, and the updated readme (up to where I got stuck), in case that's helpful, is:
# run this and follow the printed instructions to get ruby env set up:
rbenv init
# Install the ruby version
rbenv local
# Move out of and into directory (maybe not needed)
cd .. && cd bottlenose
# Install Ruby's package manager "Bundler".
gem install bundler
# Install ruby distribution of V8
bundle install libv8 # (DOES NOT WORK!)
# Install Bottlenose's dependencies.
# (from the bottlenose directory checked out from git)
bundle install
The actual error ends with:
Subprocess failed with return code 2.
/Users/dbp/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:83:in `block in setup_build_deps!': unable to fetch v8 source (RuntimeError)```
Which from a tiny bit of tracking down, seems to be a semi-recurring problem if there isn't a platform install of this. Maybe there is a way to build it outside of ruby and get the gem to use it? I dunno. I didn't have a ton of time to spend getting this set up, and I've used it up :(
The text was updated successfully, but these errors were encountered:
I went through, attempting to update it, but got stuck trying to get libv8 (the ruby gem install). This is an an M1 mac, and the updated readme (up to where I got stuck), in case that's helpful, is:
Homebrew
Postgres
If you run into authentication trouble later, you may need to modify
the pg_hba.conf in /etc/postgres/.../ to allow local ident auth.
Ruby
Best practice for Ruby in development is to use a version manager like rvm or rbenv. Once you have the correct version [installed] (https://github.com/rbenv/rbenv#homebrew-on-macos)
The actual error ends with:
The text was updated successfully, but these errors were encountered: