Hey Rubys,
I ran it on the directory you specified and got the following error.
sumoncule@bhaswardweeps-MacBook-Air Flyhire % cd 64363
sumoncule@bhaswardweeps-MacBook-Air 64363 % fly launch
Creating app in /Users/sumoncule/Flyhire/64363
Scanning source code
Your Ruby version is 2.6.8, but your Gemfile specified 3.1.2
Error: Failed to install bundle, exiting: exit status 18
Tried to update the ruby version and also installed bundler but again getting errors. Please help.
sumoncule@bhaswardweeps-MacBook-Air 64363 % rbenv install 3.1.2
To follow progress, use ‘tail -f /var/folders/2w/4vxhb7_s4kjbyvw7_lbghyvw0000gn/T/ruby-build.20230816214350.58071.log’ or pass --verbose
Downloading openssl-3.1.0.tar.gz…
→ https://dqw8nmjcqpjn7.cloudfront.net/aaa925ad9828745c4cad9d9efeb273deca820f2cdcf2c3ac7d7c1212b7c497b4
Installing openssl-3.1.0…
Installed openssl-3.1.0 to /Users/sumoncule/.rbenv/versions/3.1.2
Downloading ruby-3.1.2.tar.gz…
→ https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.2.tar.gz
Installing ruby-3.1.2…
ruby-build: using readline from homebrew
ruby-build: using libyaml from homebrew
Installed ruby-3.1.2 to /Users/sumoncule/.rbenv/versions/3.1.2
**sumoncule@bhaswardweeps-MacBook-Air 64363 % fly launch **
Creating app in /Users/sumoncule/Flyhire/64363
Scanning source code
Your Ruby version is 2.6.8, but your Gemfile specified 3.1.2
Error: Failed to install bundle, exiting: exit status 18
**sumoncule@bhaswardweeps-MacBook-Air 64363 % rbenv local 3.1.2 **
**sumoncule@bhaswardweeps-MacBook-Air 64363 % fly launch **
Creating app in /Users/sumoncule/Flyhire/64363
Scanning source code
Your Ruby version is 2.6.8, but your Gemfile specified 3.1.2
Error: Failed to install bundle, exiting: exit status 18
sumoncule@bhaswardweeps-MacBook-Air 64363 % gem install bundler
bundle install
Fetching bundler-2.4.18.gem
ERROR: While executing gem … (Gem::FilePermissionError)
** You don’t have write permissions for the /Library/Ruby/Gems/2.6.0 directory.**
Your Ruby version is 2.6.8, but your Gemfile specified 3.1.2
**sumoncule@bhaswardweeps-MacBook-Air 64363 % rbenv global 3.1.2 **
sumoncule@bhaswardweeps-MacBook-Air 64363 % gem install bundler
bundle install
ERROR: While executing gem … (Gem::FilePermissionError)
** You don’t have write permissions for the /Library/Ruby/Gems/2.6.0 directory.**
Your Ruby version is 2.6.8, but your Gemfile specified 3.1.2
sumoncule@bhaswardweeps-MacBook-Air 64363 %