Yes, you are right. It is finally finished after about a year in the making. This is a fantastic release that’s absolutely stuffed with great new features, loads of fixes, and an incredible amount of polish. So let’s digg into the new features and everybody: update your stuff to get even more funky!
Update details can be found here.
Last week one of our webistes went down for some unknown reason, and I’ve found this kind of error message in production.log:
LoadError (Expected xy file to define ...)
Of course this is a useless error message which means Rails couldn’t find a controller file which has been still at its proper path of course. What to do now? If you need a more detailed error log, there is a solution to force Rails to log errors in deeper detail, just set your caching classes to true in your environment.rb file:
config.cache_classes = true
After restarting the webserver, and reloading the page, I could get a proper and useful error message, Rails pointed that the error is in RMagick gems. Take a quick look on the new error message in the log:
RuntimeError (This version of RMagick was created to run with ImageMagick 6.3.3
but ImageMagick 6.3.6 is installed on this system. You should either
1) Configure and build RMagick for ImageMagick 6.3.6, or
2) download ImageMagick 6.3.3 from file:///usr/local/share/doc/ImageMagick-6.3.3/index.html and install it.
):
Now this is something what you can use to start debugging. After reinstalling RMagick, the problem has been solved, and the site was up and online again. Just do the following 3 easy steps:
gem uninstall rmagick
gem install rmagick
apachectl restart
Done, hoorraaay!
Behold, behold, Rails 2.0 is almost here. Take a quick look here to check out the new killer features. There is a preview version available as well. Must be seen!
Update:
This morning (November 29th) the Rails team has released RC2 so if you are a freak who is keen on the latest builds and wants to check out RC2 - use the svn checkout command of:
svn co http://dev.rubyonrails.org/svn/rails/tags/rel_2-0-0_RC2 vendor/rails
There are lots of good editors for Ruby development, such as Aptana (formerly known as RadRails) which is based on the Eclipse framework so it needs lots of resources to run (because is is based on Java). An other solution can be RoRED. RoRED seems to be OK, but I really miss lots of features from it.
If I say IDE, I mean a full featured environment with project management, useful editor and debugging features. And this is when Visual Studio comes in. Microsoft’s Visual Studio is one of the most famous IDEs, used by lots of programmers who have to focus on .Net, ASP, C, C++, C#. But what about Ruby developers? Since now it can be used as a Ruby On Rails IDE with a “small extension” built by SapphireSteel Software: Ruby In Steel.
Continue reading ‘Using Visual Studio as a Ruby On Rails IDE’
In the development scene lots of people are using Macs and OS X. If you can afford to buy a Mac (or you already have one or maybe more :)) the best choice for you must be TextMate. I can say it is the best code editor what I’ve seen so far on the OS X platform. It has lots of useful features, such as text snippets (for Ruby On Rails as well). Continue reading ‘TextMate: The best Ruby On Rails editor for OS X’
I’ve just noticed Ruby on Rails in a couple of months ago and I got so exited about it. It is a web application framework which is optimized for programming pleasures, fast and easy to use features.
Rails is based on a new programming language, called Ruby, which is a dynamic, open source (!!) programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Continue reading ‘Introducing Ruby On Rails’