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

learn more… | top users | synonyms

1
vote
1answer
14 views

Package 'ruby1.8-dev' has no installation candidate [duplicate]

How can I solve this error? sudo apt-get update sudo apt-get install ruby1.8-dev sudo apt-get install mysql-server sudo apt-get install libgemplugin-ruby Currently I am getting this error: sudo ...
1
vote
1answer
16 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 ...
1
vote
0answers
18 views

How to install postgressql-server

For ruby development on Heroku I need to use postgresql, but when I do bundle install I see this message: You need to install postgresql-server-dev-X.Y for building a server-side extension or ...
0
votes
1answer
23 views

Question about compiling from ruby source and upgrade

I have three questions about compiling ruby (and other softwares) from source. Ruby is avaliable to install using apt-get, but I want to learn more about Linux and I want to compile from source. I am ...
1
vote
2answers
32 views

Daemonize process with autostart

I have simple script written in Ruby. I'd like to run as a background task (daemon process or service). What is more want to have control over it so that I can start and stop it. It will be perfect ...
1
vote
1answer
62 views

Ubuntu 12.04, ruby installation

I'm new to Ubuntu and Ruby and I have a problem, which seems to be strange. I needed to install Ubuntu because of problems with Ruby on Windows. I've installed Ruby, v. 1.9.3 (the same as I had on ...
1
vote
1answer
78 views

How to install ruby mine Ubuntu

I have already install RVM. Now I have download RubyMine-6.3.2.tar.gz From here http://www.jetbrains.com/ruby/download/ , But still I am confuse How can I install it on my system. I am using Ubuntu ...
0
votes
1answer
69 views

Installation Of ruby on rails in ubuntu14.04

I want to know how to install ruby on rails on ubuntu14.04. please help me. which versions are better to install and how to install ruby(version), rubygems, rubygems_update -v (version), mysql_server ...
2
votes
1answer
49 views

error while running ruby application at system startup in ubuntu

I am on Ubuntu 12.04 machine. Have a script file which runs when entered manually in terminal gnome-terminal -e /home/precise/Desktop/cartodb/script.sh The content of script file is cd ...
1
vote
2answers
76 views

installing rvm in 12.04 ubuntu which is on virtualbox

I have tried a lot of methods but cant get this done. I am trying to install rvm on 12.04 ubuntu. There has been many problems in past like this and I have referred as much as I can and still nothing ...
0
votes
1answer
55 views

How to remove Ruby 1.9.1 keeping Ruby 2.0.0?

I have Ruby 2.0.0 installed on Ununtu 14.04 but I can't remove Ruby 1.9.1. I replaced the /usr/bin/ruby symbolic link to ruby2.0.0, but hhen installing new gems I always get pointed to Ruby 1.9.1. ...
0
votes
0answers
38 views

Supervisor + Ruby: Can't get supervisor to run my ruby script

I figure this is a simple issue. Permissions or something that I've overlooked and can't seem to find. However, I've just learned how to use supervisor. Long story short, I run Ubuntu 12.04 server ...
0
votes
0answers
17 views

Ubuntu + Screen: Auto-quit after a set time

I've tried searching for this and get lots of URLs leading to people having issues with their monitor. However my issue is with the screen utility. Background: Ubuntu 12.04 Ruby 2.1.1 I have a ruby ...
0
votes
0answers
16 views

Azure server hangs in live environment

I am a newbie on Ubuntu and have deployed my app on Azure Server large instance.My app is a website(Ruby on Rails) and there is considerable amount of traffic coming to the website. Now Today I got a ...
0
votes
0answers
28 views

The make comand will always say there is a error

I am currently trying to install dashing, but I have this problem that no matter what language make it using it returns error 1 and I can't get rid of it. I have successfully installed it on a laptop ...
0
votes
1answer
176 views

Broken dependencies while installing redmine using apt on fresh 14.04 [duplicate]

On vanilla 14.04: run aptitude chose package redmine see broken conflicting package problem (something with ruby-rack) How can I deal with it?
0
votes
0answers
21 views

Ruby OpenSSL vs Linux openssl

I have a difficulty reconciling Ruby's OpenSSL library with the standard Linux command line openssl. What I'm trying to do here is encrypt the string mysecretstring with the password foobar but first ...
1
vote
2answers
655 views

how to install ruby 1.8.7 back on ubuntu 14.04 after upgrade?

Upgrading to 14.04 removed my ruby 1.8.7. I need it back :) Badly. Some old projects still rely on it. Gems seems to be left untouched. How do I install ruby 1.8 back while still keeping Ubuntu ...
4
votes
3answers
4k views

