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

learn more… | top users | synonyms

3
votes
1answer
2k views

Installing Jekyll with gem

I'm using Ubuntu 12.04. I am trying to install Jekyll through gem with sudo gem install jekyll but I get this error at some point of the installation: ERROR: While generating documentation for ...
0
votes
1answer
15 views

trouble installing RVM

I am trying to Install RVM but facing error. I am using following code to install RVM sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev gpg --keyserver hkp://keys....
-3
votes
0answers
20 views
0
votes
0answers
24 views

What is wrong with my situations here trying to install rails? [closed]

When Trying to installed rails after having installed homebrew, rbenv and just about all that other good stuff, I'm usually hit with permission denied every attempt and seem to be able to do nothing ...
1
vote
2answers
10k views

Install ruby 2.2.3 via apt

How to install Ruby 2.2.3 via apt on Ubuntu Wily? I tried sudo apt-get install ruby2.2-dev and sudo apt-get install ruby2.2 (What's the difference, btw) and both commands seem to have installed quite ...
29
votes
3answers
14k views

How to install jekyll?

According to the jekyll site, this is how you make a new website with jekyll: ~ $ gem install jekyll ~ $ jekyll new myblog ~ $ cd myblog ~/myblog $ jekyll serve gem install jekyll didn't work, nor ...
-1
votes
0answers
301 views

Could not find rake-11.2.2 in any of the sources Run `bundle install` to install missing gems [closed]

I'm using Kali Linux and after I done apt-get dist-upgrade I keep receiving this ''Could not find rake-11.2.2 in any of the sources Run bundle install to install missing gems. '' When I do ''bundle ...
1
vote
1answer
33 views

How to create a database directory structure for MySQL?

I was following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-use-mysql-with-your-ruby-on-rails-application-on-ubuntu-14-04 So far, I installed mysql-server mysql-client ...
1
vote
1answer
2k 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 ...
1
vote
1answer
48 views

Failing to install ruby gems required by vagrant plugin install vagrant-proxyconf

I have an Ubuntu 16.04 machine behind a proxy. From this machine I am able to use the proxy as expected using the http_proxy and https_proxy environment variables. However, when a new vagrant box is ...
0
votes
0answers
118 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 ...
4
votes
2answers
4k 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 /...
8
votes
3answers
12k 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
0answers
77 views

Can't install Rails on Ubuntu 16.04

i'm noob. This is my problem when i try. Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. current directory: /...
1
vote
1answer
45 views

Errors when I open terminal after trying to install Metasploit

I tried installing Metasploit on Ubuntu 16, using this webpage. Following the instructions, I got the following error sudo: exec: command not found While downloading Ruby rbenv, I forgot to do the ...
0
votes
1answer
34 views

Ubuntu-touch ruby / rails development: installing with rvm

I have a Bq10 tablet running Ubuntu-touch OTA-11. I want to be able to work with Ruby and rails apps. Usually I use rvm for this. Is it possible to install rvm [or something similiar] using ubuntu-...
2
votes
1answer
66 views

Jekyll broken after upgrading Ubuntu/Ruby

I use Jekyll on my Ubuntu laptop. It worked with 15.10. I've upgraded to 16.04 and I got this error message : $ jekyll -v bash: /usr/local/bin/jekyll : /usr/bin/ruby2.1 : bad interpreter: no file or ...
0
votes
0answers
22 views

Understanding Ruby Setup with bundler “bundle install” as non root

I received a ruby source code + dependencies and db. The code is about 3 years old and running on an 12.04 Ubuntu. Now I am trying to make a fresh setup on 14.04. I installed a lamp stack and wanted ...
1
vote
1answer
77 views

'rake aborted!' Stuck on gitimmersion tutorial [closed]

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 ...
1
vote
1answer
290 views

Cant install Ruby on Ubuntu 16.04 LTS

Can't install Ruby via sudo apt-get install ruby-full The following packages have unmet dependencies : Ruby, ruby-dev, libtcltk-ruby, ri E: Unable to correct problems, you have held broken ...
0
votes
1answer
120 views

Jekyll not working on 16.04

My Google search showed that this question was asked here and then deleted by the asker, so I'm not sure if I'm asking something stupidly obvious. I'm trying to start a jekyll project after upgrading ...
0
votes
1answer
37 views

Installing Ruby On Rails shows errors on line 168 [closed]

I am trying to install ruby on rails on my me elementary OS 0.3.2 Freya. and now i am seeing the following errors on my terminal. even if when i restart the terminal the errors shows on the first ...
1
vote
1answer
48 views

How to install QtRuby + Qt4 on Ubuntu 14?

I wish to program in ruby in QtCreator. If I'm right, I need to install QtRuby + Qt4, but with no success on Ubuntu 14. How to do? Thanks!
0
votes
3answers
207 views

How to downgrade Ruby on Ubuntu?

I'm running Ubuntu 16.04. My ruby version is: ruby 2.3.0p0 (2015-12-25) [x86_64-linux-gnu] How can I downgrade ruby to version 2.1 to be in line with the rest of my development team (some of our ...
0
votes
1answer
118 views

Just installed Ubuntu/Ruby, cant create rails project

so I've just started using Ubuntu a few days ago, started trying to get an IDE working for Ruby on Rails developement, downloaded/installed everything from scratch. I found out the first version of ...
0
votes
0answers
69 views

installing for Chromebook converted to Linux?

I just got Linux on my Chromebook. for now, Chromebook is my only option to use Linux as my desktop is out of commission. I started using The Odin Project, and I need a bunch of things on my ...
37
votes
3answers
59k 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 ...
0
votes
0answers
286 views

Can't install json 1.8.1

I'm trying to install json gem using ruby 2.2.3 (I've tried with other oversions), and I always get the same error: Fetching: json-1.8.1.gem (100%) Building native extensions. This could take a ...
0
votes
0answers
29 views

