Questions tagged [ruby]
A dynamic, open source programming language with a focus on simplicity and productivity. (quote: ruby-lang.org)
40
questions
14
votes
7
answers
4k
views
How do I set up Ruby on Rails?
I am interested in setting up a Ruby on Rails environment on my 10.10 laptop.
Is there anything special I need to keep in mind for installation (i.e. that could be new or unique to 10.10)?
Are ...
5
votes
1
answer
558
views
Why is Ruby version 1.9.2 named ruby1.9.1?
Or in another words, why isn't there a separate ruby-1.9.2 package?
Source info:
http://packages.ubuntu.com/maverick/ruby1.9.1
0
votes
2
answers
2k
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 get ...
30
votes
3
answers
16k
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 ...
21
votes
5
answers
40k
views
How do you install less css command line compiler?
From my understanding and correct me if I'm wrong, I have to get ruby or NPM installed to get the less css compiler working.
I don't have any ruby installed and I'm not really sure how to get my ...
20
votes
2
answers
61k
views
How do you uninstall Ruby 1.8.7 and install Ruby 1.9.2?
Does anyone know how to properly uninstall Ruby 1.8.7 and install Ruby 1.9.2 on Ubuntu 11.10?
I have thoroughly searched and none of the tutorials I've found have worked.
Also, I spent a very long ...
11
votes
5
answers
15k
views
Package for Ruby 2.0 on precise
Has there been any news from the maintainers of Ubuntu packaging of Ruby as to whether they'll be releasing a package for Ruby 2.0? If so, have they indicated whether they'll be releasing any packages ...
9
votes
3
answers
28k
views
How do I update to the latest version of SASS?
This is really stupid but I've been Googling for an hour now and can't find the answer.
I'm on Ubuntu 10.10, and I'm trying to update to the latest version of SASS so that I can use an @import rule ...
8
votes
2
answers
7k
views
How can I get gedit ready for programming in Ruby and Ruby on Rails?
I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?
7
votes
2
answers
1k
views
How do I get "ruby" to do what "ruby1.9.1" does?
I want to start off by saying... I really don't need to be using 1.9.2. I understand that you don't ever, ever use Python 3.2, so if the common advice is that I should use 1.8, I'll do that. But don't ...
4
votes
2
answers
6k
views
Problem installing ruby and gems
I just installed ruby using apt-get with the following command:
sudo apt-get install ruby1.9.1-full
But when I try to do sudo gem install ... it says that I have not installed gems and that I shoud ...
3
votes
2
answers
8k
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 ...
3
votes
2
answers
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 ...
2
votes
1
answer
1k
views
No ruby alternatives on 11.04 / 11.10?
Running update-alternatives --config ruby fails:
# uname -a
Linux test06 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 04:06:34 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/lsb-release
...
1
vote
1
answer
6k
views
16.04: Unable to install compass
this ubuntu version brings ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]. so all i did to install was the normal process which is gem install compass but this installation throws this error:
...
78
votes
3
answers
120k
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 ...
31
votes
4
answers
73k
views
How can I completely remove Ruby + Rails + Gems?
I have messed up my Ruby dev environment on Ubuntu 10.04.
What is the best possible way to remove these packages from my system?
Ruby
All Gems
RubyGems
To start fresh, I would like to re-install ...
23
votes
5
answers
29k
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 - ...
17
votes
2
answers
59k
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 ...
14
votes
4
answers
42k
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 works ...
13
votes
2
answers
3k
views
Why is it so difficult to setup Ruby on Rails on Ubuntu?
I've spent a few hours this morning trying to setup Rails on a fresh instance of Ubuntu and I noticed that the process is incredibly more convoluted than on Windows. On Windows I go to rubyinstaller....
11
votes
3
answers
15k
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 ...
10
votes
1
answer
11k
views
Cannot install sqlite3
OS: Ubuntu 12.04 LTS
$sudo apt-get install libsqlite3-dev
The following packages have unmet dependencies: libsqlite3-dev : Depends: libsqlite3-0 (=3.7.9-2ubuntu1) but 3.7.9-2ubuntu1.1 is to be ...
6
votes
3
answers
5k
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 ...
6
votes
2
answers
19k
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 14....
5
votes
1
answer
7k
views
How to install ruby?
I am pretty new to ruby world and I don't know about installing it. Viewing methods from blogs with google search but feeling confuse.
Could somebody help me to setup ruby in my Ubuntu 13.10?
5
votes
0
answers
1k
views
Best way to Install Ruby 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM? [duplicate]
Possible Duplicate:
How do I set up Ruby on Rails?
Best way to Install RUBY 1.9, Rails 3, Postgres, Heroku, GitHub, Using RVM
Can anyone suggest me the way in which should I follow to install it ...
4
votes
2
answers
10k
views
How can I reinstall redmine?
I have a redmine setup. today morning I saw that my redmine folder was empty and I was unable to access redmine, so I tried installing redmine again using:
sudo apt-get install redmine
I am getting ...
3
votes
3
answers
2k
views
How to programatically manipulate application windows?
Anyone know a library, preferably for ruby or python, that will let you access a list of open applications and let you manipulate them? All I really want to be able to do is change their geometry and ...
3
votes
3
answers
8k
views
Ruby command not recognized after installing it with rvm
I followed this tutorial to install ruby with rvm: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm
The problem is that ...
1
vote
1
answer
617
views
Ptcl EVO not working in Ubuntu 14.04
I live in Islamabad, Pakistan and when I am outdoor, I use Ptcl EVO with my windows 7 and it works fine, but now when I used it with Ubuntu 14.04, it worked fine initially but after sometime it ...
1
vote
1
answer
17k
views
Couldn't find any package by regex - ruby
I need to install ruby1.9.3-dev
sudo apt-get install ruby1.9.3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ruby1.9....
1
vote
2
answers
9k
views
bin/bash: ruby command not found. Ruby not in sudo path
I can't seem to run any code on ruby with any text editor. This error is returned when code is run
/bin/bash: ruby: command not found
[Finished in 0.0s with exit code 127]
[shell_cmd: ruby "/home/...
1
vote
1
answer
500
views
Installed Ruby 1.9.2 but new gems won't create scripts into /usr/bin
I had previously ruby 1.8 on my Ubuntu 10.10, which I removed through Synaptics. Then I have installed ruby 1.9.1 also via Synaptics (which is then saying that itself is version 1.9.2).
Then I ...
1
vote
1
answer
6k
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 ...
1
vote
0
answers
5k
views
/etc/init.d/networking start - the control process exited with error code. See “systemctl status networking.service”
Ubuntu v. 16 Hosting digitalocean
I customize Sendmail for project(ruby, Sinatra) like in this article. http://www.travisluong.com/ruby-on-rails-sending-email-with-sendmail-on-ubuntu-vps/
I want to ...
0
votes
2
answers
2k
views
Gmate installation issue
I was following the link GMate and Using Gedit as a Ruby IDE to make my Gedit as IDE. But when all the command was running good,the below one throwing me an error.
kirti@kirti-Aspire-5733Z:~$ sudo ...
0
votes
1
answer
2k
views
I downloaded ruby on rails, but it says it isn't installed.
I downloaded ruby on rails on ubuntu 12.10 through this tutorial http://technical-feeds.blogspot.ca/2013/02/how-to-install-ubuntu-and-ruby-on-rails.html.
I did everything and it worked fine.
I ...
0
votes
1
answer
898
views
my bash terminal is showing unwanted message when starting
bash: source: /home/vj/.rvm/scripts/rvm: is a directory
Recently I tried to install ruby on my PC. And after that installation every time am starting my terminal it is showing the above message. I ...
0
votes
2
answers
2k
views
Getting 'Permission Denied' when running bundler command
I need to install bundler for an application so here's what I'm doing (instructions from the application documentation directly):
mkdir ~/.gems
export GEM_HOME=~/.gems
gem install bundler -v 1.10.3
...