A dynamic, open source programming language with a focus on simplicity and productivity. (quote: ruby-lang.org)
Questions tagged [ruby]
474 questions
79
votes
4 answers
How to find and install latest Ruby version using RVM?
I finally got RVM working and now I would like RVM to install the latest stable ruby version.
In the tutorial I am using they installed ruby 1.9.3 with command :
rvm install 1.9.3
Now I want to know if there is a command to download the latest…
Private
- 4,074
70
votes
7 answers
Determine which version of a gem is installed?
Is there a way via CLI to determine which version number of a gem is installed on my machine? Similar to yolk -l for python?
I'm trying to see if I have the latest version of compass / sass / zurb foundation. I have a dependency that requires a…
chrisl-921fb74d
- 11,136
31
votes
4 answers
How can I completely remove Ruby + Rails + Gems?
I have messed up my Ruby dev environment on Ubuntu 10.04.
What is the best possible way to remove these packages from my system?
Ruby
All Gems
RubyGems
To start fresh, I would like to re-install Ruby using RVM.
zengr
- 818
30
votes
3 answers
How to install jekyll?
According to the jekyll site, this is how you make a new website with jekyll:
~ $ gem install jekyll
~ $ jekyll new myblog
~ $ cd myblog
~/myblog $ jekyll serve
gem install jekyll didn't work, nor did sudo gem install jekyll:
└─>gem install…
Jonathan
- 7,470
24
votes
2 answers
Why do I need to run "/bin/bash --login"
I have just setup a new Ubuntu 13.10 server with ruby 2.1.1 installed through rvm.
The problem is that whenever I switch to the user "rails" (the user I installed ruby and rails with) I have to run /bin/bash --login before Ubuntu recognises that…
23
votes
5 answers
Install ruby 2.0 without ruby-switch?
I'm finding the task of installing ruby 2.0 on the latest Ubuntu 14.04 rather frustrating. I'm aware that I could forgo the packages and install from source - but I'd far rather install a package - if that is possible.
I found this question/answer…
aSteve
- 459
22
votes
5 answers
How do you install less css command line compiler?
From my understanding and correct me if I'm wrong, I have to get ruby or NPM installed to get the less css compiler working.
I don't have any ruby installed and I'm not really sure how to get my computer to that point. I also want to minimize my…
chrisl-921fb74d
- 11,136
20
votes
2 answers
How do you uninstall Ruby 1.8.7 and install Ruby 1.9.2?
Does anyone know how to properly uninstall Ruby 1.8.7 and install Ruby 1.9.2 on Ubuntu 11.10?
I have thoroughly searched and none of the tutorials I've found have worked.
Also, I spent a very long time trying to get RVM to work and it just is a pain…
Dmat00
- 235
17
votes
2 answers
Install ruby 2.2.3 via apt
How to install Ruby 2.2.3 via apt on Ubuntu Wily? I tried sudo apt-get install ruby2.2-dev and sudo apt-get install ruby2.2 (What's the difference, btw) and both commands seem to have installed quite a bunch. However, there's no ruby executable…
Michiel de Mare
- 453
16
votes
2 answers
How do I upgrade to Ruby 2.2 on my Ubuntu system?
I’m using Ubuntu Linux. Below is the uname info
myuser@myinstance:~$ uname -a
Linux myinstance 3.18.0-52-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
I’m trying to upgrade the version of Ruby on my machine,…
Dave
- 2,315
16
votes
4 answers
Install Ruby 2.0 with OpenSSL and ReadLine support
I have a fresh Ubuntu 12.04 VM, and I would like to install Ruby 2.0.0-p0. I am able to get Ruby installed easily enough, but I am unable to get gems to work.
$ gem install bundler
ERROR: Loading command: install (LoadError)
cannot load such file…
Jarrett Meyer
- 691
14
votes
3 answers
Error when starting Redis server: "Address already in use"
I am trying to install redis, according to the instructions here : https://redis.io/download, but getting the error :
Creating Server TCP listening socket *:6379: bind: Address already
in use
when I run command ps -ef|grep redis
i see :
nomi …
Nomi
- 143
14
votes
7 answers
How do I set up Ruby on Rails?
I am interested in setting up a Ruby on Rails environment on my 10.10 laptop.
Is there anything special I need to keep in mind for installation (i.e. that could be new or unique to 10.10)?
Are there any suggested walkthroughs that I could follow…
rifferte
- 696
14
votes
2 answers
WARNING: You don't have in your PATH, gem executables will not run
I installed a tools package my friend recommended and this is what I keep getting when I try to upgrade. My system has also started freezing after I installed the tools.
ryan1@ryan1:~$ sudo apt-get upgrade
Reading package lists... Done
Building…
user231939
- 141
14
votes
4 answers
How do I install ruby-rvm?
I want to install a rails environment on Ubuntu 11.04. I tried:
$ sudo apt-get install ruby-rvm
But got the error:
Unable to locate package ruby-rvm
My other PC has Ubuntu 11.10, and this works fine there:
$ sudo apt-get install ruby-rvm
$ rvm…
Ben
- 390