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

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
15 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
45 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
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 ...
0
votes
1answer
32 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
80 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
20 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
38 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
28 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
85 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
26 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 ...
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
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 ...
0
votes
1answer
58 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
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 ...
-1
votes
2answers
52 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
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 ...
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
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
190 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
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- ...
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 ...
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 ...
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 ...
0
votes
0answers
115 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 ...
-1
votes
1answer
103 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
0
votes
2answers
942 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 ...
0
votes
1answer
60 views

“Permission denied” when download from script(ruby) file [duplicate]

I want to download a project's dependencies from a script file in tutorial said: run this comment to download ./download-dependencies core my way was like this: $ cd Documents/ImageProccesing/ $ ...
0
votes
2answers
68 views

How to access the Ruby Command line in ubuntu 14.04?

I have Installed Ruby On Rails of version 2.1.3p242 on my system. But I can't findout the ruby command line. I have searched but not found. I have try to to check through man ruby : Show some ...
1
vote
2answers
54 views

A Software Center review claims Ruby has a virus. Is it accurate?

I'm working on a Javascript webapp and trying to figure out how to add documentation. It seems like the only option is to install something that lives on a server. I thought maybe I'd try JSDuck. It ...
0
votes
0answers
92 views

can't resize images using paperclip on rails

so I am writing a rails app, I am using paperclip gem to upload images, here is my model class Recipe < ActiveRecord::Base has_attached_file :image, :styles => { :medium => "300x300>"} ...
2
votes
0answers
44 views

Termial not accepting options

I'm using Ubuntu 14.10, and for some reason the terminal command will not accept options. (I believe these are called option, please correct me if I am wrong). For example, when installing a new ...
0
votes
1answer
374 views

How to auto load source file on bash startup?

I recently installed Ruby Version Manager (RVM) to make use of the command called compass. Initially it was working find on installation, but now I get a missing error: The program 'compass' can be ...
0
votes
1answer
209 views

14.04 Live USB stick can't install nodejs

I'm running Ubuntu 14.04 on a USB stick, and I'm trying to get my Ruby on Rails dev environment setup. I'm having trouble installing nodejs. I used the method: sudo add-apt-repository ...
-1
votes
1answer
40 views

Getting no file or directory on starting terminal in Ubuntu 14.04

I am getting the following message on terminal start -bash: /home/abhineel/.rvm/scripts/rvm: No such file or directory
0
votes
0answers
136 views

.ruby.bin consumes all my CPU at Boot

I have this problem that I need help with, when i start my PC, .ruby.bin takes up most if not all the resources....how do I stop it? I cant post any images from top output (reputation lack)
1
vote
1answer
22 views

I have trouble making a ruby file [closed]

I try to make a file but it said 'The file is not valid.' require "./lib/NAME.rb" require "test/unit" class TestNAME < Test::Unit::TestCase def test_sample ...
2
votes
1answer
157 views

How to make a Openbox dockapp with GTK?

I'm using Openbox and I want to make a dock-app (NOTE: not a dock like plank/docky but a dock-app like stalonetray or lal) in GTK+. How do I get the simple app I have written to sit in the dock area? ...
0
votes
0answers
62 views

psql autocomplete stopped working suddenly

So I have psql 9.3 installed on my Ubuntu machine. Today I updated my Ruby and Ruby on Rails versions up to date and after that when I wanted to access my database in psql, I typed in as usual: psql ...
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!
-1
votes
2answers
785 views

Can install Rails on Ubuntu 14.04 with Ruby 2.1.3

I am using Ubuntu 14.04. I wanted to use the latest ruby (version 2.1.3), so I installed it with RVM. rvm install ruby --latest rvm use ruby --latest --default But when I try to install Rails, i ...
0
votes
0answers
24 views

How to configure ufw to allow ruby gem installs on 12.04?

I have the following setup: To Action From -- ------ ---- 10022 ALLOW IN Anywhere 80 ALLOW IN ...
0
votes
0answers
39 views

Problems installing Betty in zsh

I tried to install Betty in zsh like that: cd ~ && git clone https://github.com/pickhardt/betty echo "alias betty=\"~/betty/main.rb\"" >> ~/.zshrc source ~/.zshrc I installed her in ...
0
votes
1answer
73 views

jekyll not respecting _config.yml — possible to upgrade?

Ubuntu 14.04 | default ruby 1.9.1 | Jekyll 0.11.2 Jekyll isn't respecting a number of my settings in _config.yml. I'm guessing this is because current Jekyll (gem) version is 2.3.0, but I could be ...