What versions of ruby are supported in 14.04?

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 - ...
2
votes
2answers
160 views

Unable to setup Jekyll In Ubuntu?

after upgrading to 14.04, Ruby was downgraded to 1.8.3 so I tried to upgrade using the following commands. sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev curl -L ...
0
votes
1answer
239 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
255 views

sudo: ruby: command not found after ssh

I'm working with ec2 instances and was trying to execute a ruby script on another instance after ssh to that instance. I have a ruby script which updates configuration files, so i need to run that ...
0
votes
0answers
438 views

How to install rubygems in Ubuntu 12.04 with Ruby 1.9.3

So I used these commands: sudo apt-get install ruby 1.9.3 cd /etc/alternatives sudo ln -sf /usr/bin/ruby1.9.3 ruby from ...
3
votes
1answer
140 views

basic security tools and packages that should be installed on a public facing web server

I'm a newbie in this world and I do not have a lot of knowledge about how security works on Linux systems. I recently created a droplet on DigitalOcean with Ubuntu 13 and I've been setting it up by ...
0
votes
1answer
214 views

Failing to fetch some packages in update

I want to get ruby on rails on ubuntu 12.04 but I'm coming across errors that say I need to to update. I've copied the result of the end of update and not included the earlier part. I can add that ...
3
votes
0answers
124 views

Install compass 1 pre fails

I can not install compass version 1. $ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] And when I do: $ sudo gem install compass --pre I get following error: Building native ...
1
vote
1answer
51 views

How do I launch my script from a launcher?

I have my custom script in Ruby with read permission, which starts with: #!/usr/bin/env ruby I can run that script from the terminal by typing that path. I added a file with .desktop extention to ...
0
votes
1answer
179 views

Why do I need to run “/bin/bash --login”

I have just setup a new Ubuntu 13.10 server with ruby 2.1.1 installed through rvm. The problem is that whenever I switch to the user "rails" (the user I installed ruby and rails with) I have to run ...
0
votes
2answers
123 views

How do I fix 'jekyll: command not found' error permanently?

I've installed Ruby, RVM, and Jekyll following this tutorial and everything works fine after following those steps. My issue is that each time I open a new terminal window and want Jekyll to rebuild ...
0
votes
0answers
79 views

Redmine : fail to install issue checklist plugin which needs a rake migration rake aborted! no such file to load — dispatcher

I installed some other plugins before which needed to have a rake because they are integrated in the db. My Ruby Version is : 1.8.7 My Redmine Version is : 2.4.3 (stable, mysql) running on Ubuntu ...
0
votes
0answers
57 views

How do I setup an IP to return host unreachable for testing on travis-ci.org?

I am adding tests to the ruby net-ping library and am trying to setup a test IP# that returns host unreachable icmp packets. I am using travis-ci.org and my local host for testing. On my local ...
0
votes
1answer
169 views

Installing Ruby and RubyGems

Hi everybody I would like to know is it possible to install Ruby and RubyGems in apache2. Because i have already a web using apache2 and want to install a Fedena which requires Ruby and RubyGems to ...
1
vote
0answers
21 views

root login password when I never set it? [duplicate]

Sorry for too many duplicate questions about this. But I don't think any of the answers to these kind of question has the solution for me. As some users might have asked, how to set root login ...
0
votes
2answers
60 views

Ruby - no such file to load [gems]

This is error: [ERROR] no such file to load -- readline [TIP] Try to run 'gem install readline' or 'gem install --user-install readline'. If you still get an error, Please see README file or ...
0
votes
0answers
77 views

