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

learn more… | top users | synonyms

0
votes
0answers
25 views

Use terminal to run programs scripts a short 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 $ ...
14
votes
2answers
26k views

How to find and install latest Ruby version using RVM?

I finally got RVM working and now I would like RVM to install the latest stable ruby version. In the tutorial I am using they installed ruby 1.9.3 with command : rvm install 1.9.3 Now I want to ...
1
vote
1answer
86 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 ...
0
votes
0answers
38 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
15 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
1answer
28 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
15 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- ...
0
votes
0answers
12 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
11 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
35 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 ...
1
vote
5answers
5k views

I can not remove Ruby1.9.3p0 from ubuntu. What is the process?

I have installed ruby 1.9.3p0 and on executing the command ruby -v it shows the version 1.9.3p0 installed. When i try to remove it by command sudo apt-get remove ruby1.9.3p0 it says package not found ...
2
votes
1answer
5k 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
82 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 ...
2
votes
2answers
353 views

pdfbeads will only output a single page

Following the instructions from this page I take a djvu document, check it for any sign of corruption by opening it in djvulibre and it checks out fine. Copy it to my testing folder and rename it ...
0
votes
2answers
3k views

gem install error: “cannot load such file — zlib”

I'm trying to install ruby on rails from scratch on Ubuntu 12.10. Getting help from this post: echo "[[ -s '${HOME}/.rvm/scripts/rvm' ]] && source '${HOME}/.rvm/scripts/rvm'" >> ...
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
0answers
79 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
22 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 ...
0
votes
2answers
444 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 ...
9
votes
4answers
17k views

How do I install ruby-rvm?

I want to install a rails environment on Ubuntu 11.04. I tried: $ sudo apt-get install ruby-rvm But got the error: Unable to locate package ruby-rvm My other PC has Ubuntu 11.10, and this ...
2
votes
3answers
2k views

Can't install libopenssl-ruby

I'm trying to install ruby on rails and I can't seem to install libopenssl-ruby. I'm on a VPS and I've installed Jaunty as the newer releases don't seem to work very nicely. When I do: apt-get ...
2
votes
1answer
12k views

GNU Make not found - How to install GNU Make on 12.04

We have set up an Ubuntu 12.04 LTS server for RoR. We did successfully install rvm and git. However installation failed with rvm for zlib and ruby 1.9.3. Here is the error log for $rvm install 1.9.3: ...
-1
votes
1answer
78 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
7
votes
3answers
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
2answers
267 views

Installing rbenv apt-get vs git checkout

I'm finding confliccting advice on how to install rbenv (and ruby) in recent ubuntu versions (13.10). Many guides suggest cloning from git, and updating bashrc etc. For example this guide on ...
0
votes
1answer
53 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
47 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
49 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
68 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
42 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
192 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
119 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 ...
11
votes
4answers
15k views

Install ruby 2.0 without ruby-switch?

I'm finding the task of installing ruby 2.0 on the latest Ubuntu 14.04 rather frustrating. I'm aware that I could forgo the packages and install from source - but I'd far rather install a package - ...
-1
votes
1answer
35 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
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 ...
0
votes
0answers
94 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)
2
votes
1answer
128 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? ...
3
votes
3answers
847 views

How to install Ruby Ripper, or another app that does MP3s through a GUI

I have tried to install ruby ripper various times (raring) using code pasted from the internet. everytime i get to sudo apt-get install rubyripper, i get this back: E: Unable to locate package ...
0
votes
1answer
66 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 ...
-1
votes
2answers
656 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
46 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 ...
5
votes
3answers
3k 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
2answers
620 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!
0
votes
2answers
2k views

Installing Rails on Ubuntu 13.04

I tried installing rails according to this guide, and when I do, I get this error: $ sudo gem install rails WARNING: Error fetching data: Errno::ENOENT: No such file or directory - getaddrinfo ...
0
votes
0answers
23 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
33 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
0answers
23 views

How to install vagrant if ruby is already installed in the system?

I had installed ruby via rbenv and installed the latest stable version from their repository. I have also configured ruby for all the users. Now, when I am trying to install vagrant via apt-get it ...
1
vote
0answers
90 views

Confusion for mime files: magic, magic.mgc, magic.mime

I'm using Ubuntu. I'm trying to use ruby gem 'shared-mime-info' for an application I'm writing. I understand that magic.mgc is a compiled version of magic file which has magic number definitions for ...
2
votes
1answer
2k views

OpenSSL installed, but Ruby unable to require it

I'm trying to setup github-pages on my Ubuntu laptop, and following the guide provided by Github I have to install the bundler package; giving the command ~$ gem install bundler returns me this ...
1
vote
0answers
194 views

Error installing rvm on Ubuntu 12.04

I'm taking a web applications development course on Coursera that requires me to install Ruby and Rails. I'm following the instructions at ...