rvm

Why do I get a requirements error when trying to install Ruby with RVM?

半城伤御伤魂 提交于 2019-12-11 09:45:22
问题 I would like to install Ruby 2.0 with RVM on my Ubuntu system and get an error message: rvm 1.23.5 (master) ubuntu 12.04 (LTS) **---- Error message: -------** rvm install 2.0.0 Searching for binary rubies, this might take some time. Checking requirements for ubuntu. Installing requirements for ubuntu. Updating system..................................................................................................................................... Error running 'requirements_debian_update

How do I generate documentation using rvm after a reinstall?

浪尽此生 提交于 2019-12-11 09:31:45
问题 I installed RVM as per the instructions on http://rvm.io. Here's what I've done: rvm list : rvm rubies =* ruby-1.9.3-p194 [ x86_64 ] # => - current # =* - current && default # * - default Followed by a ruby -v : ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0] And then a rvm docs generate : Currently 'rvm docs ...' does not work with non-rvm rubies. I then tried rvm reinstall 1.9.3 && rvm docs generate . This resulted in the rvm giving me the above error. How do I generate

My install of RVM on a Ubuntu 8.04.4 machine fails. Should I install it as multi-user instead?

独自空忆成欢 提交于 2019-12-11 09:25:38
问题 I am currently attempting to install RVM on an Ubuntu server using version 8.04.4. At the moment I am a attempting a single user install. I am the only person who administers this machine and I am still pretty noobish at this. I am currently following he installations guide on the RVM site and added the 'k' flag to the curl command. The complaints about the certificate still do not go away. $ bash -s stable < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

RVM Ruby 1.9.3 Errors in Mac 10.8.2

你说的曾经没有我的故事 提交于 2019-12-11 09:09:53
问题 I am trying to install Ruby using RVM in Mountain Lion and keep on getting errors while running make, even when I do so with gcc=clang (as is the recommended solution on other posts). I have XCode updated with command line utilities installed. The make.log reads [2013-02-18 17:37:00] make CC = clang LD = ld LDSHARED = clang -dynamic -bundle CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write

Gem::LoadError: Could not find rubygems-bundler (>= 0) amongst []

♀尐吖头ヾ 提交于 2019-12-11 08:36:12
问题 I'm running rvm with ruby 1.9.3. I've ran bundle install and it worked fine. But when I run bundle install --deployment I get this: volunteer-app ➜ bundle install --deployment Fetching gem metadata from http://rubygems.org/....... Installing rake (0.9.2.2) Gem::LoadError: Could not find rubygems-bundler (>= 0) amongst [] An error occured while installing rake (0.9.2.2), and Bundler cannot continue. Make sure that `gem install rake -v '0.9.2.2'` succeeds before bundling. After this is ran I

Installing Ruby 2.3.1 on Mojave OSX with rbenv or rvm

吃可爱长大的小学妹 提交于 2019-12-11 08:34:49
问题 First off I am on OSX Mojave 10.14, I have previously upgraded it from 10.13. I bought it new with 10.13. I am trying to follow this tutorial: https://scotch.io/tutorials/build-a-restful-json-api-with-rails-5-part-one I want to make sure that I have the same environment setup using the same version of rails and ruby. When I try to use rbenv to change my version of ruby (currently 2.6.1) to 2.3.1 I use the following command: rbenv install 2.3.1 And I get the following error: file.c:23:10:

/usr/bin/env: ruby1.8: No such file or directory

旧街凉风 提交于 2019-12-11 08:32:44
问题 I have installed ruby 1.9.3 and now when I want to start "rails server" on a project I get this error: /usr/bin/env: ruby1.8: No such file or directory I saw in some posts that I have to change PATH of something but I don't know how to do that. I am new in linux. echo $PATH: ~/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin‌​:/sbin:/bin:/usr/games:/home/mordehai/.rvm/bin:/home/mordehai/.rvm/bin I installed few times with "sudo apt-get install ruby1.9.3, and with

Jekyll serve error: can't find gem jekyll (>= 0.a) (Gem::GemNotFoundException

我与影子孤独终老i 提交于 2019-12-11 07:29:50
问题 When doing sudo jekyll serve I get the following error: Users/myusername/.rvm/rubies/ruby-2.4.2/lib/ruby/site_ruby/2.4.0/rubygems.rb:271:in 'find_spec_for_exe': can't find gem jekyll (>= 0.a) (Gem::GemNotFoundException) from /Users/myusername/.rvm/rubies/ruby-2.4.2/lib/ruby/site_ruby/2.4.0/rubygems.rb:299:in 'activate_bin_path' from /Users/myusername/.rvm/gems/ruby-2.4.2/bin/jekyll:23:in '<main>' from /Users/myusername/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in 'eval' from /Users

rvm pkg install openssl

自作多情 提交于 2019-12-11 07:17:41
问题 I tried to install openssl but when it says: it's required to reinstall all rubies: rvm reinstall all --force rvm reinstall ruby-2.0.0-p0 --with-gcc=gcc-4.7 --with-openssl-dir=$rvm_path/usr After I run the above line I get You requested building with 'gcc-4.7' but it is not in your path. I have xcode already installed which I thought has gcc already installed. Anyone know any answers to this. 回答1: As you said in the comments, you ran which gcc-4.7 and it returned nothing. This confirms what

I cant load Ruby Gems

Deadly 提交于 2019-12-11 07:16:15
问题 i am getting this error whenever i try to load a ruby gem /home/hilarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- twit ter (LoadError) from /home/hilarl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from sample.rb:2:in `<main>' can you please help? 回答1: You missed to use a ruby, in normal console first run: rvm use 1.9.3 If it's in a script then instead use