Any harm of doing 'Run command as login shell'

I've installed RVM and everytime I execute rvm use <version>, terminal complains me that RVM is not a function, selecting rubies with 'rvm use ...' will not work. You need to change ...
0
votes
0answers
209 views

msfconsole not running Ignoring bcrypt-3.1.11

I have problems when running metasploit on Ubuntu LTS 14:04. I've created a database msfconsole and run postgresql but still does not work. root@evan:/home/evan# msfconsole Ignoring bcrypt-3.1.11 ...
10
votes
4answers
25k 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 ...
0
votes
0answers
24 views

RailsEnv misspelled or defined by a module not included in the server configuration

I am following this link http://blog.redpanthers.co/2015/10/how-to-deploy-a-rails-app-with-passenger-and-apache-in-ubuntu-14-04/ in order to install ruby on rails with rvm and passenger. I was fine ...
0
votes
0answers
98 views

Cannot load such file bcrypt_ext

While using metasploit i'm getting this issue /.rvm/gems/ruby-2.1.8@metasploit-framework/gems/bcrypt-3.1.11/lib/bcrypt.rb:16:in `require': incompatible library version - /home/.rvm/gems/ruby-2.1.8@...
0
votes
1answer
227 views

Trouble removing ruby 2.3.0p0 from Ubuntu

I need to install ruby via rvm. I already have it installed via packet manager though, and now I want to remove that version. So far so good, removing stuff with apt-get remove isn't hard. BUT after I ...
0
votes
3answers
86 views

New to Ubuntu + Ruby Development + selenium

I am an automation engineer, I've been using java bindings with selenium web-driver on a windows machine for development of automated tests, however, I am switching to Ruby for developing automated ...
0
votes
0answers
114 views

cannot load such file — rspec/expectations (LoadError)

I got this when I run rspec spec its a sample project, and its very simple too but I couldnt found an answer for this case, I think it's an error in installation. Here is my tree and my files. Thanks ...
0
votes
1answer
77 views

AH00112: Warning: DocumentRoot [/home/rails/testapp/public] does not exist

I followed this link https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-passenger-and-apache-on-ubuntu-14-04 to install ruby on rails with passenger on ubuntu 14.04 and I ...
3
votes
2answers
8k 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
1answer
170 views

Redmine installation on 14.04

I have installed Ubuntu 14.04 server and want to install fresh Redmine. I faced several problems while installing, and still no LUCK. I found some documentations regarding installation but they are ...
0
votes
0answers
24 views

Cannot Install Ruby1.9.1

I've added some ppa for Kali Linux tools in Ubuntu by the help of this answer. But now I cannot install ruby1.9.1 to my machine. Output is as below: Reading package lists... Done Building dependency ...
5
votes
4answers
10k views

foreman: command not found

I am following this tutorial of Heroku. I installed foreman with sudo gem install foreman but when I try to use this in the terminal with command foreman this returns foreman: command not ...
11
votes
4answers
15k views

Install Ruby 2.0 with OpenSSL and ReadLine support

I have a fresh Ubuntu 12.04 VM, and I would like to install Ruby 2.0.0-p0. I am able to get Ruby installed easily enough, but I am unable to get gems to work. $ gem install bundler ERROR: Loading ...
0
votes
0answers
117 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
1answer
302 views

can't install any new packages

I have been trying to install ruby on rails and I run into failures in all directions. I finally went into the package manager and right away it detected an issue and asked me if I wanted to resolve ...
2
votes
2answers
19k 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
31 views

Unmet ruby dependency, but ruby installed

In an Ubuntu 14.04 server, I needed a recent version of ruby-passenger. The version I need is not available in the repositories yet (4.0.53-1). I obtained a deb and trying installing it with dpkg. ...
0
votes
0answers
13 views

Cannot find my software in “Open With” list

On Ubuntu, I would like to open a xxx.shoes file using Ruby Shoes, but it is not displayed in the "Open with" list. I added the following file: /usr/share/applications/shoes.desktop more /usr/share/...
-1
votes
2answers
77 views

Trying to install Rails on Ruby and getting bash error during installation

I get this error when I run \curl -L https://get.rvm.io | bash -s stable: Command 'bash' is available in '/bin/bash' The command could not be located because '/bin' is not included in the PATH ...
1
vote
1answer
31 views

VirtualBox: Share whole Ubuntu drive on Windows (Host)

I currently have Ubuntu in VirtualBox. Currently I do web development in the Ubuntu since its easier to run Ruby on Rails in Linux then its on windows. But I had the idea to share the whole ubuntu ...
0
votes
0answers
15 views

VPS with multiple hosts postfix configuration

a VPS running Ubuntu 14.04 has postfix installed for outgoing e-mail. File /etc/postfix/main.cf has the myhostname value set to one specific MX record. This VPS is intended to host multiple Rails ...