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

learn more… | top users | synonyms

22
votes
1answer
6k views

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 ...
16
votes
3answers
24k views

Completely Remove Ruby + Rails + Gems?

I have messed up my ruby dev environment on Ubuntu 10.04. I need to install Ruby this time using RVM. What is the best possible way to remove: Ruby All Gems RubyGems From my machine, so that I ...
15
votes
2answers
27k views

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 ...
14
votes
5answers
21k views

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 ...
14
votes
7answers
2k views

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 ...
10
votes
5answers
12k views

Package for Ruby 2.0 on precise

Has there been any news from the maintainers of Ubuntu packaging of Ruby as to whether they'll be releasing a package for Ruby 2.0? If so, have they indicated whether they'll be releasing any packages ...
8
votes
2answers
5k views

How can I get gedit ready for programming in Ruby and Ruby on Rails?

I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?
8
votes
3answers
20k views

How would you install OpenSSL package for Ruby?

I have trouble finding the package for this software. I built and installed from the packages found here, but it's still not working properly with rvm and gem (log is located here). How would you ...
8
votes
3answers
13k views

How do I update to the latest version of SASS?

This is really stupid but I've been Googling for an hour now and can't find the answer. I'm on Ubuntu 10.10, and I'm trying to update to the latest version of SASS so that I can use an @import rule ...
8
votes
0answers
268 views

Installing only ruby 1.9 [duplicate]

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 ...
7
votes
3answers
13k views

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 ...
6
votes
2answers
12k views

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 ...
6
votes
2answers
475 views

How to 'cd' to a directory found with 'find'?

I have a file in gmai.rb in the below directory: root@ubuntu:~# find / -name gmail.rb|more /media/aruprakshit/FA686DE4686DA05D/Rubyscript/gmail.rb But when i am trying to reach to the Rubyscript ...
6
votes
2answers
768 views

How do I get “ruby” to do what “ruby1.9.1” does?

I want to start off by saying... I really don't need to be using 1.9.2. I understand that you don't ever, ever use Python 3.2, so if the common advice is that I should use 1.8, I'll do that. But don't ...
6
votes
2answers
563 views

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 ...
6
votes
3answers
8k views

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 ...
6
votes
2answers
881 views

Why is it so difficult to setup Ruby on Rails on Ubuntu?

I've spent a few hours this morning trying to setup Rails on a fresh instance of Ubuntu and I noticed that the process is incredibly more convoluted than on Windows. On Windows I go to ...
6
votes
3answers
3k views

/sbin/getty process causing 100% CPU utilization

I have an instance of Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual i686) running as a KVM-VM on a host-machine that runs one more VM beside it. I deploy a Ruby on Rails application using the ...
6
votes
2answers
129 views

Is it possible to update the app indicator from code?

I use ruby-libappindicator bindings to manage ubuntu application indicators. I want to indicate if port 3000 is used by any application. Port checking isn't a problem but I also need to update the ...
6
votes
1answer
1k views

Installation of capybara-webkit ruby gem

I have following errors when I try to install capybara-webkit ruby gem Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ...
5
votes
1answer
4k views

How to install ruby?

I am pretty new to ruby world and I don't know about installing it. Viewing methods from blogs with google search but feeling confuse. Could somebody help me to setup ruby in my Ubuntu 13.10?
5
votes
2answers
1k views

How to compile Vim with GUI?

I want to learn how to compile vim from the sources, because there are some additions that I want to add, and learn how to deal with this situations, but until now I didn't have success doing it, I ...
5
votes
1answer
2k views

Foreman doesn't start with “Invalid gemspec” error

Like this post I am also trying to complete this heroku tutorial I have installed and used everything (node.js, npm, express) successfully until I got to Foreman. I installed Foreman by first ...
5
votes
1answer
535 views

Why is Ruby version 1.9.2 named ruby1.9.1?

Or in another words, why isn't there a separate ruby-1.9.2 package? Source info: http://packages.ubuntu.com/maverick/ruby1.9.1
5
votes
1answer
141 views

Does anyone have any idea if/when Ubuntu is going to switch the default ruby install from 1.8 train to the 1.9 train?

I'm kind of hoping it's not going to be a python 2.7/3.0 thing, but I thought I might find someone "in the know".
5
votes
1answer
2k views

Cannot install sqlite3

OS: Ubuntu 12.04 LTS $sudo apt-get install libsqlite3-dev The following packages have unmet dependencies: libsqlite3-dev : Depends: libsqlite3-0 (=3.7.9-2ubuntu1) but 3.7.9-2ubuntu1.1 is to be ...
5
votes
5answers
7k views

“no such file to load — zlib” error when installing a gem [closed]

When I decided to install gem in ubuntu yesterday ( with this command : sudo gem install algorithms ) , bash gave me an error. How can I install gem in ubuntu like that installing on windows ? ***** ...
5
votes
0answers
1k views

Best way to Install Ruby 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM? [duplicate]

