Questions tagged [ruby]

A dynamic, open source programming language with a focus on simplicity and productivity. (quote: ruby-lang.org)

473 questions
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
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…
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
  • 1
  • 1
  • 4
8
votes
0 answers

Installing only ruby 1.9

Possible Duplicate: How do I set up Ruby on Rails? It seems that if I do an "sudo apt-get install ruby-full build-essential" the Ruby is installed with version 1.8. How can I install only version 1.9?
Pablo
  • 249
7
votes
5 answers

foreman: command not found

I am following this tutorial of Heroku. I installed foreman with sudo gem install foreman but when I try to use this in the terminal with command foreman this returns foreman: command not found
6
votes
2 answers

installing ruby 1.9.2 for octopress

So, I am trying to install Octopress. I need ruby 1.9.2. It looks like sudo apt-get install ruby wants to install ruby 1.8. I've read that RVM is a good way to go. But it seems rather excessive since I don't expect to use much else apart from the…
Seamus
  • 926
5
votes
5 answers

Can't install a Ruby package: Failed to build gem native extension

I installed ruby 2.1.0 and package pdfbeads on 32bit 12.04 last year following the blog https://railssavvy.wordpress.com/2012/06/02/install_ruby_and_rails/, and it worked. Now it seems that I have installed ruby 2.2.0 on 64bit 14.04, but met the…
Tim
  • 25,177
5
votes
0 answers

Problem with installing rvm

I try to install rvm on Ubuntu 14.04. $ \curl -L https://get.rvm.io | bash -s stable --ruby % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left …
Tim
  • 25,177
4
votes
1 answer

E: Unable to locate package ruby!

Got this error message: [sudo] password for saeedeh: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ruby What should I do?
saeedeh
  • 51
  • 1
  • 1
  • 2
4
votes
1 answer

How to install rubygems in Ubuntu 12.04 with Ruby 1.9.3

So I used these commands: sudo apt-get install ruby 1.9.3 cd /etc/alternatives sudo ln -sf /usr/bin/ruby1.9.3 ruby from https://stackoverflow.com/questions/11078166/how-do-i-install-ruby-1-9-3-on-ubuntu-without-rvm in order to get ruby 1.9.3 and…
Gabe Spradlin
  • 217
  • 1
  • 3
  • 14
3
votes
0 answers

Install compass 1 pre fails

I can not install compass version 1. $ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] And when I do: $ sudo gem install compass --pre I get following error: Building native extensions. This could take a while... ERROR: Error…
Tanel Tammik
  • 362
  • 4
  • 10
3
votes
2 answers

How to uninstall rubymine from UBUNTU

I was trying to upgrade from RubyMine 5.4.3.2.1 to 6 for that I was trying to uninstall RubyMine 5.4.3.2.1. I removed RubyMine directory from where I installed RubyMine. Now everytime I need to run RubyMine version 6 from the .sh file given in…
Satyam Singh
  • 163
  • 2
  • 6
3
votes
2 answers

Ruby gem installation failed

I tried to install the gosu Ryby gem with $ sudo gem install gosu Building native extensions. This could take a while... ERROR: Error installing gosu: ERROR: Failed to build gem native extension. current directory:…
Shane.D
  • 605
2
votes
2 answers

installing pdfbeads fails

I am trying to install the ruby gem pdfbeads via sudo gem install pdfbeads All i get is an error message which looks cryptic to me an searching for it does not result in useful posts... Building native extensions. This could take a while... ERROR:…
mhwh
  • 143
2
votes
0 answers

How do I run rubymine as a regular user?

I installed rubymine on ubuntu as instructed on their site (extract and run a bash script from bin). Currently, when I want to run the application I need to run this script from terminal as super user. What to do in order to run it like every normal…
Chen Kinnrot
  • 471
  • 1
  • 5
  • 7
1
2 3