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

learn more… | top users | synonyms

0
votes
1answer
22 views

Why are these ruby gems pre-installed on Precise32?

I'm getting started with provisioning a development VM for developing web apps. To do this, I'm using Vagrant. Vagrant allows you to use a base "box" (virtual machine disk image?) that contains an ...
0
votes
0answers
9 views

Start Rails Application on Boot Ubuntu

I am trying to make my application Ruby on Rails (OpenProject) starting with the system boot, but to test the script as root, returns me the error: /usr/bin/env:ruby: No such file or directory. My ...
1
vote
1answer
11 views

Can't create username for PostgreSQL

After installing rails and trying to install PostgreSQL in the terminal (following these instructions ...
0
votes
1answer
31 views

mySql not working after upgrading to 15.04

After upgrading from 14.10 to 15.04 when i start rails server it gives this error: arslion@arslion-Lenovo-B570e:~$ rails s ...
0
votes
1answer
28 views

E: Unable to locate package libmysql-ruby

I try to install mysql for rails but i know that first must install the package libmysql-ruby I do the command E: Unable to locate package libmysql-ruby But It returns Reading package lists... ...
1
vote
0answers
172 views

Problems Installing Metasploit Framework on Ubuntu

I have encountered 3 problems while following this guide to installing Metasploit Framework on Ubuntu and Debian: 1) After installing proper version of ruby, there is a command given for installing ...
0
votes
1answer
20 views

Dropdown menu not showing/working on rails

"SelectDatabase" and "SelectTable" dropdown menu not working. _header.html.erb file <header class="navbar navbar-fixed-top navbar-inverse"> <div class="container"> <%= ...
0
votes
0answers
14 views

Problems installing Ruby 1.9.1 on Ubuntu 12.04

I am installing Ruby 1.9.1 on Ubuntu 12.04 and it seems to install an old version of gem; I don't understand why or how to fix this. This is what I do: $ sudo apt-get install ruby1.9.1 $ ruby ...
0
votes
0answers
10 views

Gem command to install ruby doesn't work

Trying to install a Ruby on Rails environment, but every gem command such as gem install rails results in an output of ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError) no ...
0
votes
0answers
15 views

unable to run metasploit

I installed metasploit on my system using the .run file from the official site. I also installed the dependencies using apt-get. Now when I type msfpro in the terminal and hit enter, it displays the ...
0
votes
2answers
665 views

rvm cant install ruby 2.0.0-p451

Hello I am trying to install ruby 2.0.0-p451 via: rvm install ruby 2.0.0-p451 and I get the following error: Searching for binary rubies, this might take some time. No binary rubies available for: ...
1
vote
0answers
7 views

Postgres server start fails - WANTED: netstat -ant|grep 5432 output explanation

INFO: I'm working on a Ruby on Rails app. Hosting on Heroku with postgres. Tried running "heroku run rake db:migrate" as usual, but getting error "cannot connect,... check if something else is already ...
0
votes
0answers
25 views

Ptcl EVO not working in Ubuntu 14.04

I live in Islamabad, Pakistan and when I am outdoor, I use Ptcl EVO with my windows 7 and it works fine, but now when I used it with Ubuntu 14.04, it worked fine initially but after sometime it ...
0
votes
1answer
79 views

Ruby on Rails install and run problem

I installed Ruby + Rails and its dependencies on a fresh installation of Ubuntu 14.04 using the following commands, Pre Install Checklist sudo apt-get update sudo apt-get upgrade Add apt ...
2
votes
0answers
28 views

Any way to catch the notifications so another program can read them?

I know you can see notifications in the terminal using dbus-monitor "interface='org.freedesktop.Notifications'" | grep --line-buffered "string", but is there any easy way to catch the notifications ...
1
vote
6answers
2k views

How to install Ruby on Rails and MySql?

How to install Ruby on Rails and MySql on my Ubuntu 10.04 OS?
0
votes
1answer
23 views

