Howto: Install Ruby and Rails on Debian or Ubuntu

Ruby on Rails – what the f…
Ruby on Rails, often shortened to Rails or RoR, is an open source web application framework for the Ruby programming language. It is intended to be used with an Agile development methodology that is used by web developers for rapid development.

Ruby on Rails is often installed using RubyGems, a package manager, which is included with Ruby. Many Linux distributions also support installation of Rails and its dependencies through their native package management system, anyway no matter the installation technique, installing Ruby on Rails on a Debian or Ubuntu distribution is plain sailing and very easy.

Installing Ruby on Rails using RubyGems

Install Ruby and RubyGems

sudo aptitude install ruby rubygems

As I wrote this post, there was a nasty bug in the Rails dependency notation for Rack, which means you’ll need to install version 1.0.1 of Rack instead of the default version, which is as of now version 1.1.0.

Install Rails

sudo gem install rack --version 1.0.1
sudo gem install rails

That’s all. You are done.

Installing Ruby on Rails using apt-get or aptitude

Install Ruby on Rails

sudo aptitude install rails

That’s all. You are done.

Related posts:

  1. Ubuntu Howto: Install Ruby and Ruby on Rails
  2. Howto Install Ruby and Ruby on Rails on Debian Etch 4.0
  3. Howto install Ruby on Rails on Fedora Core 5 (fc5)
  4. Ubuntu Howto: Install Oracle
  5. Howto Install Oracle on Debian
  6. Ubuntu and Ruby
  7. Great Ruby on Rails Sites and Blogs
  8. Ubuntu Howto: Install Sun Java
  9. Howto Install Sun Java on Debian Etch
  10. Beautiful and Efficient File Upload Using Flash and Ruby on Rails

Comments

Awareness: Web Application Security

Developing a web applications is often articulated as easy and a good thing for new programmers to start with. Many books and tutorials have been written on the subject, and many frameworks and programming languages have been built to facilitate quick construction of web applications. Just one thing bothers me about this, many of the books and tutorials ignore many of the security issues that are related to building web applications. This fact might explain why we do have such a huge number of insecure and vulnerable web applications around on the net.

Anyway, it is not just bad – a number of initiatives have been formed to communicate the need for security and web-based applications. One of these initiatives is OWASP, which is an open-source application security project. The OWASP community includes corporations, educational organizations, and individuals from around the world. This community works to create freely-available articles, methodologies, documentation, tools, and technologies.

OWASP’s most successful documents include the book-length OWASP Guide and the widely adopted OWASP Top 10 awareness document. The most widely used OWASP tools include their training environment WebGoat, their penetration testing proxy WebScarab, and their OWASP .NET tools. OWASP includes roughly 100 local chapters around the world and thousands of participants on the project mailing lists. OWASP has organized the AppSec series of conferences to further build the application security community.

Hopefully initiatives like OWASP will provide up-coming web developers with a awareness of the security issues related to development of web application and enable them to avoid the classic pitfalls in web application security. At least so far I have learned a lot from OWASP articles and guides.

Related posts:

  1. Google Gives Away Web App Security Tool
  2. PHP Source Code Security Audit Tool
  3. 68 Linux Related Free E-books
  4. Voices That Matter: GWT – Security
  5. Test your environment’s security with BackTrack
  6. Popular Photoshop Tutorials
  7. Firefox Flash Interaction Bug: I Cannot Click In Flash Application e.g. Youtube
  8. Top 15 Free SQL Injection Scanners
  9. Howto Install Ruby and Ruby on Rails on Debian Etch 4.0
  10. Germany warns users against Internet Explorer

Comments (2)

Ubuntu Howto: Install Ruby and Ruby on Rails

Ruby on Rails

To install Ruby and RubyGems – the standard Ruby package manager:

cc@ubuntu:~$ sudo apt-get install ruby rubygems

then install Ruby on Rails using RubyGems:

cc@ubuntu:~$ sudo gem install rails --include-dependencies

or using apt-get (aptitude)

cc@ubuntu:~$ sudo apt-get install rails

and then create a new rails application:

cc@ubuntu:~$ rails path/to/your/new/application
cc@ubuntu:~$ cd path/to/your/new/application
cc@ubuntu:~$ ruby script/server

Check that everything works by pointing your browser to http://0.0.0.0:3000

Related posts:

  1. Howto Install Ruby and Ruby on Rails on Debian Etch 4.0
  2. Howto: Install Ruby and Rails on Debian or Ubuntu
  3. Howto install Ruby on Rails on Fedora Core 5 (fc5)
  4. Ubuntu and Ruby
  5. Ubuntu Howto: Install Oracle
  6. Great Ruby on Rails Sites and Blogs
  7. Beautiful and Efficient File Upload Using Flash and Ruby on Rails
  8. Ubuntu Howto: Install Xen
  9. Ruby on Rails
  10. Ruby on Rails Cheat Sheet

Comments (1)

Linux Job Market Trends: Galloping Forward

According to itmanagement.earthweb.com the numbers, clearly, point to a major industry trend.

Take a look: Dice, the tech jobs site, reports that it had 9,631 Linux job listings in August. While this is a big number, what’s truly eye-catching is the percentage growth since January: Linux job listing are up a robust 30 percent – three times the increase of overall tech job listings. (Since January, Dice job listings have grown by 10.2 percent, to a total of 96,548 tech jobs.)

To be sure, Linux jobs continue to trail the mighty Windows, which had 16,895 listings. Linux also falls behind Unix – still healthy after all these years – which boasted 14,954 listings. (The AIX flavor of Unix had 2,302 jobs, and Solaris posted 4,055.)

Related posts:

  1. Tomcat Performance: Linux faster than Windows
  2. Linux versus Windows: OS impact on uptime and speed
  3. Safari on Linux
  4. How to mount bin / cue image files in Linux
  5. Seamless Windows Applications on Ubuntu Linux Using VirtualBox
  6. 68 Linux Related Free E-books
  7. Windows Developers Begin Slow Defection to Linux
  8. How package management changed everything
  9. Varnish : Simple and Fast HTTP Acceleration
  10. Linux Terminal Speed Performance Comparison

Comments (1)

Ruby on Rails 1.2 Release Candidate Out

Comments

Spatial Plugins for Ruby on Rails

Comments

Great Ruby on Rails Sites and Blogs

Comments

Beautiful and Efficient File Upload Using Flash and Ruby on Rails

Comments (5)

« Previous entries Next Page » Next Page »