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
34 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
1
vote
1answer
62 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 ...
1
vote
1answer
229 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 ?
1
vote
2answers
481 views

How to auto indent the characters of rb, erb, .html.erb files?

In mac using Text - Mate we can easily auto - indent the characters in the file for Ruby on Rails code in various rb,erb or html.erb files. I am searching for a plugin for GEdit for the same purpose ...
1
vote
1answer
119 views

How to decide which version of Ruby to install, ruby1.8 or ruby1.9.1?

I am thinking about learning the basics of Ruby, so I want to install the ruby interpreter, irb, etc., on my Ubuntu 11.10 box. I quickly found that there are two main branches of ruby -- the 1.8 ...
1
vote
1answer
597 views

Not able to start juggernaut server as a background processs/service

I am using ruby on rails application to implement chat. I am not able to setup juggernaut server in production mode. I followed this guide to setup redis. and its working perfectly fine. Then I ...
1
vote
1answer
311 views

Ruby compilation error in Ubuntu 10

I've got a vps which runs solusVM. I'm now trying to install ruby 1.9.2 in it. I'm following this guide: After I run this command: apt-get update apt-get -y install build-essential zlib1g ...
1
vote
1answer
26 views

How do I launch my script from a launcher?

I have my custom script in Ruby with read permission, which starts with: #!/usr/bin/env ruby I can run that script from the terminal by typing that path. I added a file with .desktop extention to ...
1
vote
1answer
45 views

Where is my ruby installed when i install through RVM?

right now i am running ruby 1.9 , which i installed using RVM . I needed that to run my redmine 2.4.2 , since i had trouble using 1.8. Now i need to configure my passenger mod to point to ruby 1.9 ...
1
vote
1answer
272 views

GitLab Omnibus Ubuntu 12.04

I am trying to build GitLab from the Omnibus project in my Ubuntu 12.04 64-bit following this link After issuing sudo apt-get install ruby ruby-bundler I downloaded the source from here and after ...
1
vote
1answer
1k views

install libmysqlclient-dev 5.6

I can't use the mysql ruby gem because I get this error: Incorrect MySQL client library version! This gem was compiled for 5.6.15 but the client library is 5.5.34. (RuntimeError) apt-get is ...
1
vote
1answer
376 views

Upstart - Bluepill not starting without sudo

I have an upstart service to start bluepill (Ruby gem to monitor processes). The upstart config is below. description "Start up the bluepill service" start on runlevel [2] stop on runlevel [016] ...
1
vote
1answer
274 views

Issue With Upstart And RVM Gem?

Im trying to get a RVM gem to run via upstart... I can't seem to get it to work: siriserver.conf #siriserver start on filesystem or runlevel [2345] stop on runlevel [!2345] respawn exec ...
1
vote
1answer
889 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
1answer
574 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 ...
1
vote
2answers
596 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
537 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 ...
1
vote
1answer
321 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
806 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 ...
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 ...
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
vote
3answers
330 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 ...
1
vote
1answer
274 views

Ruby Gems error with AtomicTV

I've been trying to run AtomicTV on my 10.04 install, but I've had some Ruby issues that I'm having trouble parsing and haven't been able to find help with via Google. I installed the Ruby gems ...
1
vote
0answers
5 views

Unable to setup Jekyll In Ubuntu?

after upgrading to 14.04, Ruby was downgraded to 1.8.3 so I tried to upgrade using the following commands. sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev curl -L ...
1
vote
0answers
17 views

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 ...
1
vote
0answers
18 views

root login password when I never set it? [duplicate]

Sorry for too many duplicate questions about this. But I don't think any of the answers to these kind of question has the solution for me. As some users might have asked, how to set root login ...
1
vote
0answers
146 views

puppet rspec no such file to load — rspec-puppet (LoadError)

I have no prior experience at all of ruby. I am not interested in ruby (and so have no knowledge of rails etc) as such but am using puppet to manage a group of servers. I have written some modules ...
1
vote
0answers
347 views

Ruby 2.0.0 RVM error installing on Ubuntu 13.10

Ruby 2.0.0 RVM error installing on Ubuntu 13.10: Error running 'requirements_debian_update_system ruby-2.0.0-p353', please read /home/sergey/.rvm/log/1385231754_ruby-2.0.0-p353/update_system.log ...
1
vote
1answer
129 views

