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

learn more… | top users | synonyms

2
votes
1answer
2k 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
418 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
784 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
345 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
866 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
738 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
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 ...
2
votes
1answer
530 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
571 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 ...
3
votes
2answers
4k views

How can I reinstall redmine?

I have a redmine setup. today morning I saw that my redmine folder was empty and I was unable to access redmine, so I tried installing redmine again using: sudo apt-get install redmine I am getting ...
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".
2
votes
2answers
1k views

Installing RVM on 11.10

I have been trying to get RVM properly installed on my system for 10 hours. The problem is, that when ever I run the command to download the install script I get this: edu@edu-VirtualBox:~$ bash -s ...
2
votes
2answers
332 views

Error while installing rails

Following this tutorial here, to install ruby on rails on ubuntu 11.10 with sqlite3 when I run the following command sudo gem install rails I get the following error : ERROR: Could not find a ...
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 ...
2
votes
1answer
430 views

No ruby alternatives on 11.04 / 11.10?

Running update-alternatives --config ruby fails: # uname -a Linux test06 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 04:06:34 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/lsb-release ...
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 ...
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 ...
2
votes
1answer
2k views

Cannot get rvm to install correctly

Is anyone noticing problems when trying to install rvm on ubuntu? I have both Ruby 1.8.7 and 1.9.2 installed on my machine but can't figure out how to make it default to 1.9.2 other than the rvm ...
1
vote
2answers
555 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
125 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 ...
2
votes
2answers
1k views

Is there an alternative to installing Ruby Version Manager (RVM) from repository in Ubuntu Software Center?

I generally avoid the hosted Ruby repos and install RVM manually but I notice there's an RVM repo in Ubuntu Software Center now. Has anyone used it? Would I be better off continuing to install RVM ...
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 ...
0
votes
1answer
283 views

ruby-sinatra fails to install

I want to install the package ruby-sinatra on a ubuntu server 10.11. It fails because this package depends on ruby-rack, which is an virtuall package. What can I do?
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 ...
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. ...
1
vote
1answer
293 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 ...
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
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 ...
1
vote
1answer
619 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 ...
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 ...
2
votes
2answers
330 views

RVM is not showing up except when I log in remotely

I installed rvm, like you're supposed to do (apparently), avoiding apt-get to handle my ruby installations (as @btelles points out here: ...
1
vote
3answers
178 views

How do I get the ruby prompt with Ruby 1.8 package

I have installed ruby1.8 and ruby1.8-dev packages but it doesnt respond to the ruby command at the command line. ruby The program 'ruby' is currently not installed. You can install it by typing: ...
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 ? ***** ...
2
votes
1answer
149 views

Backup and restore development files?

I started with Ubuntu with a small partition and I'm running out of space. I'm planning to dump Windows altogether and use my full disk for Ubuntu (also, doing a clean install for once), but I need ...
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 ...
2
votes
1answer
1k views

how to install ruby offline?

I am trying to install ruby on a server which does not have connection to internet. I have copied ruby-1.9.2-p180.tar into ~/.rvm/archives. I tried to run rvm install ruby-1.9.2-p180 after that, but ...
0
votes
1answer
428 views

Lua or Ruby (or something else?) for scripting?

I'm making a program in Java and I'm choosing a language for scripting. I'm aiming for speed and for being easy to learn/code for a java program. (So what I mean by Ruby and Lua is JRuby or LuaJ or ...
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?
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 ...
0
votes
1answer
217 views

Installing Snippits fails

I am trying to install snippits, but it fails with the error message ERROR: Error installing snippits: hoe requires RubyGems version >= 1.4 How do I get around this?
2
votes
2answers
6k views

Ruby IDE for Ubuntu [duplicate]

Possible Duplicate: What IDEs are available for Ubuntu? I am in search of a light-weight RoR IDE for Ubuntu. Netbeans is good but bulky for a beginner. Same is true with Eclipse. Is there ...
2
votes
0answers
354 views

How do I run rubymine as a regular user? [closed]

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

What is the proper way to install Puppet on a server? [duplicate]

Possible Duplicate: How do I install a puppetmaster? We've got several Ubuntu 10.04 servers and I'm looking to deploy Puppet for configuration management. The machines already have RVM ...
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 ...
0
votes
1answer
5k views

How do I install Capistrano?

I'm struggling here with no success in order to install capistrano on my Ubuntu dev machine. Here is the list of commands issued: 1) sudo apt-get update 2) sudo apt-get install build-essential ...
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 * ...
0
votes
1answer
662 views

Does mysqldump return a status?

I am creating a script that backups a mysql db using the mysqldump utility. I am writing this script in the shell "sh". I would like to capture the output status of mysqldump in the script (i.e. if ...
1
vote
5answers
2k views

How to install Ruby on Rails and MySql?

How to install Ruby on Rails and MySql on my Ubuntu 10.04 OS?
1
vote
1answer
361 views

Installed Ruby 1.9.2 but new gems won't create scripts into /usr/bin

I had previously ruby 1.8 on my Ubuntu 10.10, which I removed through Synaptics. Then I have installed ruby 1.9.1 also via Synaptics (which is then saying that itself is version 1.9.2). Then I ...