rvm

Rspec bundle is broken in TextMate and rvm

吃可爱长大的小学妹 提交于 2019-12-12 08:43:45
问题 I've had a difficult time since I started using rvm. I've done all the rvm/textmate set up and have the latest bundles but I still can't run Rspec test from textmate . I have the latest bundle from github.com/rspec/rspec-tmbundle.git and it's installed in ~/Library/Application\ Support/TextMate/Bundles/ RSpec.tmbundle RVM default is using the system ruby 1.8.6 Rspec gem versions gem list --local | grep spec blue_light_special (0.2.0) rspec (2.2.0) rspec-core (2.2.1, 2.0.1) rspec-expectations

What does “No binary rubies available” mean?

给你一囗甜甜゛ 提交于 2019-12-12 08:36:29
问题 Whenever I use rvm install x.x.x , I get this warning even in successful installation: No binary rubies available for: osx/10.12/x86_64/ruby-2.4.0. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. I tried to read rvm help mount , but it was beyond the scope of my knowledge. Can someone explain this warning in simple English? Thanks! 回答1: When installing new Rubies, RVM first tries to use a pre-compiled version it downloads from https://rvm_io

Made a mistake installing RVM with sudo. How to reverse?

末鹿安然 提交于 2019-12-12 08:16:28
问题 I am new to Rails and Linux and have installed RVM with sudo. sudo bash -s stable < <(curl -s https://raw.github/wayneeseguin/rvm/master/binscripts/rvm-installer) Now I have to run most commands (like spork) with 'rvmsudo'. It is redundant, and the way I learned, when something is redundand it is often wrong. How to get rid of this nuance? Is the only way to reinstall RVM? If so, how to properly reinstall? 回答1: Use rvm implode to uninstall rvm. Check that there are no environment variables

RVM Requiremets tries to tap deprecated homebrew/versions

…衆ロ難τιáo~ 提交于 2019-12-12 08:15:58
问题 I'm trying to get a Ruby on Rails project running on my Mac OS Sierra (10.13.3) machine. When I navigate to the Rails folder, RVM tells me the following: Required ruby-1.9.3-p392 is not installed. To install do: 'rvm install "ruby-1.9.3-p392"' However, when I do that install, I get the following: $ rvm install "ruby-1.9.3-p392" Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.13/x86_64/ruby-1.9.3-p392. Continuing with compilation. Please read 'rvm

rvm determine and install latest version of ruby

梦想与她 提交于 2019-12-12 07:42:09
问题 So far I only know how to do commands like rvm 2.0.0 Fortunately Google tells me The current stable version is 2.0.0-p247. But shouldn't I be able to use rvm to do that step for me? I can't figure out how to just tell rvm to install the latest version of ruby, without manually specifying it. 回答1: it is enough to: rvm get stable rvm use ruby --install --default it will update rvm, check for latest ruby - install it if missing - and set as default 回答2: I don't know of a way to have rvm just

require self made gem in jruby fails after update to jruby-1.7.13

ぃ、小莉子 提交于 2019-12-12 07:28:43
问题 I used jruby-1.7.0 and testing frame work Test::Unit::TestCase. Now I have updated some gems which caused me to use MiniTest::Test for testing, so I also upgraded to jruby-1.7.13. I have a rake task too which builds my gems with java *.class files instead of ruby *.rb files. Now many things dont work any more like 'rake test', or require "my_gem_xyz" from irb, getting errors like load error and ArrayIndexOutOfBoudsException. I have rvm installed to switch between rubies. How can I use *.class

RVM Installation

[亡魂溺海] 提交于 2019-12-12 06:39:27
问题 I am trying to install rvm on ubuntu 11.10. I have installed it using following command through curl. curl -L get.rvm.io | bash -s stable --auto-dotfiles On terminal it specifies that rvm has been installed properly and I have checked .rvm directory has been created properly in my home directory and in .rvm directory version file is present but when I write rvm -v on terminal it gives following msg ~$ rvm -v The program 'rvm' is currently not installed. You can install it by typing: sudo apt

Mountain Lion install rvm ree-1.8.7

一笑奈何 提交于 2019-12-12 05:48:57
问题 I tried following this other answer, but I get the following problems: $ export CPPFLAGS=-I/opt/X11/include $ CC=/usr/local/bin/gcc-4.2 rvm reinstall ree-1.8.7 /Users/username/.rvm/src/ree-1.8.7-2012.02 has already been removed. /Users/username/.rvm/rubies/ree-1.8.7-2012.02 has already been removed. No binary rubies available for: osx/10/x86_64/ree-1.8.7-2012.02. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. You requested building with '/usr

Known versions of ruby - rvm list known [duplicate]

徘徊边缘 提交于 2019-12-12 04:59:11
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: Deleting versions of ruby I'm trying to uninstall a single version of ruby. The second in this list: which -a ruby /Users/snowcrash/.rvm/rubies/ruby-1.9.2-p318/bin/ruby /Users/snowcrash/.rvm/bin/ruby However, when I run: rvm remove I get: Really? remove all? See "rvm list known" and limit the selection to something more sane please :) So, running: rvm list known shows a whole list of versions. However, none of

Reporting errors in launching rails webrick server

筅森魡賤 提交于 2019-12-12 04:19:51
问题 I have an application which runs on rails 2.3.2 and now i upgraded my version of rails to 3.0.3 After i try to start the application server by typing rails server I get a list of arguments that i should pass to the command. This suggests the server did not start successfully. However, where can i get a list of the errors encountered in starting rails server ? Also, i am using RVM for managing rails versions. However, even after changing the current running version of rails, radrails is still