Xubuntu doesn't have or allow for installation of software center

I'm running Xubuntu 14.04 on an old dell tower I pulled out of my closet to use ruby on rails with. I was attempting to install ruby and rails but none of the installs took. My system is updated and ...
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 ...
0
votes
1answer
273 views

Installation Of ruby on rails in ubuntu14.04 [duplicate]

How to install ruby on rails on Ubuntu 14.04? Which versions are better to install, and how to install ruby (version) rubygems, rubygems_update -v (version), mysql_server libmysqlclient-dev mysql2, ...
1
vote
1answer
35 views

Ruby command not recognized after installing it with rvm

I followed this tutorial to install ruby with rvm: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm The problem is that ...
-1
votes
2answers
80 views

utilise atom or sublime text in ubuntu Python Ruby

Hello great people of Ubuntu! I try and try to ask the same question in different versions because it's seems equivalent to already asked and the answer is already in the forum. GOOD!(: But the ...
0
votes
0answers
17 views

Ruby broken completely

I want to install jekyll 1.0 but it seems my system is broken somehow. If I type ruby: ruby The program 'ruby' can be found in the following packages: * ruby1.8 * ruby1.9.1 Try: sudo apt-get ...
8
votes
3answers
4k views

Upstart tracking wrong PID of process - not respawning

I originally asked this question on StackOverflow. Then realised that this is probably a better place. I have bluepill setup to monitor my delayed_job processes. (Ruby On Rails application) Using ...
0
votes
1answer
48 views

Unable to install rvm using curl (https protocol issue)

I have a following problem. When using \curl -L https://get.rvm.io | bash -s stable --ruby to download rvm, I get error: curl: (1) Protocol https not supported or disabled in libcurl I'm ...
0
votes
0answers
151 views

I want to install vim with ruby support on Ubuntu 15.04 vivid vervet

I have installed Ubuntu 15.04 and am trying to set up my Ruby on Rails environment to program. I use vim as the IDE and it comes pre-installed without ruby support: vim --version | grep -i ruby ...
0
votes
0answers
32 views

Trouble getting nginx, unicorn and ruby on rails application working. Internal Error with no log ouput

I am having some issues getting my rails application up and running with nginx and unicorn. None of the different parts are printing out an error: app/log/unicorn.log app/log/production.log ...
0
votes
0answers
59 views

swap does not work in 14.04

I use vagrant to install my dev VM. The VM configured config.vm.box = "ubuntu/trusty64" config.vm.provider "virtualbox" do |vb| vb.memory = "256" end I follow How do I configure swappiness? to ...
0
votes
1answer
61 views

How can I capture shell variable output to use in my capistrano task

