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

learn more… | top users | synonyms

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
254 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
13 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
vote
0answers
40 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 ...
-1
votes
2answers
50 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
4 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 ...
7
votes
3answers
3k 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
30 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
75 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
19 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
33 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
27 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
30k 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
80 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
190 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
25 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
31 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
16k 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
1k 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
13 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
13 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
57 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 ...
0
votes
0answers
12 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 ...
1
vote
2answers
7k 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
14 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
6k 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
285 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 ...
19
votes
2answers
29k 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
1k 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 ...
1
vote
0answers
181 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
41 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
48 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
39 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- ...
0
votes
0answers
14 views

Help! Rails and Ruby Entirely Gone after trying to free up space

my ruby on rails installation is completely gone after i tried to free up some space on my ubuntu 12.04 i ran the following commands and when i restarted ubuntu, typing rails in the terminal says gem ...
1
vote
0answers
17 views

rack server won't start

I am a beginner to ruby and rack ; trying to start a rack server and the rackup config.ru command does nothing. right now my rackup file is #!/usr/bin/env ruby require "rack" Rack::Server.start ...
0
votes
0answers
37 views

upgrading from rails 3.2.19 to4.0.0.rc1 error

After upgrade rails project , problem occurs in project after removing country_of manufacture field it work otherwise not .how to fix it without removing field below are error Rendered ...
1
vote
5answers
6k views

I can not remove Ruby1.9.3p0 from ubuntu. What is the process?

I have installed ruby 1.9.3p0 and on executing the command ruby -v it shows the version 1.9.3p0 installed. When i try to remove it by command sudo apt-get remove ruby1.9.3p0 it says package not found ...
0
votes
1answer
142 views

Why the file has 0755, but 'Permission denied'?

Why the file has 0755, but I got an error 'Permission denied'? root@vagrant-ubuntu-trusty-64:~/.rbenv/versions/2.2.0/bin# ls -la total 14000 drwxr-xr-x 2 root root 4096 Feb 9 20:25 . drwxr-xr-x ...
2
votes
2answers
379 views

pdfbeads will only output a single page

Following the instructions from this page I take a djvu document, check it for any sign of corruption by opening it in djvulibre and it checks out fine. Copy it to my testing folder and rename it ...
0
votes
2answers
3k views

gem install error: “cannot load such file — zlib”

I'm trying to install ruby on rails from scratch on Ubuntu 12.10. Getting help from this post: echo "[[ -s '${HOME}/.rvm/scripts/rvm' ]] && source '${HOME}/.rvm/scripts/rvm'" >> ...
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
0answers
114 views

Ubuntu 14.10 appears to break rubygems native compilation

Folks, I have come to the conclusion that the issues I am facing with my ruby-on-rails database deployments have more to do with the differences between Ubuntu 14.04LTS and 14.10. When I tried to ...
0
votes
0answers
26 views

Can I embed a script/program on my desktop?

I've seen many apps that have their "widgets" that show up on the desktop, so I want to ask this: Can I integrate a little piece of script (Ruby code) onto Unity so that it appears on my desktop? It ...
0
votes
2answers
928 views

/usr/bin/ruby1.9.1: No such file or directory — /usr/share/rubygems-integration/1.9.1/gems/bundler-1.3.5/bin/bundle (LoadError)

After installing ruby-rails-4.0 (4.0.2+dfsg-2) attempting to generate a new web application fails with the following error: $ rails new hello .... run bundle install ...
10
votes
4answers
18k 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 ...
2
votes
3answers
2k views

Can't install libopenssl-ruby

I'm trying to install ruby on rails and I can't seem to install libopenssl-ruby. I'm on a VPS and I've installed Jaunty as the newer releases don't seem to work very nicely. When I do: apt-get ...
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
votes
1answer
102 views

how to compile ruby and python in ubuntu 14.10 [duplicate]

I've recently immigrated to Ubuntu and I don't know that much about it.i would be thankful if you could tell me step by step how to add ruby and python to Ubuntu 14.10. thanks