Gsl ruby gem on Ubuntu Saucy (13.10)

I'm trying to install the gsl gem on Ubuntu Saucy I installed the relevant gsl packages with sudo apt-get install gsl-bin libgsl0-dev But then installing the gem fails In file included from ...
1
vote
0answers
91 views

How should I configure Jenkins for Ruby on Rails?

I am using Ubuntu 12.04 and I have installed Jenkins on my system. What additional software and plugins do I need for running Ruby on Rails jobs, and how should I configure them?
1
vote
0answers
76 views

Dotdeb alternatives for Ruby or Python?

I really like Dotdeb, but it doesn't include packages for Ruby and Python. While I could build my own repository, I wouldn't want to reinvent the wheel (and then be forced to drive). Are there any ...
1
vote
1answer
1k views

Installing Ruby On Rails stack on Ubuntu?

I'm looking to install ruby on rails on Ubuntu similarly to how its described in the RailsIntaller.org for MAC/Windows. Instructions and guides that I've seen to do this on Ubuntu seem to be all over ...
1
vote
0answers
279 views

Slow Ruby 2.0 in 13.04

I had Ruby 2.0.0-p0 working with Ubuntu 12.10, in which a test suite of mine runs in about 3 minutes. The same test suite takes about 7 min to complete with Ruby 2.0.0-p0 in Ubuntu 13.04. I'm ...
1
vote
0answers
318 views

create_admin aborted! undefined method `source_index' for Gem:Module

trying to get gitorious running.. i got undefined method `source_index' for Gem:Module from env RAILS_ENV=production ruby1.8 script/create_admin when I run: env RAILS_ENV=production ...
1
vote
0answers
319 views

Multiple versions of ruby without RVM

I have been trying to understand RVM and decided to do so by not using it and seeing the consequences. I am trying to see how I can manage different versions of ruby and their gemsets without RVM. I ...
1
vote
0answers
235 views

install dbmail or other e-mail database

I'm starting to use ruby to parse and store e-mails, but don't want to reinvent the wheel. I have a subset of e-mails, all in one account stored locally, which I would like to keep in a database. ...
1
vote
0answers
43 views

Ruby: Problem with updating [closed]

I want to use ruby 1.9.1 . The problem I am facing is shown below. I wish someone could help me out. $ uname -a Linux almb-PC 2.6.38-15-generic-pae #66-Ubuntu SMP Tue Aug 14 17:45:09 UTC 2012 i686 ...
1
vote
1answer
4k 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
1answer
589 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 ...
1
vote
2answers
68 views

Will a Ruby installation installed by a package manager conflict with one installed with RVM?

I installed the Heroku Toolbelt the other day, and it looks like Ruby was a requirement, so the package manager installed it for me. But I was planning to install Ruby through RVM. Will the two Rubys ...
0
votes
2answers
96 views

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 ...
0
votes
3answers
418 views

Why has Ubuntu 13.10 more recent packages than 13.04?

I don't understand how some packages are managed in Ubuntu. How are they moved from unstable to testing? The Debian FAQ says: Unstable has the most recent (latest) versions. But the packages ...
0
votes
1answer
467 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 ...
0
votes
2answers
55 views

How do I fix 'jekyll: command not found' error permanently?

I've installed Ruby, RVM, and Jekyll following this tutorial and everything works fine after following those steps. My issue is that each time I open a new terminal window and want Jekyll to rebuild ...
0
votes
2answers
899 views

How do you login into /bin/bash automatically?

Im on 12.04 LTS and am doing to Ruby on Rails development. When I start up my terminal and type in ruby -v it will list my Ruby as 1.8.7. When I type in /bin/bash --login then ruby -v will list it as ...
0
votes
1answer
569 views

I downloaded ruby on rails, but it says it isn't installed.

I downloaded ruby on rails on ubuntu 12.10 through this tutorial http://technical-feeds.blogspot.ca/2013/02/how-to-install-ubuntu-and-ruby-on-rails.html. I did everything and it worked fine. I ...
0
votes
2answers
418 views

Fix bash_profile to Develop Ruby on Rails Apps

I just installed Ruby and Rails stuff on my machine, and start to learn. But every time I close the Terminal and re-open it, I have to re-type the command . ~/.bash_profile in order to run Rails ...
0
votes
1answer
875 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. ...
0
votes
1answer
342 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
509 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 ...