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

learn more… | top users | synonyms

2
votes
1answer
261 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? ...
1
vote
1answer
383 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 ...
1
vote
1answer
113 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
97 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 ...
1
vote
1answer
383 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 ...
1
vote
1answer
197 views

Gsl ruby gem on Ubuntu Saucy (13.10)

I'm trying to install the gsl gem on Ubuntu Saucy I installed the relevant gsl packages with sudo apt-get install gsl-bin libgsl0-dev But then installing the gem fails In file included from ...
1
vote
1answer
812 views

Successfully installed SASS, but the terminal insists it isn't

I wanted to install sass version 3.2.0 alpha. I first ran sudo apt-get install libhaml-ruby1.8, which is what the console recommended It successfully installed, but it installed an older version ...
3
votes
0answers
1k 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 ...
3
votes
0answers
2k 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 ...
3
votes
0answers
2k views

Failed to install a ruby gem, eventmachine

I attempts to run a script that prompt Could not find gem 'eventmachine (= 0.12.10) ruby' in the gems available on this machine. Run bundle install to install missing gems. Then I runs ...
2
votes
0answers
42 views

Any way to catch the notifications so another program can read them?

I know you can see notifications in the terminal using dbus-monitor "interface='org.freedesktop.Notifications'" | grep --line-buffered "string", but is there any easy way to catch the notifications ...
2
votes
0answers
56 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 ...
2
votes
0answers
145 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 ...
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 : ...
1
vote
0answers
48 views

Postgres server start fails - WANTED: netstat -ant|grep 5432 output explanation

INFO: I'm working on a Ruby on Rails app. Hosting on Heroku with postgres. Tried running "heroku run rake db:migrate" as usual, but getting error "cannot connect,... check if something else is already ...
1
vote
0answers
901 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 ...
1
vote
0answers
20 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
vote
0answers
51 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 ...
1
vote
0answers
165 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 ...
1
vote
0answers
306 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 ...
1
vote
0answers
162 views

Dotdeb alternatives for Ruby or Python?

I really like Dotdeb, but it doesn't include packages for Ruby and Python. While I could build my own repository, I wouldn't want to reinvent the wheel (and then be forced to drive). Are there any ...
0
votes
0answers
20 views

How to autorun a ruby script in Ubuntu?

I'm using rvm and running ruby 2.3.0. which ruby returns /home/ubuntu/.rvm/rubies/ruby-2.3.0/bin/ruby The script location is: /home/redline/sinatra-aggregator/server.rb. I've tried all sorts of ...
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
15 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 ...
0
votes
0answers
52 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
55 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
17 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 ...
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
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
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
0answers
187 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
0answers
39 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 ...
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
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 ...
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 ...
0
votes
0answers
149 views

Gem command to install ruby doesn't work

Trying to install a Ruby on Rails environment, but every gem command such as gem install rails results in an output of ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError) no ...
0
votes
0answers
84 views

unable to run metasploit

I installed metasploit on my system using the .run file from the official site. I also installed the dependencies using apt-get. Now when I type msfpro in the terminal and hit enter, it displays the ...
0
votes
0answers
43 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
0answers
68 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
105 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
0answers
506 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
0answers
40 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
120 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 ...
0
votes
0answers
28 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 ...
0
votes
0answers
45 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
votes
0answers
40 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 ...