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?
Ruby OpenID: Denial of Service
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.
I install a ruby package.
$ sudo gem install pdfbeads
ERROR: Error installing pdfbeads:
nokogiri requires Ruby version >= 1.9.2.
says that it needs ruby version greater than 1.9.1.
My ruby is 1.8.7.
$ which ruby
$ ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
$ gem --version
I have ruby 1.9.1 and 1.9.3.