Ruby installation in Ubuntu Virtualbox vanishes after every reboot

I installed Ruby and Rails in Ubuntu(Guest OS) which is mounted on Windows (Host OS) using Virtual Box. But every time I reboot Guest OS, I need to re install Ruby on Rails.I have some experience with ...
0
votes
0answers
26 views

Is there a GUI Ruby managers for Ubuntu?

What is a good Ubuntu Ruby management software (like Jewelry Box) which has a GUI?
0
votes
1answer
57 views

rvm how turn it on always when we open terminal in ubuntu 13.10

I am new user of 13.10 ubuntu I am facing one problem when want to install rvm, even though it is already install and using it on virtualt box. Problem is that when i start terminal and put to check ...
0
votes
2answers
155 views

Trouble with rake db:setup

everyone! I am trying to pull a github file using rake db:setup, but I get an error every time, no matter how many times I reinstall postgresql or check rails. Here's the error I'm getting: ...
0
votes
1answer
89 views

Ruby on Rails on ubuntu 13.04 using rvm

I am trying to get WEBrick to work rvm gemset list gemsets for ruby-1.8.7-p374 (found in /home/simon/.rvm/gems/ruby-1.8.7-p374) (default) global => simple_cms my gem list gem list *** ...
0
votes
3answers
107 views

How to add a proxy settings to gem

Does Ubuntu have default proxy settings? I ask this question because every time I try to install rails through gem install rails I get connection timed out error! This error occurs even I try from ...
2
votes
0answers
58 views

Ruby's ri not working - 'Marshall data too short'

I'm running Lubuntu 13.10, I installed Ruby (1.9.3p194), Gems(1.8.23), ri(4.1.1), rdoc and some gems (Rails, RSpec, haml...) from the apt-get repository. When I try to run ri, it gives me the ...
0
votes
2answers
144 views

After system updates OS doesn't start correctly

I updated my system and I needed to start is again, but after the starting: x is not started there is a massage on the tty1: Faraday: you may want to install system_timer for reliable timeouts ...
0
votes
0answers
82 views

Installing Ruby on rails on Ubuntu using VMware

rvm install 1.8.7 While i am trying to use above command error is occurred. ERROR : error running 'bunzip2'< 'usr/share/ruby-rvm/archives/ruby-1.8.7-p334.tar.bz2 | tar xf - -C ...
0
votes
1answer
51 views

How to activate support for ANSI escape in terminal?

The ri tool of Ruby for the documentation offers the possibility to output ANSI escape sequences, but the terminal has to support it. How is it possible to activate support for ANSI escape sequences ...
0
votes
0answers
125 views

Error installing rails 3.2.14

I get the following error while installing Rails 3.2.14: With sudo apt-get install rails apt 0.8.16~exp12ubuntu10.16 for amd64 compiled on Nov 15 2013 15:33:57 Supported modules: *Ver: Standard .deb ...
3
votes
1answer
861 views

Installing rails 12.04 error

I have followed all stapes from this page https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm It all goes well until command to ...
0
votes
1answer
124 views

How to get Ubuntu installed and running for development (I.e. ruby on rails) [closed]

Ok, I am mostly a windows user but for for learning RoR at work, I had to get used to a mac . Once I did I found that I enjoyed it, especially the terminal, I could load up projects in moments what ...
0
votes
0answers
175 views

Ruby Gem error - trying to make redmine 2.4.2 work on Ubuntu 12.04

Before that, I have a running redmine 1.3.2 stable installed from repos, this worked without any big issues. I am using Ubuntu 12.04 and try to make redmine work using ruby 1.9.1 I have phusion ...
0
votes
1answer
54 views

Installing ruby with rvm and making ruby visible to bash

I installed rvm according to the instructions from the official website. Then I installed two ruby versions While rvm was visible to bash, ruby was not. I was browsing the web for a solution and I ...
0
votes
2answers
731 views

WARNING: You don't have <a directory> in your PATH, gem executables will not run

I installed a tools package my friend recommended and this is what I keep getting when I try to upgrade. My system has also started freezing after I installed the tools. ryan1@ryan1:~$ sudo apt-get ...