I am using capistrano to deploy a Ruby on Rails application. I previously was using Centos. In converting my task to be used with Ubuntu, I have a task that I was using for Centos was: capture("env ...
17
votes
3answers
31k 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 ...
0
votes
0answers
177 views

Installing OpenCV 2.4.10 in Ubuntu 14.10

I'm trying to install the Opencv ruby gem. I learned from http://stackoverflow.com/questions/20833485/not-able-to-install-ruby-opencv-gem that the gem requires the previous release of Opencv. I've ...
1
vote
2answers
211 views

FATAL: role “roelof” does not exist

I did install postgresql according to the manual. But as soon as I do rails server I see the above error. Roelof Edit 1: the sudo -u postgres createuser roelof did the trick but now when I do rake ...
0
votes
1answer
74 views

Package 'rubygems' has no installation candidate

As the title states, trying to get rubygems on my computer but it won't seem to find the package. Does the message mean that ruby has replaced it, and that I do not need it?
0
votes
0answers
52 views

How to Configure Passenger with Apache2 + Ruby on Rails on Ubuntu 14.04 LTS

I am having trouble installing Passenger on Ubuntu 14.04 LTS for Apache2, and was wondering if someone could please help me install Passenger for Apache? I can install Ruby on Rails fine but when I ...
14
votes
5answers
17k views

Install ruby 2.0 without ruby-switch?

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

How to remove Ruby 1.9.1 keeping Ruby 2.0.0?

I have Ruby 2.0.0 installed on Ununtu 14.04 but I can't remove Ruby 1.9.1. I replaced the /usr/bin/ruby symbolic link to ruby2.0.0, but hhen installing new gems I always get pointed to Ruby 1.9.1. ...
0
votes
2answers
2k views

how to set default to ruby 2.1.2

I have ruby 1.9.3 and 2.1.2, by opening the terminal by default it uses ruby 1.9.3 but i wanted to use ruby 2.1.2, can you please help me about., how to set default to ruby 2.1.2..?? Thank you!
0
votes
0answers
14 views

metasploit » ruby 2.1.5 environment issue [duplicate]

I installed ruby 2.1.5 globally from source & pulled metasploit from git. I symlinked the metasploit executables to /usr/local/bin/msf* However, i only can run the metasploit executeables from ...
0
votes
0answers
18 views

Upstart task is terminating spawned processes

I am using Ubuntu 14.04. I want to create an upstart task that will run a simple script on system boot. The script runs properly when run from the command line. Its job is to iterate a number of ...
0
votes
1answer
67 views

How to resolve the dependency of `highline`

I am new to Ubuntu and I wanna use RHC, so I followed the steps from this http://openshift.com/get-started and Installed: Ruby Ruby Gems Git And after that I am executing this command from the ...
1
vote
2answers
8k 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
0answers
17 views

12.04 — ruby1.8 missing dependencies

I just built a new 12.04 ubuntu box and tried to install puppet package. This failed because it could not load ruby1.8. After some fiddling around I tracked the issue down to the fact that the ...
0
votes
0answers
56 views

Use terminal to run programs scripts a short and practice way [duplicate]

in window I know make this withe the cmd but in ubuntu it's not good I have a question about the Terminal. I want to ask how to call a program in the terminal $ ...
2
votes
2answers
7k views

rvm /usr/bin/env: ruby no such file error

I've installed rvm + ruby systemwide. which ruby /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby and: /usr/bin/env: ruby: No such file or directory Everything else works fine, putting direct path of ...
3
votes
1answer
303 views

How to avoid reinstalling ruby each time I restart?

I need to do something with Ruby on Rails, so I have followed this guide to set up my development environment. I used the RVM method to install Ruby, then I install Rails as shows in the guide. I run ...
21
votes
2answers
31k 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 ...
1
vote
1answer
3k views

Can't install a Ruby package: Failed to build gem native extension

I installed ruby 2.1.0 and package pdfbeads on 32bit 12.04 last year following the blog https://railssavvy.wordpress.com/2012/06/02/install_ruby_and_rails/, and it worked. Now it seems that I have ...
3
votes
0answers
352 views

Problem with installing rvm

I try to install rvm on Ubuntu 14.04. $ \curl -L https://get.rvm.io | bash -s stable --ruby % Total % Received % Xferd Average Speed Time Time Time Current ...
0
votes
0answers
54 views

Errors installing capybara-webkit

I'm trying to install capybara-webkit, I've installed QT already, and purged + reinstalled qt and ruby after that didn't work. Building native extensions. This could take a while... ERROR: Error ...
1
vote
1answer
60 views

Gnome Tab not recognizing Rails anymore using ubuntu 14.04

I am having a strange issue , my main terminal is recognizing the RVM , Ruby and runs Rails command as well , and I had two tabs opened yesterday which were recognizing all of the commands . Today ...
1
vote
0answers
59 views

Why did lolcat stop working after installing rvm?

After recently doing something that involved installing rvm, this error occurs when I try using lolcat. /home/max/.rvm/rubies/ruby- ...