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

Ubuntu-touch ruby / rails development: installing with rvm

I have a Bq10 tablet running Ubuntu-touch OTA-11. I want to be able to work with Ruby and rails apps. Usually I use rvm for this. Is it possible to install rvm [or something similiar] using ubuntu-...
1
vote
1answer
43 views

Errors when I open terminal after trying to install Metasploit

I tried installing Metasploit on Ubuntu 16, using this webpage. Following the instructions, I got the following error sudo: exec: command not found While downloading Ruby rbenv, I forgot to do the ...
0
votes
0answers
8 views

Understanding Ruby Setup with bundler “bundle install” as non root

I received a ruby source code + dependencies and db. The code is about 3 years old and running on an 12.04 Ubuntu. Now I am trying to make a fresh setup on 14.04. I installed a lamp stack and wanted ...
2
votes
1answer
45 views

Jekyll broken after upgrading Ubuntu/Ruby

I use Jekyll on my Ubuntu laptop. It worked with 15.10. I've upgraded to 16.04 and I got this error message : $ jekyll -v bash: /usr/local/bin/jekyll : /usr/bin/ruby2.1 : bad interpreter: no file or ...
-2
votes
0answers
29 views

plzz help kernel_require.rb:55:in `require'

I am receiving the following error when I run the ./wpxf.rb file I do not know, whether is this the imbalance of the script or the interpreter Ruby.
1
vote
1answer
139 views

Cant install Ruby on Ubuntu 16.04 LTS

Can't install Ruby via sudo apt-get install ruby-full The following packages have unmet dependencies : Ruby, ruby-dev, libtcltk-ruby, ri E: Unable to correct problems, you have held broken ...
0
votes
1answer
32 views

Installing Ruby On Rails shows errors on line 168 [closed]

I am trying to install ruby on rails on my me elementary OS 0.3.2 Freya. and now i am seeing the following errors on my terminal. even if when i restart the terminal the errors shows on the first ...
1
vote
1answer
39 views

How to install QtRuby + Qt4 on Ubuntu 14?

I wish to program in ruby in QtCreator. If I'm right, I need to install QtRuby + Qt4, but with no success on Ubuntu 14. How to do? Thanks!
0
votes
3answers
133 views

How to downgrade Ruby on Ubuntu?

I'm running Ubuntu 16.04. My ruby version is: ruby 2.3.0p0 (2015-12-25) [x86_64-linux-gnu] How can I downgrade ruby to version 2.1 to be in line with the rest of my development team (some of our ...
0
votes
0answers
66 views

installing for Chromebook converted to Linux?

I just got Linux on my Chromebook. for now, Chromebook is my only option to use Linux as my desktop is out of commission. I started using The Odin Project, and I need a bunch of things on my ...
0
votes
0answers
228 views

Can't install json 1.8.1

I'm trying to install json gem using ruby 2.2.3 (I've tried with other oversions), and I always get the same error: Fetching: json-1.8.1.gem (100%) Building native extensions. This could take a ...
0
votes
1answer
93 views

Jekyll not working on 16.04

My Google search showed that this question was asked here and then deleted by the asker, so I'm not sure if I'm asking something stupidly obvious. I'm trying to start a jekyll project after upgrading ...
0
votes
0answers
25 views

Any harm of doing 'Run command as login shell'

I've installed RVM and everytime I execute rvm use <version>, terminal complains me that RVM is not a function, selecting rubies with 'rvm use ...' will not work. You need to change ...
0
votes
0answers
171 views

msfconsole not running Ignoring bcrypt-3.1.11

I have problems when running metasploit on Ubuntu LTS 14:04. I've created a database msfconsole and run postgresql but still does not work. root@evan:/home/evan# msfconsole Ignoring bcrypt-3.1.11 ...
0
votes
0answers
20 views

RailsEnv misspelled or defined by a module not included in the server configuration

I am following this link http://blog.redpanthers.co/2015/10/how-to-deploy-a-rails-app-with-passenger-and-apache-in-ubuntu-14-04/ in order to install ruby on rails with rvm and passenger. I was fine ...
0
votes
0answers
84 views

Cannot load such file bcrypt_ext

While using metasploit i'm getting this issue /.rvm/gems/ruby-2.1.8@metasploit-framework/gems/bcrypt-3.1.11/lib/bcrypt.rb:16:in `require': incompatible library version - /home/.rvm/gems/ruby-2.1.8@...
0
votes
1answer
161 views

