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

learn more… | top users | synonyms

0
votes
3answers
28 views

Java Process takes more memory and Machine stop working

I am new to Linux, I am using Ubuntu 14.04LTS, But suddenly my machine stop working.I run $ free -m and get results total used free shared buffers cached Mem: 7897 ...
0
votes
0answers
7 views

Unable to install Github-Pages with gem?

I've been trying to install github-pages using gem. I have Ruby v. 2.1.2: ✦ ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] I installed Ruby using RVM and I've set 2.1.2 as my ...
0
votes
0answers
13 views

Upstart Ruby version issue

I am trying to get Upstart to fire up Sidekiq (https://github.com/mperham/sidekiq/wiki/Deploying-to-Ubuntu). I can manually start it but the same command fails in the Upstart script. I have piped ...
1
vote
1answer
19 views

Keyboard shortcut for ruby script

I have some problem here when I'm trying to make a keyboard shortcut for my ruby script. So the first step I've do for it was to make a alias and add that command for alias on file .bashrc alias ...
0
votes
1answer
22 views

How do I symlink this file?

I'm really confused. I'm trying to install rvm ( Ruby's version manager ) but keep getting an error message. Something about how /etc/pki/tls/certs/ca-bundle.crt not found. I believe the security ...
0
votes
0answers
49 views

Ruby/RVM with @global gem - bundle run fails with `require': cannot load such file — bundler (LoadError)

I study linux for 1 month. While I tried to make all steps from Migrating from MySQL to Postgres on Heroku I've got an error I could not handle. When I try to install the mysqltopostgres gem from ...
-1
votes
0answers
39 views

How to perform SCP using Chef automation tool?

I want to copy a "tar" file (JAVA tar ball) from Chef Workstation to Chef Node. How can I achieve that? I tried with these block of Ruby scripts (default.rb) but its of no use 1. excecute ...
0
votes
0answers
54 views

two postgres have been installed, remove both

I have previously installed postgres 9.1 by How To Use PostgreSQL with Your Ruby on Rails Application on Ubuntu 14.04 It was installed correctly and my app was working fine, but today its not working ...
0
votes
0answers
16 views

'rake aborted!' Stuck on gitimmersion tutorial

I am going through the Git Immersion tutorial on Lab 21 here: http://gitimmersion.com/lab_21.html After I had installed Rake and created the 'Rakefile' with the contents: !/usr/bin/ruby -wKU task ...
-1
votes
1answer
15 views

can i copy ruby distribution from utopic to vivid?

I am shifting to vivid from utopic. I have a working ruby environment installed with rvm of size around 1.7 GB. Is there a way i can use this(or some part of it) in my newly installed vivid? For ...
0
votes
0answers
26 views

Install chruby and ruby-install so that they update

I want to install chruby and ruby-install to manage my ruby installs. However, it seems that they cannot be obtained via apt-get nor from a .deb file. Is there a way to install these so that they ...
0
votes
0answers
11 views

cant find libmysql-ruby on apt-get [duplicate]

I'm trying to install the gem mysql2 , using ruby 2.2.3p173 and ubuntu 14.04 so i found here i was missing the libmysql-ruby and libmysqlclient-dev , but i cant find the libmysql-ruby on apt-get, ...
0
votes
0answers
11 views

When update for Ruby? (Wily 15.10) [duplicate]

I guess this is directed at the Ubuntu developers... When will an update for Ruby be available? Wily 15.10 apt-get still delivers 2.1.5 when 2.2 (and now even 2.3) is available. (Not interested in ...
1
vote
2answers
82 views

gem failed to install bropages

There is an alternate manpage documentation software called bropages, written in ruby, and I want to install it. I followed the instructions on the site, but got these errors: ~$ sudo gem install ...
0
votes
1answer
61 views

Getting 'Permission Denied' when running bundler command

I need to install bundler for an application so here's what I'm doing (instructions from the application documentation directly): mkdir ~/.gems export GEM_HOME=~/.gems gem install bundler -v 1.10.3 ...
2
votes
0answers
28 views

I want to use Ruby built from source, and also use Gvim [duplicate]

vim-gtk and vim-gnome both have libruby1.9.1 as a package dependency (in trusty), which in turn depends on ruby1.9.1 and I fear doing sudo apt-get install vim-gtk will cause commands such as irb and ...
0
votes
1answer
44 views

Removing unwanted rows from csv file having more than 10 patterns to be matched

I have a CSV file which has 2 columns and i have to match values in a single in row in both the column , if it matches the criteria we have to keep the column otherwise delete the entire row. Below is ...
1
vote
0answers
32 views

Making ruby script into .exe

Is there a way to make a windows executable from a ruby script on Ubuntu ? I've tried to achive that with ocra gem but I constantly getting this error : ...
0
votes
0answers
25 views

Vagrantfile print statements

I have this in my vagrant file, how can I get it to print only when someone does 'vagrant up', as it is now it prints out for every vagrant command. Print actual system string for preview p ...
0
votes
1answer
125 views

Problems on setting up rails server (4.2.4) on Ubuntu 14.04 LTS

Noob question here. I've been trying to install Rails 4.2.4 on my Ubuntu 14.04 LTS. I think I achieved it using RVM, but I'm not sure if everything needed is installed, because when I try to use the ...
1
vote
2answers
2k views

Install ruby 2.2.3 via apt

How to install Ruby 2.2.3 via apt on Ubuntu Wily? I tried sudo apt-get install ruby2.2-dev and sudo apt-get install ruby2.2 (What's the difference, btw) and both commands seem to have installed quite ...
0
votes
0answers
13 views

Tk with Ruby v2.0 on Ubuntu with RVM

Is there anyway I can get Tk to work on Ubuntu 14.04 when using rvm? I've tried every method I've found online to no avail.
0
votes
0answers
169 views

Trouble installing Ruby

I run - sudo gem install pg -- --with-pg-config=/opt/metasploit/postgresql/bin/pg_config Which results Building native extensions with: ...
0
votes
0answers
32 views

Simplest Way to do a Local Home Rails Server on Ubuntu 14.04 without Subscription Services

I've been browsing many tutorials with regards to deploying a rails app unto a server; however , many of these articles require something like "Digital Ocean" VM's to run. I just want a very simple ...
0
votes
0answers
20 views

looking for a nagios or ruby expert to help me get away from bad bash practices

Granted the problem: I want to; mount, copy files, and unmount; automagically when drive is connected, I see the following 2 options (i'm sure there are more concise ways I'm not aware of).. maybe ...
0
votes
1answer
329 views

Gem Debugger won't install with bundle install

I have installed ruby on rails using rvm. I am using 2.2.0 ruby and 4.2.0 Rails. I tried running bundle install on an older project that I developed on a former pc but I get : Gem::Ext::BuildError: ...
1
vote
1answer
777 views

Can't run bundle install in ubuntu

I have installed ruby on rails using rvm . I am trying to bundle install an older project that I had on a former pc but I get the following error when I run the bundle install command: Installing ...
0
votes
1answer
180 views

gem install bundler error

I am newbie here. When I tried to install gem install bundler, it gave me ERROR: Could not find a valid gem 'bundler' (>= 0) in any repository ERROR: While executing gem ... ...
0
votes
0answers
184 views

How do I use the latest Sass and Compass?

I've had problems with multiple ruby versions installed, couldn't install animation gem properly. The latest Compass has it included so it might solve it for me. I don't need ruby for anything else so ...
0
votes
1answer
222 views

Getting error sudo:source: command not found on Ubuntu

i need to install ruby version 2.1.5 and Rails version 4.2.0 on my Ubuntu server.Here i am getting error which is given below. Error: sudo:source: command not I followed the below steps for ...
0
votes
1answer
18 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
1answer
40 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
502 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
91 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
219 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
38 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
96 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
450 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
361 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
32 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
119 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
20 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
103 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
218 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
80 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
99 views

Can't create username for PostgreSQL

After installing rails and trying to install PostgreSQL in the terminal (following these instructions ...
0
votes
1answer
173 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
1k 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
292 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
86 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 ...