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 [ ...
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 ...
0
votes
1answer
59 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
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 ...
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 ...
7
votes
4answers
12k views

Install Ruby 2.0 with OpenSSL and ReadLine support

I have a fresh Ubuntu 12.04 VM, and I would like to install Ruby 2.0.0-p0. I am able to get Ruby installed easily enough, but I am unable to get gems to work. $ gem install bundler ERROR: Loading ...
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] ...
9
votes
4answers
5k views

/sbin/getty process causing 100% CPU utilization

I have an instance of Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual i686) running as a KVM-VM on a host-machine that runs one more VM beside it. I deploy a Ruby on Rails application using the ...
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 ...
1
vote
1answer
1k 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 ...
5
votes
1answer
3k views

Cannot install sqlite3

OS: Ubuntu 12.04 LTS $sudo apt-get install libsqlite3-dev The following packages have unmet dependencies: libsqlite3-dev : Depends: libsqlite3-0 (=3.7.9-2ubuntu1) but 3.7.9-2ubuntu1.1 is to be ...
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 ...
3
votes
2answers
8k 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 ...
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
54 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
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
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
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
247 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
436 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
81 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 ...
0
votes
2answers
722 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
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
299 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 ...
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
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 ...
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
298 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
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
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 ...
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 ...
8
votes
3answers
5k 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
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 ...
18
votes
3answers
32k 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
252 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
242 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 ...