You Got A Question? Ask    GNOME Community!


Installing Rails 4.0 Beta in Fedora 20 (Rawhide)

This post was made with an older stylesheet


Fedora 20 (Rawhide)

Fedora 19 is going to be released in June 25, with the Beta in 21 of May and the Alpha in around four weeks from today (April 16). Fedora releases dates is kinda like the weather, they change unpredictably, therefore to stay updated you should check on their release schedule from time to time.. Morning, Noon, Evening :)

Is it too early for Fedora 20?

gcc20

According to my Gnome Control Center, not early at all! The development branch of Fedora is on version 20 and is a quite nice pre-alpha release towards to version 19.

If you are a bit risky, just a little bit, you can install the amazing GNOME 3.8 in Fedora 19 Alpha in around a month, if no delays.


Fedora and Ruby

Fedora 19 will ship Ruby 2.0.0 in their repos. From F19 Features List:

Ruby 2.0.0 is the latest stable version of Ruby, with major increases in speed and reliability. With this major update from Ruby 1.9.3 in Fedora 18 to Ruby 2.0 in Fedora 19, alongside JRuby, Fedora becomes the superior Ruby development platform.

Okay, none of the people I know  ( and I know lots of Ruby devs) don’t use a System-Ruby installation, but I guess Ruby 2.0.0 and Ruby’s requirements will be tested well enough under F19, and that is a bonus to Fedora.


Ruby On Rails

RoR is from those things that you need a Linux (or Mac) box to fully work with them. RoR makes a heavy use of Terminals and because you need to have a lot of windows open to work with it, GNOME’s 3 interface helps a lot with Dynamic Workspaces and Windows Overview.

Changelogs


RVM Installation

People that use RoR are frequently installing it with Ruby Version Manager (RVM) an is basically the recommended way. RVM helps you to manage multiple Ruby environments with different Gems or Rubies per project.

Installation is super easy and you just need to take a quick look at.

Before installing it you should meet all the requirements

After completing the above steps you also need a JavaScript Runtime Environment, and what better choice than NodeJS?

$ sudo yum install nodejs

Rails 4.0 Beta1 Installation

By completing the above steps you should have Ruby 2.0 installed with RVM. Just install Rails!

$ gem install rails --version 4.0.0.beta1 --no-ri --no-rdoc

rails4

If you are now starting with Rails just give a visit to their guides

And for Ruby

That was nothing more than a quick reminder. There isn’t just Php ;)


Open Shift

Actually I was making that post to try if Open Shift can run Rails 4, but is down the whole day. Some other time then :)

 


 
  We can't watch comments unless G+ provides an API or if you send a notification, e.g +World Of Gnome
     Sometimes is better to place your questions on GNOME Community
  • http://twitter.com/pahnin phanindra

    way 2 go, fedora and RoR

  • Matthew Javelet

    rawhide has been associated with the f20 tag since f19 was branched. they didn’t do it last time f18 was branched off rawhide so i wonder what’s going on

  • Dino Lopez

    Recipe to install Ruby on Rail 4.0.0 in Fedora Linux 19 using rvm
    https://plus.google.com/u/0/106336405206268952858/posts/f3qX6E5KhPT