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

learn more… | top users | synonyms

1
vote
1answer
2k views

Redmine - backlogs - No such file to load — nokogiri

I'm trying to install backlogs 0.9.9 plugin for redmine 2.1.2 under ubuntu 12.10. Following the Backlogs installation guide remine_install_path$ RAILS_ENV=production bundle exec rake db:migrate ...
1
vote
2answers
1k views

Contacting Pulse Audio over dbus?

I am trying to write a basic volume application. Since I'm writing this in Ruby I don't want to extend the C library or use ffi, instead I trying to write this with ruby-dbus I got the Address ...
0
votes
1answer
734 views

rake aborted! undefined local variable or method

In a fresh new Ubuntu machine, I have installed ruby with sudo apt-get install ruby1.8 and then installed rubygem1.8 with : sudo apt-get install rubygems and after that installed ...
0
votes
1answer
662 views

rake db:migrate not working in rails

I executed the following statements in terminal: rails tickets cd tickets ruby script/server //to run the app tickets on localhost:3000 ruby script/generate scaffold ticket name:string ...
0
votes
1answer
178 views

Install Ruby 1.8 documentation?

My Ubuntu 12.04 already have ruby 1.8 installed, but I can't find a way to install documentation for ri , tried with libcommandline-ruby-doc package but it seems it's not it?
0
votes
1answer
1k views

Unable to start the web application from localhost:3000(ruby on rails)

I had created a demo web application by executing rails tickets and then i executed rails script/server to run it on localhost. Initially i was able to execute the application in the browser by ...
2
votes
1answer
932 views

Unable to install RVM using curl

When i try to install the rvm using curl it displays the following message:- vverma@l-vverma:~$ curl -L get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time Time ...
2
votes
1answer
439 views

How to install older ruby version on ubuntu Precise Pangolin?

I got a present: older Rails tutorials that needs old ruby version. I try to install ruby-1.8 with the packet manager. I still got problems with the tutorial example code. Next I try rvm to install ...
2
votes
1answer
2k views

How to build an USB driver and data extractor (Magnetic Card Reader)? [Python, Ruby]

So I have this magnetic card reader (generic) I bought from the internet (it's chinesse) the problem is it has a manual but it is in chinesse (hahhaha) So I don't understand it... I have two Linux ...
1
vote
1answer
9k views

Could not find a valid gem 'rails' (>= 0) in any repository

I am trying to install rails using the following command: sudo gem install rails and get the following error: ERROR: Could not find a valid gem 'rails' (>= 0) in any repository ERROR: ...
1
vote
2answers
1k views

Launching a Ruby Script from the bash does not work, even with the shebang

I am using Ubuntu 12.04 64 bits. I've recently installed the ruby1.9.1 package and the wx-ruby gem using : sudo gem install wxruby-ruby19 in order to install the ruby1.9 compatible version. So I ...
1
vote
1answer
823 views

error when installing rmagic gem on Ubuntu 12.04 for Ruby on Rails

I am trying to get my Ruby on Rails application working and installing RMagic gem. But I get an error that says "Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the ...
3
votes
1answer
373 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
8k 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
225 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
26k 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
4answers
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
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
781 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
830 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
752 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
14k 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
968 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
564 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
20k 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
600 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
332 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 ...