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

learn more… | top users | synonyms

3
votes
1answer
364 views

Gedit Ruby 1.9.x syntax highlighting

I have a problem with Gedit and it's way of highlighting new Ruby syntax. In Ruby 1.9.x, we can write Hash this way: { class: 'class_name', id: 'uniq_id' } instead of { :class => 'class_name', ...
0
votes
1answer
1k views

Trying to run rubymine but getting error no JDK found

Getting the following: ERROR: cannot start RubyMine. No JDK found. How can I fix this so that rubyMine starts?
1
vote
1answer
5k views

Rails bundler error installing Nokogiri (1.5.5) and Bundler cannot continue

An error occurred while installing nokogiri (1.5.5), and Bundler cannot continue How to fix and get past the error? Installing nokogiri (1.5.5) with native extensions ...
1
vote
4answers
7k views

bundle command gives permission denied - /var/lib/gems How to overcome?

From trying to do bundle I get: $ gem install bundler Fetching: bundler-1.2.0.gem (100%) ERROR: While executing gem ... (Errno::EACCES) Permission denied - /var/lib/gems
3
votes
1answer
222 views

How can I use Ruby with Quickly?

Recently I came across Quickly. A very nice thing Ubuntu is doing in order to simplify creation of good looking applications that integrates well with Ubuntu desktop in every respect. While the demo ...
0
votes
1answer
1k views

Missing gem 'cgi (>= 0) ruby'

Everything was working, but today I get this error: Could not find gem 'cgi (>= 0) ruby' in the gems available on this machine. I have ruby1.9.1-dev installed.
0
votes
0answers
114 views

I am trying to set up a ubuntu sever 12.04 on my machine [closed]

I am trying to set up a server on my home network which will eventually host rails. I am not great in linux server and i try to follow the prompt. I did succesfully get to a black screen which then ...
5
votes
2answers
24k 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 ...
9
votes
3answers
5k 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 ...
0
votes
1answer
2k views

Single user rvm needs sudo, and adding users to rvm group

I am following the instructions on the rvm site. First, I tried to install for single users: $ curl -L https://get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time ...
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, ...
1
vote
1answer
7k views

Uninstall RVM, Ruby, Ruby gem and rails in Ubuntu 12.04

What is the best way to remove RVM, Ruby, Ruby gem and rails in Ubuntu 12.04 ?
0
votes
1answer
1k views

Eclipse juno: Can't install RadRails throws error for a gem I have installed already

The thing is I installed Ubuntu 12.04, Java (for Eclipse), Eclipse, ruby, ruby gems, rails. Everything went smooth. When I tried to prepare Eclipse for ruby on rails, I installed ruby dev kit plugin. ...
1
vote
1answer
35 views

Is there an online documentation repository for ruby like it is for Matlab? [closed]

Is there an online documentation repository for ruby like it is for Matlab? A site that documents the functions and objects, their uses, parameters, etc? Matlab online Documentation
0
votes
1answer
41 views

Can I submit a ruby gem I'm working on for ubuntu app showdown?

I've been working on a ruby project, can I submit this for app showdown? Basically its a sinatra app, runs a site on localhost, which plays songs in browser
4
votes
1answer
5k 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 ...
1
vote
1answer
69 views

Why does everyone insist that Ruby be installed via rvm and not by compiling?

I just installed Ruby on my 12.04 machine by compiling from the tarball file I got from the official Ruby site. I want to know why doing that was a bad idea if I don't plan on using multiple versions ...
4
votes
1answer
1k 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 ...
1
vote
2answers
1k views

Error Installing ruby-rvm

When I try to install ruby-rvm, I get this... $ sudo apt-get install ruby-rvm Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not ...
1
vote
1answer
520 views

How big is the mono runtime?

How big is the mono runtime, and how does it compare in size to other popular runtimes like python, ruby and java?
1
vote
1answer
251 views

How can I easily install ruby on rails? [duplicate]

Possible Duplicate: How do I set up Ruby on Rails? How can I easily install RVM, ruby 1.9.3, rubygems, passenger and rails all in one go ?
0
votes
1answer
767 views

Install Ruby Ubuntu With update-alternatives Command [duplicate]

Possible Duplicate: No ruby alternatives on 11.04 / 11.10? I have 2 questions about ruby on ubuntu. I've already install ruby1.8 and ruby1.9.1 on ubuntu lucid but when I run ...
3
votes
1answer
3k 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 ... ...
2
votes
3answers
2k views

Can't run a program installed through gem install

I have installed Ruby using RVM. I did a gem install rspec command and it seemed to install rspec correctly. If I do a rspec I get a "The program 'rspec' is not currently installed" and I am ...
1
vote
1answer
1k views

tk installation doesn't work for ruby1.9.1

