Questions tagged [rvm]

16 questions
12
votes
5 answers

problem in RVM installation

While executing this command to install rvm curl -sSL https://get.rvm.io | bash -s stable I am getting this error message: mktemp: failed to create file via template ‘/usr/share/rvm/rvm-exec-test.XXXXXX’: Permission denied
N.Raut
  • 123
  • 1
  • 1
  • 4
7
votes
3 answers

How to configure Ruby to use the correct gemset or Ruby version on a per-project basis?

I open a terminal and navigate to my project folder (ex: cd /proj/tickecting_app). After this I execute this command: rvm use ruby 1.9.x@gemset . I want this command to run this every time I open the terminal. Is there a way to run this…
Sridhar
  • 73
  • 4
3
votes
4 answers

Unable to install libyaml-devel libffi-devel in CentOS

I am trying to install latest of ruby through RVM. I could not install install as it requires libyaml-devel and libffi-dev. When ever i try to install them i get error that no package found [root@dev workspace]# rvm requirements Checking…
syed imty
  • 133
  • 1
  • 4
3
votes
2 answers

How to select unique array values?

I have an array and I want to get the unique 2nd members bash doesn't really have 2-dimensional array so I've defined it this way, using :: as the separator of the two…
Michael Durrant
  • 41,213
  • 69
  • 165
  • 232
2
votes
1 answer

SSH login keeps kicking me out

I am on Centos 6.6 and recently updated my server using yum, it updated a bunch of things and everything seemed fine, but I was also trying to update Ruby RVM and Node.js and NPM (Node Package Manager)... Got a weird error, when I exited as root,…
2
votes
2 answers

How can I test for a file having a value?

I am using source ~/.rvm/scripts/rvm repos="repo_1_ruby_193 repo_2_ruby_211 repo_3_ruby_191" > rvm_check.txt for repo in $repos do cd ~/zipcar/$repo 2>rvm_check.txt cd .. echo $repo if [ -z `cat rvm_check.txt | grep not` ] # line 9 then …
Michael Durrant
  • 41,213
  • 69
  • 165
  • 232
2
votes
1 answer

How do I make the "1.9.2" Ruby string point to the final release with RVM?

I'm using RVM to manage my Ruby environment on OSX, and currently it's interpreting '1.9.2' as ruby-1.9.2-rc2 instead of the final release. How can I update this to make it behave as expected?
Adam Lassek
  • 141
  • 4
1
vote
0 answers

RVM not detected in multi-user installation

I have two ubuntu users deploy and developers I install rvm using Multi-User: curl -L https://get.rvm.io | sudo bash -s stable by default this one will create rvm group. The rvm will be installed in /usr/local/rvm then I add these two users users…
AllenC
  • 111
  • 2
1
vote
1 answer

Use RVM to point to custom Ruby path

I have my ruby-2.3.1 installed in /opt/rubies/ruby-2.3.1/bin/ruby, but by some problems with dependencies KDE downloads ruby-2.1 to /usr/bin/ruby and now my system uses that version. I've install RVM in the hope I could use that to change the path…
Peter Boomsma
  • 141
  • 1
  • 5
1
vote
1 answer

apt-get update returns error 404 because of iceweasel

Since Debian uses firefox instead of iceweasel, apt-get update returns 404 errors with this URL: http://mozilla.debian.net/dists/wheezy-backports/iceweasel-release/binary-amd64/Packages I had installed firefox-esr in order to migrate to firefox and…
salt
  • 274
  • 2
  • 4
  • 14
1
vote
2 answers

Error installing nokogiri: ERROR: Failed to build gem native extensions

I can build my rails application on my mac On my Ubuntu machine when I bundle I get errors with a bunch of gems including nokogiri, version 1.6.7.2 Error installing nokogiri: ERROR: Failed to build gem native extensions I try gem install nokogiri…
Michael Durrant
  • 41,213
  • 69
  • 165
  • 232
1
vote
2 answers

How do I start Unicorn using systemd/systemctl?

I've wrote a systemd file for systemctl to start unicorn: [Unit] Description=Unicorn…
Razvan El
  • 11
  • 1
  • 3
0
votes
1 answer

Difference between interactive bash and commands executed via ssh

I have a setup on a server of ruby using a tool called rvm (Ruby Version Manager. It works fine. rvm adds some stuff to the path so that it can control what version of Ruby I get when I just type ruby. Now to manage the server I would like to send…
pitosalas
  • 637
  • 2
  • 8
  • 17
0
votes
1 answer

Getting "command not found" when trying to run rvm command as sudo

I'm trying to reinstall Ruby on my Ubuntu 14.04 machine but I'm confused about how I need to set up my PATH variable or other things. When I try as my normal user, I get all kinds of Permission denied errors .... myuser@myproject:~$ rvm reinstall…
Dave
  • 2,348
  • 21
  • 54
  • 84
0
votes
0 answers

SSL error with rvm and ruby 2.2.2

I am getting the below error while doing a api call from one app to another: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed We are using using rvm with ruby 2.2.2 on rhel 5.x Things which I tried to…
Karthik K
  • 421
  • 4
  • 11
1
2