rvm

Why Bundle Install is installing gems in vendor/bundle?

旧巷老猫 提交于 2019-11-28 20:47:03
问题 Whenever I do bundle install all of the gems get installed at app_dir/vendor/bundle path and consumes loads of disk space. I also tried installing gems where it should get installed i.e gemsets while development by this: bundle install --no-deployement but this isn't working for me and installeing gems at vendor/bundle . How can I make it to be installed globally for all applications or in ruby gemsets location ? I also tried removing .bundle/config but nothing changed. I am using: rvm

RVM ruby installation errors - Mac

為{幸葍}努か 提交于 2019-11-28 20:38:44
I have tried to install each of the following three versions of Ruby via RVM, each with their own set of errors. I'm more concerned with getting the last one working so I'll focus on that. rvm install 1.8.7 rvm install 1.9.2 rvm install 1.9.3 rvm install 1.9.3 (bash output) 14:10:41: ~/.rvm/config $ rvm install 1.9.3 Fetching yaml-0.1.4.tar.gz to /Users/dionnesaunders/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/dionnesaunders/.rvm/src ERROR: Error running 'tar mzxf /Users/dionnesaunders/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/dionnesaunders/.rvm/src ', please read /Users

RVM doesn't switch Rubies

痞子三分冷 提交于 2019-11-28 20:21:33
问题 I'm running Ruby 1.9.1p243 on CentOS, and I decided to install rvm to handle upgrading to 1.9.2 or downgrading to 1.8.7 (whichever turns out to work better for rails3). I followed the instructions here: http://rvm.beginrescueend.com/rvm/install/ and everything installed correctly. I was able to compile and install Ruby 1.8.7, 1.9.1, and 1.9.2. However, if I try to actually switch to one of the rvm installed Rubies, with rvm use 1.8.7, for example, nothing works. My system still uses the Ruby

Error while installing ruby using rvm

▼魔方 西西 提交于 2019-11-28 19:34:06
Am getting the below error while trying to install ruby using rvm: $rvm install 1.9.3 Searching for binary rubies, this might take some time. Checking requirements for ubuntu. Installing requirements for ubuntu. Updating system.................................................................................................. Error running 'requirements_debian_update_system ruby-1.9.3-p448', please read /home/troy/.rvm/log/1379872584_ruby-1.9.3-p448/update_system.log Requirements installation failed with status: 100. Can you help me on this! TheBetterJORT Remove broken or 404 repos from your

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

How to manage multiple gemsets and ruby versions with RVM?

为君一笑 提交于 2019-11-28 19:24:15
问题 I am really confused by the explanations given in RVM website. The relation between different ruby interpretors and gemsets are not clear to me. According to me, it is like this - My Account in my Mac have one rvm That rvm installs and manages set of different versions of ruby interpretors. each ruby version has set of gemsets. Am i getting things clear... Any more amount of explanations are welcome. I am in a position to work on (Ruby 1.8.7 + rails 2.3.8 and its dependencies) and (Ruby 1.9.2

How do I install Bash >= 3.2.25 on Mac OS X 10.5.8?

ε祈祈猫儿з 提交于 2019-11-28 19:22:22
I'm following Michael Hartl's Rails tutorial, so far I've installed Git 1.7.5.4 x86_64 (I'm running OSX 10.5.8) and I'm trying to install rvm After I run the following: $ curl -kL get.rvm.io | bash -s stable I get: BASH 3.2.25 required (you have 3.2.17(1)-release) I've tried changing the shell, using chsh -s /opt/local/bin/bash but I get shell '/opt/local/bin/bash' does not exist Not sure where to go from here but I'd appreciate any guidance. Thanks! Homebrew is generally a bit nicer than MacPorts, as it doesn't require lots of sudo action. Here's an article that guided me to upgrading my

RVM is not working over SSH

爱⌒轻易说出口 提交于 2019-11-28 19:20:16
RVM is not working over SSH. At the command-line: leifg@host:~$ which ruby /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby Connected over SSH: local:~$ ssh leifg@server 'which ruby' /usr/bin/ruby I'm using Ubuntu 11.04. How do I get SSH to use the same Ruby as it is on the system? I already verified some prequisites: Ruby was already installed using apt-get install ruby . Does that make any difference? sshd_config has the option "PermitUserEnvironment yes", and I restarted the daemon. The .bashrc on the server contains these lines, but I see the same behavior when I remove them: if [ -s "$HOME/

troubles with RVM and OpenSSL

烂漫一生 提交于 2019-11-28 18:52:18
Trying to set up a new macbook for a colleague. Not going well. First I install OpenSSL: Heathers-MacBook-Pro:~ heather$ rvm pkg install openssl Fetching openssl-1.0.1c.tar.gz to /Users/heather/.rvm/archives ######################################################################## 100.0% Extracting openssl to /Users/heather/.rvm/src/openssl-1.0.1c Configuring openssl in /Users/heather/.rvm/src/openssl-1.0.1c. Compiling openssl in /Users/heather/.rvm/src/openssl-1.0.1c. Installing openssl to /Users/heather/.rvm/usr Please note that it's required to reinstall all rubies: rvm reinstall all --force

How to change rvm install location?

↘锁芯ラ 提交于 2019-11-28 18:42:41
Currently I have rvm installed under /home/john/.rvm How do move rvm to the location /opt/local/rvm ? I tried to use the rvmrc file to take care of this (according to the rvm document here: https://rvm.io/workflow/rvmrc/ ) but no luck, I found a rvmrc file under /etc/ Is there any step by step instruction I could follow? Figure out myself by doing some research online, hope this can help someone out: Suppose you want to move from home/username/.rvm to /opt/local/rvm Update you .bash_profile or .bashrc to: if [ -s "$HOME/.rvmrc" ]; then source "$HOME/.rvmrc" fi # to have $rvm_path defined if