Ruby: Terminal Control Character Injection
I installed RVM using the following command
\curl -L https://get.rvm.io | bash -s stable
Then I restarted the terminal and executed this commands
rvm install ruby
rvm use ruby --default
If I run this commands when I start the terminal I get ruby 2.1.2 as the default ruby version, but if I restart the terminal and I run
I get the following
I have been trying to understand RVM and decided to do so by not using it and seeing the consequences. I am trying to see how I can manage different versions of ruby and their gemsets without RVM.
I compiled Ruby 1.9.1 from source on my Ubuntu machine and found it in the path usr/local/bin/ruby.
Ruby: Denial of Service
I'm trying to use geany like ide for ruby. But i cannot configure it for uses the correct ruby version.
So I was making a cgi ruby script and had the following at the top of the script file:
After a couple of hours of not getting "/usr/bin/env: ruby: No such file or directory" error and google searching, I uninstalled my system ruby 1.8.7 (I also had 1.9.3 installed via rvm) by doing sudo apt-get purge ruby rubygems.
I have Ruby 2.0.0 installed on Ununtu 14.04 but I can't remove Ruby 1.9.1. When installing new gems I always get pointed to Ruby 1.9.1.
How can I definitely switch to Ruby 2.0.0?
I have three questions about compiling ruby (and other softwares) from source. Ruby is avaliable to install using apt-get, but I want to learn more about Linux and I want to compile from source.
I am using Ubuntu 14.04 LTS. I first downloaded ruby source from ruby site and extracted in my home: /home/rgiaviti/ruby-2.1.2.
Ruby OpenID: Denial of Service
I installed GitLab on an EC2 instance a while ago, compiling Ruby from scratch:
$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
$ which ruby
What's really strange is that whenever I start anything with this Ruby interpreter, such as a GitLab backup job, restarting the GitLab worker, etc.