Trouble removing ruby 2.3.0p0 from Ubuntu

I need to install ruby via rvm. I already have it installed via packet manager though, and now I want to remove that version. So far so good, removing stuff with apt-get remove isn't hard. BUT after I ...
0
votes
3answers
69 views

New to Ubuntu + Ruby Development + selenium

I am an automation engineer, I've been using java bindings with selenium web-driver on a windows machine for development of automated tests, however, I am switching to Ruby for developing automated ...
0
votes
0answers
79 views

cannot load such file — rspec/expectations (LoadError)

I got this when I run rspec spec its a sample project, and its very simple too but I couldnt found an answer for this case, I think it's an error in installation. Here is my tree and my files. Thanks ...
0
votes
1answer
66 views

AH00112: Warning: DocumentRoot [/home/rails/testapp/public] does not exist

I followed this link https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-passenger-and-apache-on-ubuntu-14-04 to install ruby on rails with passenger on ubuntu 14.04 and I ...
0
votes
1answer
115 views

Redmine installation on 14.04

I have installed Ubuntu 14.04 server and want to install fresh Redmine. I faced several problems while installing, and still no LUCK. I found some documentations regarding installation but they are ...
0
votes
0answers
22 views

Cannot Install Ruby1.9.1

I've added some ppa for Kali Linux tools in Ubuntu by the help of this answer. But now I cannot install ruby1.9.1 to my machine. Output is as below: Reading package lists... Done Building dependency ...
0
votes
1answer
247 views

can't install any new packages

I have been trying to install ruby on rails and I run into failures in all directions. I finally went into the package manager and right away it detected an issue and asked me if I wanted to resolve ...
0
votes
0answers
27 views

Unmet ruby dependency, but ruby installed

In an Ubuntu 14.04 server, I needed a recent version of ruby-passenger. The version I need is not available in the repositories yet (4.0.53-1). I obtained a deb and trying installing it with dpkg. ...
0
votes
0answers
12 views

Cannot find my software in “Open With” list

On Ubuntu, I would like to open a xxx.shoes file using Ruby Shoes, but it is not displayed in the "Open with" list. I added the following file: /usr/share/applications/shoes.desktop more /usr/share/...
1
vote
1answer
30 views

VirtualBox: Share whole Ubuntu drive on Windows (Host)

I currently have Ubuntu in VirtualBox. Currently I do web development in the Ubuntu since its easier to run Ruby on Rails in Linux then its on windows. But I had the idea to share the whole ubuntu ...
-1
votes
2answers
70 views

Trying to install Rails on Ruby and getting bash error during installation

I get this error when I run \curl -L https://get.rvm.io | bash -s stable: Command 'bash' is available in '/bin/bash' The command could not be located because '/bin' is not included in the PATH ...
0
votes
0answers
15 views

VPS with multiple hosts postfix configuration

a VPS running Ubuntu 14.04 has postfix installed for outgoing e-mail. File /etc/postfix/main.cf has the myhostname value set to one specific MX record. This VPS is intended to host multiple Rails ...
0
votes
1answer
92 views

Just installed Ubuntu/Ruby, cant create rails project

so I've just started using Ubuntu a few days ago, started trying to get an IDE working for Ruby on Rails developement, downloaded/installed everything from scratch. I found out the first version of ...
3
votes
1answer
161 views

How to autorun a ruby script in Ubuntu?

How hard can it possibly be to run a ruby script on startup?! Fairly tough apparently: I'm using rvm and running ruby 2.3.0. which ruby returns /home/ubuntu/.rvm/rubies/ruby-2.3.0/bin/ruby The ...
0
votes
3answers
53 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 ...
1
vote
0answers
70 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 ...
1
vote
0answers
32 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
33 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
30 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
212 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 ...
0
votes
0answers
106 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 ...
1
vote
1answer
69 views

'rake aborted!' Stuck on gitimmersion tutorial [closed]

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 ...
-1
votes
1answer
18 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
103 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
12 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
217 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
141 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
46 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
86 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
88 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 : /home/use/.rvm/gems/ruby-2.1.6/gems/ocra-1.3....
0
votes
0answers
78 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
193 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
8k 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 ...