12/3/2023 0 Comments Homebrew install ruby version![]() ![]() rbenv Your Ruby version is 2.0.0, but your Gemfile specified 2.1.Your Ruby version is 2.5.1 but your Gemfile specified 2.4.0.To do this on macOS, this tutorial will use the package manager Homebrew. How to fix "Your Ruby version is 2.3.0, but your Gemfile specified 2.2.5" while server starting Step 1 Installing rbenv In this step, you will install rbenv and make sure that it starts automatically at boot. ![]() However, I have no idea which caused 'Failed to install Homebrew Portable Ruby (and your system version is too old)'. please check it and help me to suggest the way to solved.Īll of the resourses are mentioned below which I have follwed to solved this issues but i didn't solve it. After running 'brew config', 'portable-ruby-2.6.8.' had downloaded with VPN, sha256 verification also passed. CocoaPods in fixed location( pod version: 1.11.3): sudo gem install -n /usr/local/bin ffi cocoapodsĪfter successfully installed all of the aboves I was going to create react-native app using npx react-native init AwesomeProject comand and faced Your Ruby version is 2.6.8, but your Gemfile specified 2.7.5 error is also given in attached file.Install CocoaPods( gem version: 3.0.3.1): sudo gem install cocoapods Install rbenv using Homebrew (It should be noted that RVM and rbenv do not play nice together.Install Ruby( version: 2.6.8p205): brew install ruby.fastlane supports Ruby versions 2.5 or newer. For macOS and Linux, rbenv is one of the most popular ways to manage your Ruby environment. If the version installed works for you, skip the rest of this step and go to the next one on how to configure rbenv. There is a variety of ways to install Ruby without having to modify your system environment. Depending on when you read this, your version could be different. watchman install( Version: 2022.10.24.00): brew install watchman Last login: Fri Feb 22 17:20:40 on ttys000 MacBook-Air: andrew brew install ruby Error: ruby-1.9.3-p385 already installed To install this version, first brew unlink ruby MacBook-Air: andrew ruby -v ruby 1.8.7 ( patchlevel 358) universal-darwin11. By installing rbenv via Homebrew, you should have a version of ruby installed.Homebrew install( Version: 3.6.7 ): /bin/bash -c "$(curl -fsSL )".Operating System macOS(Monterey) version: 12.6įollowed some instructions to setup react-native environment in my devices using bellow steps are mentioned:.In any case, uninstalling capstone (by also uninstalling bloaty) and then building Ruby allowed me to build Ruby 3.1.0, and I was able to reinstall bloaty afterwards. HOMEBREWINSTALLFROMAPI is a new opt-in flag to install formulae and casks in homebrew/core and homebrew/cask taps using Homebrew’s API instead of needing the (large, slow) local checkouts of these repositories. I dont know why the configure script was able to find capstone on my system, but gcc was not able to find it when building Ruby file-by-file. I wanted to run rails server but got the Message: No preset version ins. I have installed v16.18.0) in macOS and npm version: 8.19.2. Monterey ships with Ruby 2.6.8 so we’ve released and use Portable Ruby 2.6.8. I recently wanted to install a different Version of ruby and Rails on MacOS Big Sur 11.5 Beta. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |