chruby

Ignoring GEM because its extensions are not built

最后都变了- 提交于 2019-12-17 15:08:16
问题 On both my work and home computers, I recently upgraded Ruby to 2.3.1, using ruby-install . I use chruby as my Ruby switcher. I started seeing this warning in my terminal: Ignoring bcrypt-3.1.11 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.11 Ignoring bcrypt-3.1.10 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.10 Ignoring binding_of_caller-0.7.2 because its extensions are not built. Try: gem pristine binding_of_caller --version 0

How can I get bundler to use the Ruby version set by chruby and .ruby-version?

不羁岁月 提交于 2019-12-13 03:58:49
问题 I have the pleasure of setting up a development environment for an application running Ruby 1.8.7. Unfortunately bundler is not using the version of Ruby set in .ruby-version by chruby . Also, I have ruby "1.8.7" included in the Gemfile Whereas the local version is ruby-1.8.7-p374 , the bundler environment is using ruby-2.5.0p0 . $ ruby -v ruby 1.8.7 (2013-06-27 patchlevel 374) [i686-darwin17.3.0] $ bundle env | grep Ruby Ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17] This results

How to set correct Ruby version in gem environment

这一生的挚爱 提交于 2019-12-02 00:04:06
问题 Note: This question relates to How can I get bundler to use the Ruby version set by chruby and .ruby-version?. Using chruby I have Ruby 1.8.7 installed on macOS: $ ruby -v ruby 1.8.7 (2013-06-27 patchlevel 374) [i686-darwin17.4.0] Also, I have used gem update --system 1.8.30 to install a specific version of RubyGems which I am hoping is compatible. This would appear to be installed properly: $ gem --version 1.8.30 However, my RubyGems environment shows the incorrect version of Ruby (2.5.0): $

How to set correct Ruby version in gem environment

梦想与她 提交于 2019-12-01 20:33:27
Note: This question relates to How can I get bundler to use the Ruby version set by chruby and .ruby-version? . Using chruby I have Ruby 1.8.7 installed on macOS: $ ruby -v ruby 1.8.7 (2013-06-27 patchlevel 374) [i686-darwin17.4.0] Also, I have used gem update --system 1.8.30 to install a specific version of RubyGems which I am hoping is compatible. This would appear to be installed properly: $ gem --version 1.8.30 However, my RubyGems environment shows the incorrect version of Ruby (2.5.0): $ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.8.30 - RUBY VERSION: 2.5.0 (2017-12-25 patchlevel

What are the differences between rbenv, rvm, and chruby? [closed]

倖福魔咒の 提交于 2019-11-29 22:46:54
I'm new-ish to Ruby and Rails. I am looking for a purely objective list of features and advantages/disadvantages of each. In an effort to keep preference out of this, please refrain from answering unless you have used all 3 systems. There's three main options available today: rvm which is the most established, but also the most intrusive in terms of shell modifications. rbenv which is lower impact, and still works as well. chruby which purports to be even lighter than rbenv . Personally I prefer rbenv because it works well with Homebrew and doesn't mangle the shell environment as much, but

What are the differences between rbenv, rvm, and chruby? [closed]

走远了吗. 提交于 2019-11-28 19:28:35
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I'm new-ish to Ruby and Rails. I am looking for a purely objective list of features and advantages/disadvantages of each. In an effort to keep preference out of this, please refrain from answering unless you have used all 3 systems. 回答1: There's three main options available

Ignoring GEM because its extensions are not built

浪子不回头ぞ 提交于 2019-11-27 17:04:17
On both my work and home computers, I recently upgraded Ruby to 2.3.1, using ruby-install . I use chruby as my Ruby switcher. I started seeing this warning in my terminal: Ignoring bcrypt-3.1.11 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.11 Ignoring bcrypt-3.1.10 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.10 Ignoring binding_of_caller-0.7.2 because its extensions are not built. Try: gem pristine binding_of_caller --version 0.7.2 Ignoring byebug-9.0.5 because its extensions are not built. Try: gem pristine byebug --version 9.0