rvm

Can't use compass after installing it

泪湿孤枕 提交于 2019-12-04 07:44:00
问题 I don't seem to be able to get compass working on Vagrant using this Vagrantfile. See the rest of the bash script's used right here (removed repo) (see Vaprobash if you want to provision your Vagrant Ubuntu Box!). So I was fallowing a gruntjs course, when I had to use grunt server . The only problem is that it needs a newer ruby version (1.9+ I believe instead of the 1.8) and it needs compass. So I have solved the ruby part by installing RVM and installing the latest stable version. Compass

pow says: Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources

给你一囗甜甜゛ 提交于 2019-12-04 07:35:17
问题 I have a rails app that runs fine with rails s , but when I try to load it using pow I'm getting this error: Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources ~/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.22/lib/bundler/spec_set.rb:88:in `block in materialize' ~/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `map!' ~/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `materialize' .... Weird thing is, the .rvmrc file

Using RVM with different gemsets in TextMate

时间秒杀一切 提交于 2019-12-04 07:09:46
I have set up RVM and made individual gemsets for my projects as per the RVM best practices . Now running a test file in TextMate dosen't work and I have read here what to do. The problem is that it won't work because the guide expects me to have just one gemset (they call it "Rails3"). I normally have 2-3 projects open at a time (using different gemsets) so I can't effectively use this approach. Have any of you solved that problem? I've found the RVM wrappers method to be very buggy, and as you've discovered it doesn't work at all with gemsets unless you do a lot of tedious setup. I've had

RVM installation missing $PATH

为君一笑 提交于 2019-12-04 06:31:44
When I attempted to reinstall the latest version of RVM, RVM gave me an error notice related to a missing or incorrect "$PATH" variable. Does anyone know (a) what this variable should be set to and (b) how to alter it? I've searched dozens of threads, but none appears to reference this problem exactly. Any help would be greatly appreciated. Thanks, Cody Codys-MacBook-Pro:demo_app Cody$ rvm get head && rvm reload ######################################################################## 100.0% Downloading RVM from wayneeseguin branch master Upgrading the RVM installation in /Users/Cody/.rvm/ RVM

What can I do to resolve this error when trying to install bundler?

纵饮孤独 提交于 2019-12-04 06:22:07
问题 I am trying to run this command gem install bundler but I am always getting this error: ERROR: Loading command: install (LoadError) cannot load such file -- openssl ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass What can I do about this? I already tried this (as pointed out here 'gem install bundle' get something wrong): rvm pkg install zlib rvm remove 2.0.0 rvm install 2.0.0 回答1: it's a known issue - rubygems 2.0.0 requires openssl,

install bundler using rvm, ruby 1.8.7 with gcc 4.7 on linux

烂漫一生 提交于 2019-12-04 06:15:29
Issues building ruby 1.8.7 or installing the bundler gem with GCC 4.7 on linux (Fedora 17, Arch, etc.). This issue occurred for me using RVM. I was able to install 1.8.7, but unable to install the bundler gem. I would receive the following error: $ gem install bundler ~/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux] this issue is described in a number of locations, including: ruby-enterprise 1.8.7-12: timeout.rb:60: [BUG] Segmentation fault Ruby gem install is seg faulting rvm install rbx fails on archlinux

RVM set ruby default, when open new terminal erase the RVM setting, go back to system ruby

China☆狼群 提交于 2019-12-04 05:49:09
I just got a new MacBook Pro and tried to setup the RVM in the system. I installed RVM and set the default to ➜ rvm list default Default Ruby (for new shells) ruby-1.9.3-p194 [ x86_64 ] My RVM version is ➜ rvm --version rvm 1.16.8 (master) by Wayne E. Seguin , Michal Papis [https://rvm.io/] I have put [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. at the bottom of the .bashrc_profile . When I open the new Terminal window, I have done rvm default every time to reset from system ruby to rvm installed ruby. I have done 3 hours research

How to install gem across all gemsets when using RVM

我的梦境 提交于 2019-12-04 05:00:41
Is there a way to install a gem across all rubies and gemsets (not just the default or the system ruby) in the system when using RVM? You can execute: rvm @global do gem install [gem_name] to install gem globally (per ruby version). It is not possible to install gem globally for every ruby version . According to https://rvm.io/gemsets/initial you can define automatically installed gems for every ruby version in file ~/.rvm/gemsets/global.gems . In this file you need to define required gems (one per line) e.g. bundler zeus These gems will be installed each time you add new ruby version to the

RVM 'not found' after successful usage and a few days later

感情迁移 提交于 2019-12-04 04:57:02
问题 I installed RVM a few days ago, which worked perfectly. A few days later (now, after a few reboots I guess), it's like it's not installed, shell says rvm not found although I can see it all in my ~/.rvm folder, and there is also a scripts folder into that. I tried rerunning the install script over it, to no result (said it upgraded something, no difference). I tried the command for reloading rvm into new shell sessions. I've also had a look at this Q&A, to no help. What am I missing here? (I

What does Bundler offer over RVM?

丶灬走出姿态 提交于 2019-12-04 04:53:44
I am not sure what the differences are between these two tools. There seems to be a big overlap, but I have been using RVM and facing some miss-compatibility issues. What does Bundler do that RVM does not? They serve different purposes. RVM creates a sandbox to manage your Ruby installations. As a part of that, it also lets you define gemsets. Bundler doesn't manage your Rubies, it works with the currently selected Ruby. So, I think you should consider RVM as the configuration manager for your development environment, and Bundler the gem manager for an application. EDIT: Additional thoughts -