New answers tagged ruby
Once you download Shoes from their website, you will get a files like shoes-3.2.23-gtk2-i686.install which is actually a shell script. You have to make it executable before you can run it. So open a terminal window by pressing Ctrl Alt T and navigate to the folder where you have downloaded the file. Normally it should be in the Downloads directory. So ...
Plan A: Running: sudo apt-get update Then: sudo apt-get install -f Installing any unmet dependencies, and possibly then doing a restart should fix it. Plan B: Otherwise you should edit the file with: sudo nano /etc/apt/sources.list.d/passenger.list Once more and remove the line you added, then save the file and run: sudo apt-get update And the ...
Oh, the header: *** LOCAL GEMS *** always displays. If you have no gems installed, that is all that displays. If you have any gems installed, they will be listed below this header. (Discovered this by trying the same command on a different system - evidently I had no gems installed in the Ubuntu system - thought I did).
Linux/Unix doesn't necessarily rely on the extensions like windows does. In other words, a file may already be an executable program. For instance, let's use which command that finds the actual binary files for programs and commands, on something like gnome-terminal. $ which gnome-terminal /usr/bin/gnome-terminal As you can see, there's no extension. As ...
Assuming you downloaded the source code, (if you didn't please do) run the following commands: cd /path/to/where/you/downloaded/ruby tar -zxf ruby-2.2.2.tar.gz cd ruby-2.2.2 ./configure make sudo make install And you should have ruby installed!
Top 50 recent answers are included