rbenv

Bundler using wrong Ruby version

走远了吗. 提交于 2021-02-19 16:10:36
问题 When I try to start my Rails server, I get the following error: $ bundle exec rails s Your Ruby version is 2.3.7, but your Gemfile specified ~> 2.3.8 I don't understand why that happens though, since I set Ruby to 2.3.8 both using Homebrew and using rbenv. 2.3.7 is the version of the system's ruby. I am using Mac OS 10.14.4. $ ruby -v ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18] $ rbenv version 2.3.8 (set by /Users/ceasar/foo/.ruby-version) $ which -a ruby /Users/ceasar/.rbenv

Bundler using wrong Ruby version

一曲冷凌霜 提交于 2021-02-19 16:08:38
问题 When I try to start my Rails server, I get the following error: $ bundle exec rails s Your Ruby version is 2.3.7, but your Gemfile specified ~> 2.3.8 I don't understand why that happens though, since I set Ruby to 2.3.8 both using Homebrew and using rbenv. 2.3.7 is the version of the system's ruby. I am using Mac OS 10.14.4. $ ruby -v ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18] $ rbenv version 2.3.8 (set by /Users/ceasar/foo/.ruby-version) $ which -a ruby /Users/ceasar/.rbenv

Bundler using wrong Ruby version

一世执手 提交于 2021-02-19 16:06:37
问题 When I try to start my Rails server, I get the following error: $ bundle exec rails s Your Ruby version is 2.3.7, but your Gemfile specified ~> 2.3.8 I don't understand why that happens though, since I set Ruby to 2.3.8 both using Homebrew and using rbenv. 2.3.7 is the version of the system's ruby. I am using Mac OS 10.14.4. $ ruby -v ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18] $ rbenv version 2.3.8 (set by /Users/ceasar/foo/.ruby-version) $ which -a ruby /Users/ceasar/.rbenv

Bundler using wrong Ruby version

不羁的心 提交于 2021-02-19 16:06:26
问题 When I try to start my Rails server, I get the following error: $ bundle exec rails s Your Ruby version is 2.3.7, but your Gemfile specified ~> 2.3.8 I don't understand why that happens though, since I set Ruby to 2.3.8 both using Homebrew and using rbenv. 2.3.7 is the version of the system's ruby. I am using Mac OS 10.14.4. $ ruby -v ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18] $ rbenv version 2.3.8 (set by /Users/ceasar/foo/.ruby-version) $ which -a ruby /Users/ceasar/.rbenv

Bundler using wrong Ruby version

本秂侑毒 提交于 2021-02-19 16:04:54
问题 When I try to start my Rails server, I get the following error: $ bundle exec rails s Your Ruby version is 2.3.7, but your Gemfile specified ~> 2.3.8 I don't understand why that happens though, since I set Ruby to 2.3.8 both using Homebrew and using rbenv. 2.3.7 is the version of the system's ruby. I am using Mac OS 10.14.4. $ ruby -v ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18] $ rbenv version 2.3.8 (set by /Users/ceasar/foo/.ruby-version) $ which -a ruby /Users/ceasar/.rbenv

Why rbenv does not work on Mac OS Catalina

余生颓废 提交于 2021-02-19 07:14:40
问题 I'm trying to run a Ruby on Rails project which has the version 2.4.1 and my system is 2.6.x . What I did was install via Rbenv the old version of Ruby then I did the following commands: rbenv global 2.4.1 -> to change global Ruby version ruby -v ruby 2.6.5p114 rbenv global 2.4.1 So there is something wrong as I would like to use 2.4.1 but seems not working that. I'm unable to start the bundle as it is saying I don't have 2.4.1 installed. I need a solution to Mac OS Catalina as I did as I

Why rbenv does not work on Mac OS Catalina

牧云@^-^@ 提交于 2021-02-19 07:14:37
问题 I'm trying to run a Ruby on Rails project which has the version 2.4.1 and my system is 2.6.x . What I did was install via Rbenv the old version of Ruby then I did the following commands: rbenv global 2.4.1 -> to change global Ruby version ruby -v ruby 2.6.5p114 rbenv global 2.4.1 So there is something wrong as I would like to use 2.4.1 but seems not working that. I'm unable to start the bundle as it is saying I don't have 2.4.1 installed. I need a solution to Mac OS Catalina as I did as I

Why rbenv does not work on Mac OS Catalina

不羁岁月 提交于 2021-02-19 07:14:25
问题 I'm trying to run a Ruby on Rails project which has the version 2.4.1 and my system is 2.6.x . What I did was install via Rbenv the old version of Ruby then I did the following commands: rbenv global 2.4.1 -> to change global Ruby version ruby -v ruby 2.6.5p114 rbenv global 2.4.1 So there is something wrong as I would like to use 2.4.1 but seems not working that. I'm unable to start the bundle as it is saying I don't have 2.4.1 installed. I need a solution to Mac OS Catalina as I did as I

Ruby install aborted due to missing extensions: openssl, readline, zlib compilation error

别等时光非礼了梦想. 提交于 2021-02-18 18:51:02
问题 I'm using macOs Catalina. I'm trying to install older version of Ruby (1.9.3, 2.1.2) via rbenv. However, I keep getting the errors below, when trying installing older version. *It was fine when installing 2.4 or newer. I already try brew install openssl brew install readline brew install zlib as well as brew update. I have everything installed and up-to-dated but still the errors below keeps coming up. I also did tried to install with configure option RUBY_CONFIGURE_OPTS="--with-readline-dir=

Ruby install aborted due to missing extensions: openssl, readline, zlib compilation error

僤鯓⒐⒋嵵緔 提交于 2021-02-18 18:50:54
问题 I'm using macOs Catalina. I'm trying to install older version of Ruby (1.9.3, 2.1.2) via rbenv. However, I keep getting the errors below, when trying installing older version. *It was fine when installing 2.4 or newer. I already try brew install openssl brew install readline brew install zlib as well as brew update. I have everything installed and up-to-dated but still the errors below keeps coming up. I also did tried to install with configure option RUBY_CONFIGURE_OPTS="--with-readline-dir=