7
Dec

Getting Ruby On Rails working on Arch Linux


I recently shifted from Debian GNU/Linux to ArchLinux which is a i686 optimized distribution unlike Debian. No doubt Debian is still my favorite distribution. The best way to get Ruby On Rails working on ArchLinux or any distribution is using Ruby Gems

Download the latest Ruby Gems from here

Extract it by running the following:

# tar zxvf rubygems-x.x.x.tgz

Go the the extracted directory and install the software by:

# cd rubygems-x.x.x
# [sudo] ruby install.rb

Done if you dont get any errors then you have sucessfully installed Ruby Gems

Download and Install Ruby On Rails

# gem install rails

Once Ruby On Rails is downloaded and installed you will need to create a Ruby On Rails application by

rails /var/lib/rails/myrailproject

You can now start working on your Ruby On Rails application which is installed in /var/lib/rails/myrailproject

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <apache>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

More information about formatting options