rbenv

OpenSSL error installing ruby 2.0.0-p195 on Mac with rbenv

一世执手 提交于 2019-12-02 23:06:12
I'm trying to install Ruby 2.0.0-p195 using rbenv on a Mac (Mountain Lion) and got this error. BUILD FAILED Inspect or clean up the working tree at /var/folders/vt/27n8h2yj27v7rzq58075f3_m0000gn/T/ruby-build.20130618163859.1669 Results logged to /var/folders/vt/27n8h2yj27v7rzq58075f3_m0000gn/T/ruby-build.20130618163859.1669.log Last 10 log lines: installing default gems: /Users/me/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0 (build_info, cache, doc, gems, specifications) bigdecimal 1.2.0 io-console 0.4.2 json 1.7.7 minitest 4.3.2 psych 2.0.0 rake 0.9.6 rdoc 4.0.0 test-unit 2.0.0.0 The Ruby

rbenv build failed on Ubuntu 14.04

北慕城南 提交于 2019-12-02 20:29:06
I've successfully installed rbenv (along with the build tools) on my Ubuntu 14.04 desktop, and that appears to be working fine, but as soon as I try to install ruby 2.1.1, the build fails: daniel@grape:~$ rbenv install 2.1.1 Downloading yaml-0.1.6.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/5fe00cda18ca5daeb43762b80c38e06e Installing yaml-0.1.6... Installed yaml-0.1.6 to /home/daniel/.rbenv/versions/2.1.1 Downloading ruby-2.1.1.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/e57fdbb8ed56e70c43f39c79da1654b2 Installing ruby-2.1.1... BUILD FAILED Inspect or clean up the working tree at

rails rbenv: rails: command not found

╄→гoц情女王★ 提交于 2019-12-02 18:41:22
I have recently moved from RVM to Rbenv and when attempting to execute rails I am getting an error like the one below Pauls-Air:~ $ rails rbenv: rails: command not found The `rails' command exists in these Ruby versions: 2.1.2 After installing a gem via the command line in a ruby version you have to execute rbenv rehash as described in the docs here and here For example: $ rbenv install 2.2.0 $ gem install bundler $ rbenv rehash $ gem install rails $ rbenv rehash You need to install Rails for each Ruby version within rbenv . Try running rbenv version , I might expect that 2.1.2 is not the ruby

uninstall ruby version from rbenv

岁酱吖の 提交于 2019-12-02 16:27:44
How to uninstall or remove ruby version from rbenv. I have installed two versions of ruby. While switching to ruby 1.9.3, I am getting segmentation fault. Can anyone please help, how to remove a particular version from rbenv? Sam Stephenson New way Use the uninstall command: rbenv uninstall [-f|--force] <version> rbenv uninstall 2.1.0 # Uninstall Ruby 2.1.0 Use rbenv versions to see which versions you have installed. Old way To remove a Ruby version from rbenv, delete the corresponding directory in ~/.rbenv/versions . E.g. rm -rf ~/.rbenv/versions/1.9.3-p0 Run rbenv rehash afterwards to clean

Ruby version not in ruby-build list for rbenv

瘦欲@ 提交于 2019-12-02 08:56:32
问题 I'm using Rails 4.2 and wanted to update my Ruby version as well with rbenv. I used Homebrew to install ruby-build and no matter how many times I try to update via brew , Ruby version 2.1.3 won't show when I run rbenv install --list . 回答1: If you installed rbenv and ruby-build with homebrew and when you do echo $(rbenv root) , you get /usr/local/var/rbenv instead of /Users/<username>/.rbenv , here is how to fix the issue. When you install rbenv with homebrew, homebrew says: To use Homebrew's

rbenv install - executable host ruby is required

我只是一个虾纸丫 提交于 2019-12-02 03:44:05
问题 I am trying to install ruby 2.2.0-dev using rbenv into my Ubuntu 13.10 development laptop. I have removed all previous ruby and gem installations. Now, when I try to install ruby I get the following error. mark@Inspiron-1564:~/.rbenv$ rbenv install 2.2.0-dev Cloning https://github.com/ruby/ruby.git... Installing ruby-2.2.0-dev... BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build.20140119161217.4141 Results logged to /tmp/ruby-build.20140119161217.4141.log Last 10 log lines:

rbenv install - executable host ruby is required

十年热恋 提交于 2019-12-02 01:50:50
I am trying to install ruby 2.2.0-dev using rbenv into my Ubuntu 13.10 development laptop. I have removed all previous ruby and gem installations. Now, when I try to install ruby I get the following error. mark@Inspiron-1564:~/.rbenv$ rbenv install 2.2.0-dev Cloning https://github.com/ruby/ruby.git... Installing ruby-2.2.0-dev... BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build.20140119161217.4141 Results logged to /tmp/ruby-build.20140119161217.4141.log Last 10 log lines: /tmp/ruby-build.20140119161217.4141 ~/.rbenv Cloning into 'ruby-2.2.0-dev'... Checking connectivity...

Gems not in Local Gems after bundle install

别来无恙 提交于 2019-12-02 00:29:55
问题 New machine. New rbenv install. New rbenv-gemset install. New ruby-2.0.0 install. New rails 4.0.0 app. When I $ bundle install from the rails app directory, I get Your bundle is complete! It was installed into ./vendor/bundle But, if I then $ gem list none of the gems that were supposedly installed show up. I have run $ rbenv rehash Why could this be? Additional info: $ which bundle /usr/local/var/rbenv/shims/bundle $ rbenv which bundle /usr/local/var/rbenv/versions/2.0.0-p247/bin/bundle $

Gems not in Local Gems after bundle install

时光怂恿深爱的人放手 提交于 2019-12-01 21:24:16
New machine. New rbenv install. New rbenv-gemset install. New ruby-2.0.0 install. New rails 4.0.0 app. When I $ bundle install from the rails app directory, I get Your bundle is complete! It was installed into ./vendor/bundle But, if I then $ gem list none of the gems that were supposedly installed show up. I have run $ rbenv rehash Why could this be? Additional info: $ which bundle /usr/local/var/rbenv/shims/bundle $ rbenv which bundle /usr/local/var/rbenv/versions/2.0.0-p247/bin/bundle $ rbenv which ruby /usr/local/var/rbenv/versions/2.0.0-p247/bin/ruby $ ruby --version ruby 2.0.0p247 (2013

gem install debugger -v '1.5.0' fails

前提是你 提交于 2019-12-01 20:09:43
I am trying to do bundle in the large project on Mavericks and some gems are broken or something wrong with my environment in spite of this is fresh install of rbenv. $ gem install debugger -v '1.5.0' Building native extensions. This could take a while... ERROR: Error installing debugger: ERROR: Failed to build gem native extension. /Users/samat/.rbenv/versions/1.9.3-p448/bin/ruby extconf.rb checking for rb_method_entry_t.called_id in method.h... no checking for rb_control_frame_t.method_id in method.h... no checking for rb_method_entry_t.called_id in method.h... no checking for rb_control