Possible Duplicate: How do I set up Ruby on Rails? Best way to Install RUBY 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM Can anyone suggest me the way in which should I follow to ...
4
votes
4answers
4k views

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 ...
4
votes
3answers
5k views

What versions of ruby are supported in 14.04?

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 - ...
4
votes
2answers
2k views

Problem installing ruby and gems

I just installed ruby using apt-get with the following command: sudo apt-get install ruby1.9.1-full But when I try to do sudo gem install ... it says that I have not installed gems and that I shoud ...
4
votes
2answers
2k views

Passenger (mod-rails) can't find libopenssl-ruby

Trying to build an nginx server with Phusion Passenger on Ubuntu 11.10 (hurray for the new version!). Running "passenger-install-nginx-module" outputs the following error: * OpenSSL support for ...
4
votes
1answer
3k views

Can't install gems from behind proxy

I'm running 12.04 in a VM, and I am behind a corporate proxy. I've got the environment variables set (tried both all lower and all upper case for [http|https|ftp]_proxy, as well as not specifying the ...
4
votes
1answer
4k views

Can't get “gem” command to work - Why?

Ubuntu 10.10 here. On the command line, I'm trying to do: gem install railsless-deploy I get this message: The program 'gem' can be found in the following packages: * rubygems1.8 * ...
4
votes
3answers
1k views

How do I create a Unity launcher icon for Redcar in an RVM environment?

Redcar is a graphical application that is installed via a Ruby gem, and I have installed it in a Ruby environment that is managed by RVM. A launcher icon isn't automatically installed, so I need to ...
4
votes
2answers
2k views

Ruby 1.9.1 rvm install fails

I am trying to run this command to get ruby 1.9.1 working on my system: rvm install 1.9.1 It says "error running make" and when I cat the log file this is the compile error I am getting: gcc -I. ...
4
votes
1answer
2k views

Why does Ubuntu think Rails 2.3.14 is installed even though I installed 3.2?

I am pretty new to Ubuntu, Ruby, and Rails. I am working my way through the first Rails Guide. Midway through that guide, I upgraded Ubuntu version 11 to Ubuntu version 12. While I was on version 11, ...
4
votes
3answers
5k views

Installing RubyGems 1.9.1

I have successfully installed ruby1.9.1 but after downloading the .tgz archive offered here and doing sudo ruby1.9.1 setup.rb I get this: /home/elliot/Downloads/rubygems-1.4.1 ...
3
votes
1answer
865 views

What is curl used for in Ruby?

I am a fairly new used and was looking for a way to install Ruby on my laptop and came across this link: https://rvm.io/rvm/install/ When I use the command specified there, it says curl is not ...
3
votes
1answer
2k views

Can't install rvm

I want to install RVM: ubuntu@ext:~$ rvm The program 'rvm' is currently not installed. You can install it by typing: sudo apt-get install ruby-rvm ubuntu@ext:~$ sudo apt-get install ruby-rvm Reading ...
3
votes
3answers
918 views

How to programatically manipulate application windows?

Anyone know a library, preferably for ruby or python, that will let you access a list of open applications and let you manipulate them? All I really want to be able to do is change their geometry and ...
3
votes
3answers
3k views

Installing MySQL Ruby Gem

Hi I am unsuccessfully trying to install MySQL Gem on Ubuntu 10.04. I have tried the following commands: sudo gem install mysql sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config ...
3
votes
1answer
1k views

Installing Jekyll with gem

Im using Ubunto 12.04 I am trying to install Jekyll through gem with sudo gem install jekyll but i get this error at some point of the installation: ERROR: While generating documentation for ...
3
votes
2answers
15k views

How to get /usr/bin/env ruby to point to the correct ruby environment?

So I was making a cgi ruby script and had the following at the top of the script file: #!/usr/bin/env ruby require 'rubygems' require 'action_pack' require 'cgi' After a couple of hours of not ...
3
votes
1answer
7k views

“Cannot load such file — openssl” when running bundle

When I try to use bundler, I get the error: /home/vivek/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- openssl ...
3
votes
2answers
135 views

rake command line

Is there a way in Ubuntu to have rake commands (Ruby) available on the command line? I solved adding the following line to bashrc, but I think there should be a better way. export ...
3
votes
1answer
864 views

Installing rails 12.04 error

I have followed all stapes from this page https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm It all goes well until command to ...
3
votes
3answers
480 views

How to install Ruby Ripper, or another app that does MP3s through a GUI

I have tried to install ruby ripper various times (raring) using code pasted from the internet. everytime i get to sudo apt-get install rubyripper, i get this back: E: Unable to locate package ...
3
votes
1answer
2k views

How do I start a ruby/gem program?

I have installed taskjuggler (gem install taskjuggler), but now I have no idea how to start it... $ taskjuggler taskjuggler: command not found $ gem taskjuggler ERROR: While executing gem ... ...
3
votes
1answer
142 views

basic security tools and packages that should be installed on a public facing web server

I'm a newbie in this world and I do not have a lot of knowledge about how security works on Linux systems. I recently created a droplet on DigitalOcean with Ubuntu 13 and I've been setting it up by ...