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
9 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
0answers
11 views

update-alternatives troubleshooting

I need to support a Ruby 2.0 program on a 14.04 system, but I'm having some trouble switching to Ruby 2.0 using update-alternatives after installing it (using apt-get install ruby2.0 ruby2.0-dev). ...
0
votes
1answer
56 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
52 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
19 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
53 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
223 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
44 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
38 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
43 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
50 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
39 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
130 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
87 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
31 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
62 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
103 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
39 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
354 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
575 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
22 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
30 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
64 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 ...
0
votes
0answers
22 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
87 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 ...
0
votes
0answers
166 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 ...
0
votes
0answers
321 views

How to solve dependencies for sass,compass and susy on ubuntu 12.04

I use Ubuntu 12.04 and I am trying to install sass, compass and susy and make them work together but have a problem with dependencies over sass. I tried installing all of them with the --pre flag to ...
2
votes
2answers
1k views

How to let redmine update after Ubuntu 14.04 upgrade?

I have not been able to update my redmine. Everytime I ran apt-get upgrade, I'm getting a ruby not found error: Setting up redmine (2.4.2-1) ... dbconfig-common: writing config to ...
0
votes
0answers
47 views

Cannot find libglade2 for ruby

I'm using 12.04 and try to run ruby 1.8 code that calls libglade2 library. In the ruby code: require libglade2 But ruby says it cannot find it (LoadError). I searched for it but could not ...
0
votes
1answer
292 views

Install Ruby, Rails, Gems, Passenger for 1.8.7 on Ubuntu 14.04

I am trying to move a Ruby site to a new host that's running Ubuntu 14.04, but it needs Ruby 1.8.7. I can use rvm to install 1.8.7, but I'm unsure of how to get rails, gems, and passenger working for ...
1
vote
1answer
235 views

Bundle install fatal error

I am migrating my project over to a new machine and I am having trouble running bundle install on the machine I am trying to use. When I run: bundle install I get this error: Unfortunately, a ...
0
votes
2answers
477 views

rvm cant install ruby 2.0.0-p451

Hello I am trying to install ruby 2.0.0-p451 via: rvm install ruby 2.0.0-p451 and I get the following error: Searching for binary rubies, this might take some time. No binary rubies available for: ...
1
vote
1answer
1k views

bundle install permissions denied

Hello I am working on a new ubuntu machine and when I run tasks like: bundle install or rvm get head I get errors like: Downloading https://get.rvm.io bash: line 709: /usr/local/rvm/RELEASE: ...
1
vote
1answer
377 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
120 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
1answer
42 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
72 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
73 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
633 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
2k views

How to install ruby mine Ubuntu [duplicate]

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

Installation Of ruby on rails in ubuntu14.04 [duplicate]

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
246 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
521 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
1k 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
163 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
31 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
56 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
34 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 ...