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
12 views

Test my custom created DNS?

I used VPS Ubuntu 14.04 (x64) to install test environment for my Ruby on Rails development. And I succeed with installing and configuring. Now I also configured DNS on that VPS server, everything ...
0
votes
0answers
9 views

Error deployment of project via deploy.sh script

I need help. I have script for deployment my project on Ruby. #!/bin/sh if [ $# -eq 0 ]; then echo "Usage:" echo " ./deploy.sh some_stage_name" else rvm use `cat .ruby-version`@`if [ ...
0
votes
1answer
91 views

bin/bash: ruby command not found. Ruby not in sudo path

I can't seem to run any code on ruby with any text editor. This error is returned when code is run /bin/bash: ruby: command not found [Finished in 0.0s with exit code 127] [shell_cmd: ruby ...
1
vote
2answers
26 views

installing pdfbeads fails

I am trying to install the ruby gem pdfbeads via sudo gem install pdfbeads All i get is an error message which looks cryptic to me an searching for it does not result in useful posts... Building ...
2
votes
1answer
47 views

run a ruby program on startup

I have written a small webSocket server using ruby. I run it from the command line using the command: ruby websocket_server.rb This will bring the server up and will work till I keep my ssh ...
0
votes
0answers
12 views

ERROR with gem for a ruby tool?

I am trying to install a tool script called bio-polyploid-tools and I am getting this error after command sudo gem install bio-polyploid-tools sammanmahmoud@samman[bioruby-polyploid-tools-master] ...
0
votes
0answers
25 views

I can't run Ruby script in Aptana Studio 3

I can't run my script in Aptana Studio 3. It is simple Ruby Srcipt like : BEGIN{ puts "And my adventure with Ruby already started." } puts "Hello World!" END{ puts "Its is the end of this GemUno ...
1
vote
1answer
100 views

Install ruby 2.0 under Ubuntu 15.04 box

I have a problem when trying to install ruby 2.0 under Ubuntu 15.04 box I have add ppa:brightbox/ruby-ng with bellow command: sudo apt-add-repository ppa:brightbox/ruby-ng And I get following error ...
0
votes
1answer
58 views

How to install Shoes GUI framework for Ruby? .install file

I want to install Shoes framework for Ruby but when I went to their website and downloaded it all I got was a file with .install at the end. How can I install it?
2
votes
1answer
28 views

I'm trying to install rails and I think I just broke my Ubuntu installation, any help?

I am following this guide to install ruby on rails to work with Apache and Passenger. I have followed it step for step and done every command in verbatim. Soon after running sudo nano ...
0
votes
0answers
51 views

Redmine not running on apache2 as rails app , just show 'Index Of' header and library content.

I trying to run redmine3.04 on apache2. My OS is ubuntu 12.04 - opensource. the app run correctly locally : /usr/share/redmine$ bundle exec rails server webrick -e production output: => Booting ...
0
votes
1answer
16 views

Cannot get a meaningful response to the command 'gem list '

I know I have gems installed because the response to the command $ gem environment RUBYGEMS VERSION: 1.8.23 OK, now I want to know which gems are installed, so I type: $ gem list *** LOCAL GEMS ...
0
votes
1answer
55 views

How do I run programs in Ubuntu?

Or more precisely, what does Unbuntu use instead of Windows .exe files? For instance, in my last question I asked about Ruby 2.2.2. I want to know which file is the actual Ruby program and all I have ...
0
votes
1answer
112 views

Ruby 2.2.2 extracted but not installed?

I read that the Software Center doesn't always have the latest version of Ruby, so I went ahead and downloaded it from the Ruby website. The problem is, I'm new to Linux so I don't know if it's ...
0
votes
0answers
32 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
33 views

Can't create username for PostgreSQL

After installing rails and trying to install PostgreSQL in the terminal (following these instructions ...
0
votes
1answer
78 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
249 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... ...
0
votes
1answer
83 views

Dropdown menu not showing/working on rails [closed]

"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
26 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
40 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
40 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 ...
1
vote
0answers
17 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
1answer
62 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
302 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
31 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 ...
0
votes
1answer
77 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 ...
1
vote
1answer
60 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
438 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
0answers
22 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 ...
0
votes
1answer
63 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
255 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
41 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
72 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
133 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 ...
0
votes
0answers
253 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 ...
0
votes
1answer
195 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
67 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 ...
0
votes
0answers
15 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
26 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
38 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
1answer
98 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
0answers
19 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 ...
-1
votes
2answers
104 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 ...
3
votes
1answer
326 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 ...
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 $ ...
1
vote
1answer
5k 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
627 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
71 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
0answers
72 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- ...