Ok, this is what I did before I landed onto a terminal with a bunch of error messages... First, I installed ruby1.9.1 using apt-get. (All of those ruby1.9.1 packages including ruby1.9.1-examples ...
7
votes
3answers
21k 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 ...
3
votes
1answer
8k 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 ...
0
votes
1answer
810 views

Compass (ruby) error on Precise [closed]

I had Compass (a ruby gem) installed on Oneiric with no problems I have updated to Precise formatting / and keeping /home, so I needed to reinstall ruby. I get this error now when I compile a SCSS ...
1
vote
1answer
720 views

Successfully installed SASS, but the terminal insists it isn't

I wanted to install sass version 3.2.0 alpha. I first ran sudo apt-get install libhaml-ruby1.8, which is what the console recommended It successfully installed, but it installed an older version ...
2
votes
1answer
13k views

GNU Make not found - How to install GNU Make on 12.04

We have set up an Ubuntu 12.04 LTS server for RoR. We did successfully install rvm and git. However installation failed with rvm for zlib and ruby 1.9.3. Here is the error log for $rvm install 1.9.3: ...
1
vote
2answers
4k views

Install ruby 1.9.2-p180 via RVM on Ubuntu 12.04

I just upgraded to the newest Ubuntu release and this broke my ruby on rails setup. I would like to install ruby 1.9.2-p180 now via RVM: rvm install ruby-1.9.2-p180 This is cancelled due to some ...
0
votes
1answer
60 views

Are there alternative repositories for ruby1.8 package in 10.04?

I want to upgrade existing Ruby 1.8.7 package to patchlevel 300+ revision. Official repository version is this one: ruby 1.8.7 (2010-01-10 patchlevel 249) Are there any repositories that ...
2
votes
1answer
966 views

Use Ruby 1.9.3-p125 and remove others [duplicate]

Possible Duplicate: How do I set up Ruby on Rails? How do I get “ruby” to do what “ruby1.9.1” does? I installed ruby 1.9.3-p125 with rvm. rvm list yields ruby-1.9.3-p125 [ x86_64 ] ...
0
votes
1answer
529 views

How do I get Launchy to open Chromium?

I'm developing in rails on my computer. I'm just going along with what tutorials say, and I simply cannot find anything about how to use launchy during development on the Internet .. period. There ...
0
votes
1answer
38 views

Do I need to reinstall language environments?

I recently installed Ubuntu 11.10 (using wubi) and want to make it my main development environment. I have Java, ruby, gcc, haskell, python (and the list goes on) environments, compilers and ...
10
votes
4answers
19k 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 ...
0
votes
1answer
587 views

Rails application directory has different $PATH value than other directories on the system

I recently installed Rails 3.2.1 (Gem version 1.8.7) running on Ruby 1.9.3 on Ubuntu 11.10. I installed ruby, rails, and gem using rvm. I currently only have the one version installed. When I type ...
3
votes
1answer
1k views

Disable differences in login handling (non-interactive, interactive etc.)

I'm always having trouble with RVM installs and non-interactive vs. interactive shell sessions. If the session isn't interactive I'm usually getting the command not found error on different ...
0
votes
1answer
329 views

How to automatically hide error messages in GNOME Shell's notifications?

I'm using Ubuntu 11.10 and gnome-shell 3. I`m using Guard to notify test pass or failure. How to automatically hide error messages from libnotify in gnome shell? When I have green test notification ...
0
votes
3answers
385 views

RubyGem MySQL Binding fails

When I executed 'gem install mysql', the error message below appeared. ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:10:in ...
2
votes
1answer
3k views

RubyGem version downgrade

When the command of sudo rake db:migrate was executed the error message below appeared. rake aborted! RubyGem version error: rack(1.4.1 not ~> 1.1.0) I guess the RubyGem version is later than ...
1
vote
1answer
2k views

Default Ruby version set with RVM not recognized by system

I'm trying to get the system to use the Ruby version I've set with RVM. The following commands produce this output: $ rvm use 1.9.2 --default Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p180 $ rvm ...
-1
votes
1answer
476 views

How to share ubuntu (make server (Ruby on Rails)) in home, on virtual machine?

how can I share my ubuntu server () which is installed on virtual machine. Main machine is asus k52de, which OS is Windows 7 professional. How can i do, that i can attach to my ubuntu from another ...
1
vote
1answer
1k views

How to get a bundler enabled rails app running as a service with upstart?

I can get some random shell script to run as a service...that's not the problem. I think it's related to environment variables given some of the google-ing I did. Either a list of required rails ...
1
vote
3answers
382 views

How do I install Ruby 1.9.2 on Ubuntu without crashing?

I've been trying to set up Ruby on Rails for Ubuntu 11.10 following these instructions, but I can't get it to work. I'll follow the install guide all the way up to "rvm install ruby-1.9.2", and at ...
0
votes
1answer
975 views

How to install Ruby plugin on Eclipse Indigo under Ubuntu 11.10

I've had no luck installing the Ruby plugin in Eclipse Indigo v3.7.1 under Ubuntu Oneiric. The Ubuntu community notes apply to earlier versions and don't help much with my setup. I wonder if you can ...
0
votes
1answer
904 views

Problems with RVM and Rails when creating new app

When trying doing rails new myapp, under this path: /home/novito/Projectes I get the following error: Can't initialize a new Rails application within the directory of another, please change to a ...
6
votes
2answers
619 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 ...
2
votes
1answer
683 views

ruby ri: Nothing known about Array

There doesn't seem to be any ri documentation on core ruby classes on my system. Using ri -c I see that there are docs for a few gems I've installed, but that's it. $ ri Array Nothing known about ...
0
votes
1answer
719 views

Installaing ruby fails on ubuntu 10.04 server edition

I tried to install ruby on my ubuntu 10.04 server edition sudo apt-get install ruby I get the following error Reading package lists... Done Building dependency tree Reading state ...