Rails 3.0: Beta release

Posted by David February 05, 2010 @ 03:33 AM

You thought we were never going to get to this day, didn’t you? Ye of little faith. Because here is the first real, public release of Rails 3.0 in the form of a beta package that we’ve toiled long and hard over.

It’s surely not perfect yet, but we were out of blockers on the list, so here we go. Please give it a run around the block, try to update some old applications, try to start some new ones, and report back all the issues you find.

I’m really proud of this moment, actually. We’ve had more than 250 people help with the release and we’ve been through almost 4,000 commits since 2.3 to get here. Yet still the new version feels lighter, more agile, and easier to understand. It’s a great day to be a Rails developer.

There’s plenty to get excited about here. A few of the headliner features are:

  • Brand new router with an emphasis on RESTful declarations
  • New Action Mailer API modelled after Action Controller (now without the agonizing pain of sending multipart messages!)
  • New Active Record chainable query language built on top of relational algebra
  • Unobtrusive JavaScript helpers with drivers for Prototype, jQuery, and more coming (end of inline JS)
  • Explicit dependency management with Bundler

But please take a look at the full release notes and enjoy the latest!

To install:

gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n
gem install rails --pre

Notes: The first line is required because RubyGems currently can’t mix prerelease and regular release gems (someone please fix that!).

182 comments

Comments

  1. Yuri Tomanek on 05 Feb 03:36:

    I know what im doing this weekend.

  2. Nicholas Henry on 05 Feb 03:37:

    Thanks so much everybody for you hard work! Can’t wait to check it out.

  3. AstonJ on 05 Feb 03:38:

    Nice one – good work everyone!

  4. Michael Jackson on 05 Feb 03:39:

    Awesome! Congratulations to everyone involved. This release represents a TON of work and it is very much appreciated.

  5. Felipe Coury on 05 Feb 03:41:

    On my Mac it also required i18n gem.

  6. gustin on 05 Feb 03:41:

    awesome, amazing work guys!

    cutting-edge application upgrade now in progress….

  7. Brian Morearty on 05 Feb 03:43:

    Nice. Perfect timing for my new project. I like the Active Record chainable query language and the jQuery support.

  8. Ian Alexander Wood on 05 Feb 03:43:

    But the weekend is a whole day away! Massive thanks to the Rails team, really exciting stuff! Fun time to be a Rubyist.

  9. Jeremy Kemper on 05 Feb 03:46:

    You can use gem install rails3b to grab the whole list of beta dependencies at once.

  10. David Chelimsky on 05 Feb 03:47:

    Looks like there is also a dep on i18n before you can add rails—pre.

  11. Chris on 05 Feb 03:48:

    Great news. I’m really looking forward to testing it out on some existing apps.

    Thank you!!

  12. Tony Pitale on 05 Feb 03:55:

    Important to note another dependency that has been mentioned in every other post on Rails 3: Ruby 1.8.7 is required. Just in case.

  13. Dillon on 05 Feb 03:56:

    Sounds like it’s time to get hacking

  14. Tobi Knaup on 05 Feb 03:57:

    Yeah! Good job core team. Those new features are great!

  15. Santiago Pastorino on 05 Feb 04:00:

    Thanks all for your hard work!!!

  16. Steven Haddox on 05 Feb 04:02:

    Ecstatic about the new release! Keep up the great work! I can’t wait to migrate my existing project to this this weekend :)

  17. shanlalit@gmail.com on 05 Feb 04:03:

    Now I shall start burning Rails 3 apps :)

    Thank you very much everyone.

  18. Antonio Cangiano on 05 Feb 04:03:

    Way to go, guys! There goes my weekend. :)

  19. Steve Wong on 05 Feb 04:04:

    Thanks! Great job core team.

  20. Matt Hooks on 05 Feb 04:05:

    Awesome. I’ll be checking this out tomorrow.

  21. Jinzhu on 05 Feb 04:07:

    wow,cool,I would convert some old projects into Rails3. ;)

  22. SoftMind on 05 Feb 04:07:

    Congratulations to Rails Team for reaching this milestone and Thanx for your excellent efforts

  23. thekindofme on 05 Feb 04:12:

    Awesome! Got something to do this weekend. You guys and girls are my heroes! Grate job, well done!.

  24. JDutil on 05 Feb 04:15:

    Awesome work. Can’t wait to check it out.

  25. gmile on 05 Feb 04:18:

    Good job, guys!

  26. makuchaku on 05 Feb 04:21:

    Congratulations Guys! :)

  27. Austin on 05 Feb 04:27:

    One word: WOOT!

  28. Sam Granieri Jr on 05 Feb 04:30:

    Nice work guys!

  29. Dillone on 05 Feb 04:31:

    What a great moment! Thank you guys sincerely!

  30. Pius on 05 Feb 04:40:

    Great work guys, just awesome seeing the benefits of the Merb Rails merger finally come to fruition!

  31. Jeff Pollard on 05 Feb 04:49:

    FYI – You might have to install the sqlite3-ruby gem to get script/rails to work.

  32. Ram on 05 Feb 05:17:

    Congratulations guys!

  33. Phani Kumar on 05 Feb 05:34:

    Congratulations

  34. Tinu Cleatus on 05 Feb 05:39:

    “It’s a great day to be a Rails developer.”

    Sure it is. I like that :)

  35. http://qichunren.javaeye.com on 05 Feb 05:45:

    javaeyer qichunren发来贺电。 you do a good job. Thank you very much.

  36. Christian Lupp on 05 Feb 06:13:

    Perfect! Congratulations to all of you who helped Rails3 to come true.

  37. pulkit on 05 Feb 06:14:

    great going!!!

  38. Keith Pitt on 05 Feb 06:31:

    Oooohh La La….

  39. Arun Pradeep on 05 Feb 06:40:

    Fantastic Guys!! Congratulations :)

  40. Hussein Morsy on 05 Feb 06:46:

    We are so happy . Thanks to all developers

  41. TechSlam on 05 Feb 07:03:

    Wow… Sounds great. I am surely going to try this out. Wohoooo!

  42. Erik Dahlstrand on 05 Feb 07:13:

    Most excellent. Thanks to everyone who was a part of this work!

  43. Martin (WWW) on 05 Feb 07:28:

    “ActiveRelation” FTW!! – thanks to everyone involved!!

    Rails have become the standard of excellence.

  44. Thibaud Guillaume-Gentil on 05 Feb 07:33:

    Awesome! Thanks to every commiters!

  45. Mark Holton on 05 Feb 07:40:

    Great to see the beginnings of unobtrusive JS in Rails. Awesome, can’t wait to dive in.

  46. Fro on 05 Feb 07:42:

    Congratulations for the nice work :-)

  47. Alejandro Juarez on 05 Feb 07:50:

    Amazing work!, Congratulations guys!

  48. Ollie on 05 Feb 07:50:

    Can’t wait to try it out. :) <3 ror>

  49. Rob on 05 Feb 07:54:

    Thanks for your hard work!

  50. Christoph on 05 Feb 08:00:

    Congrats to everybody involved! Looks like this could be a big leap.

  51. Joe on 05 Feb 08:18:

    Never regret choosing Rails!

  52. PK on 05 Feb 08:27:

    Thanks a lot.. Its a great work.. Excited about jquery and active record relational query language.

  53. Jan-Willem on 05 Feb 08:28:

    Congratz,

    Hope to start a rails 3 project soon!

  54. Filippo Camillo on 05 Feb 08:35:

    Yeah! And now…thinking hard about a new awesome webapp to do with Rails3! :)

  55. Rasmus Rønn Nielsen on 05 Feb 08:45:

    Congratulations. This upgrade (2.3 > 3) is extraordinary!

    The best part of following Rails development is how it makes me a better developer. Thank you for that.

  56. Vlad Gurgov on 05 Feb 08:48:

    I’d like to thank Rails community for keeping up great work! You rock!

  57. yuan on 05 Feb 08:58:

    javaeyer yuan发来贺电。

  58. Bob on 05 Feb 09:12:

    Great work. Thanks very much.

  59. bigget@126.com on 05 Feb 09:28:

    Great work.

  60. Martijn van Brandevoort on 05 Feb 09:29:

    It looks like this release is going to be all it was promised to be and more. Very impressive! Congratulations.

    Now there’s no excuse left to upgrade those ancient Rails 1.2 applications..

  61. iceskysl@gmail.com on 05 Feb 09:53:

    Due to a rubygems bug, you must uninstall all older versions of bundler for 0.9 to work

  62. Adrioano on 05 Feb 10:08:

    Very good. Thanks very much.

  63. Juanma Cervera on 05 Feb 10:13:

    First of all, Great work guys, and thanks.

    And then, one problem, just after building a new app for following Jeremy McAnally’s last tutorial, when I try to start the server with ‘rails server’ mongrel hangs, but webrick works fine.

    I left here a log of the problem. http://gist.github.com/295698

    Maybe anybody has some idea of what’s happening?

    Thanks again.

  64. itsme on 05 Feb 10:21:

    Thanks for all the hard work!

    There are a lot of gems that have to be updated to run with rails 3. E.g. paperclip, subdomain-fu, thinking-sphinx, ...

    Yes I know it’s beta, but is there a compatibility list of running gems?

    Thanks!

  65. Fabio on 05 Feb 10:43:

    @itsme: http://wiki.rubyonrails.org/rails/version3/plugins_and_gems

  66. Bakastyle on 05 Feb 10:49:

    Finally!!!!!! Great day!

  67. Michael van Rooijen on 05 Feb 10:51:

    I just ran these commands:

    gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n gem install rails—pre

    And last night I was thinking: “I wonder when Rails 3 beta will be released.”

    Thanks! Can’t wait to mess with this!

  68. Sunil on 05 Feb 10:53:

    great work! Proud to be a rails developer :)

  69. RailsBlob on 05 Feb 10:59:

    I just farted!

  70. grigio on 05 Feb 11:20:

    Even “rake” is requied, thanks for the beta!

  71. Great on 05 Feb 11:23:

    That’s great but I really fear that the decoupling will lead to more complexity like in J2EE where you can choose whatever framework for persistence, templates, etc… so awful that made me go for rails

    I would have preferred to see Rails closed in it’s core architecture.

  72. Mike Williamson on 05 Feb 11:52:

    “It’s a great day to be a Rails developer.”

    So say we all.

  73. Michael Johann on 05 Feb 12:02:

    With Rails 3 coming close it’s time to start writing the JRuby chapter of our Rails 3 book.

  74. Wonderful ! on 05 Feb 12:23:

    You guys rocks !

    Thanks for providing us such a good framework that transforms programming into climax :) on a daily basis !

  75. bmsatierf on 05 Feb 12:34:

    Also requires i18n gem.

  76. Maurizio De Magnis on 05 Feb 12:50:

    Great Work! Thanks!

  77. Martin on 05 Feb 12:55:

    Awesome!

  78. BurmajaM on 05 Feb 12:55:

    I had problem installing Rails 3 beta. gem install rails—pre asked for rack >= 1.0.0 though I had rack 1.1.0 installed. After manual installation of rack 1.0.1 previous install instruction installed rails 2.3.3. Problem was in gem sources. I had http://gems.rubyonrails.com there. Just remove it and rails 3.beta will be installed.

    Just my 2 cents.

  79. Juanma Cervera on 05 Feb 13:03:

    @Juanma Cervera (that’s myself, but it may be interesting for somebody with same problems)

    I could make mongrel start adding these gems to Gemfile

    gem “cgi_multipart_eof_fix” gem “fastthread” gem “mongrel_experimental”

    All these gems ar require in mongrel.rb with statements like Mongrel::Gems.require ‘mongrel_experimental’

    This might have meaning for someone.

    Juanma

  80. Wiehann on 05 Feb 13:05:

    Woohoo! Congrats. Can’t wait to start playing with this new toy this weekend.

  81. stid on 05 Feb 13:08:

    congrats! Great work guys!

  82. Bijan Rahnema on 05 Feb 13:12:

    YEEEEHAAA! NICE!

  83. Matthew Winter on 05 Feb 13:34:

    Awesome work guys. Downloading now….

  84. Didox on 05 Feb 13:39:

    Awesome work guys. I’m going to download tonight

  85. Lucca Mordente on 05 Feb 13:47:

    Terrific!!

  86. Oleg T. on 05 Feb 13:52:

    YAAHOOOOOOOOW!!!!! Nice to see this post!

  87. Looka on 05 Feb 13:52:

    Proud to be a Rails developer.

  88. tom myer on 05 Feb 14:20:

    thanks for this guys!!! try it out as soon as I have time!

  89. Wheres_the_beef on 05 Feb 14:23:

    Is this going to solve the speed issues now? Will it work with Apache without all that configuration bull** I used to do? Will it work out of the box without configuring FastCGI or having to learn what the hell Mongrel is.

  90. Chris A. on 05 Feb 14:25:

    Tax refund and Rails 3 in one day… can this be? Or am I dreaming?

  91. Andrea on 05 Feb 15:35:

    The scaffold didin’t change at all, why didin’t you guys used:

    respond_to :html, :xml, :json and respond_with(@users = User.all)

    to make it better?

  92. Cs on 05 Feb 15:40:

    Excellent job guys, we are very proud of you!

  93. Artur on 05 Feb 15:44:

    thanks for all your effort!:)

  94. Brian on 05 Feb 16:20:

    Just wonder if any1 already has build some pimp rails3 app example ? ;) I wish to see some sample in action

  95. Robert Szymczak on 05 Feb 16:26:

    Thank you for your hard work merging Merb with Rails!!! ;-)

  96. Alex L on 05 Feb 16:31:

    Congrats! Great work. Just downloaded it and catching up.

  97. Gokhan on 05 Feb 17:30:

    Wheres_the_beef When did you use Rails last time? Check out Phusion Passenger

  98. AlexT on 05 Feb 17:40:

    Anybody tried rails3 beta with latest haml? For me rails cant find rails templates, can only find erb.

  99. Raghuonrails on 05 Feb 17:42:

    Rails 3 will make my weekend ..awesome !

  100. Cristian R. on 05 Feb 17:46:

    Tnx a for all your effort!!

  101. Arse on 05 Feb 17:54:

    I have a problem, i’m developing my first rails 3 app, but if i don’t do javascript_include_tag(:defaults) and include all the prototype libraries i can’t use the method => :delete in my links… but i’m using jquery! I’m forced to include prototype all the time?

  102. Carl Lerche on 05 Feb 18:14:

    @Arse try generating a new app with rails—jquery

  103. Kevin Elliott on 05 Feb 18:23:

    Congratulations! I have to thank you for all the hard work that the 250 volunteers put in. Without this community (including all the participants in the forums, irc channel, mailing lists, guides, etc) I can’t imagine that Rails would be as successful. It’s this community that makes Rails that much more pleasurable to use.

    Thanks everyone!

    -Kevin

  104. mikhailov on 05 Feb 18:52:

    Thanks! It’s really awesome

  105. Chris on 05 Feb 19:05:

    Thanks for all of your hard work! I’ve really been looking forward to this.

  106. Arse on 05 Feb 19:10:

    @Carl Lerche Hi Carl, i get a “command not found” error with rails—jquery, the help don’t talk about this command :(

  107. John T on 05 Feb 19:29:

    Having a problem on Windows XP (yeah, yeah…) after using the rails command to create a new test app, then from within the app’s directory, trying to use the rails command (rails console, rails generate, etc.) returns an error:

    c:/ruby/lib/ruby/gems/1.8/gems/railties-3.0.0.beta/bin/rails:2:in `exec’: Exec f ormat error – C:/jt/Rails/rails3_blog/script/rails (Errno::ENOEXEC) from c:/ruby/lib/ruby/gems/1.8/gems/railties-3.0.0.beta/bin/rails:2 from c:/ruby/bin/rails:19:in `load’ from c:/ruby/bin/rails:19

  108. Larry on 05 Feb 20:02:

    Thanks to everyone who works so hard on this platform. I am soooo glad I left the Java world for this one!

  109. Bob Lail on 05 Feb 20:15:

    Awesome! I can’t wait to download it!

  110. Phil McClure on 05 Feb 20:44:

    Bloody Marvellous! Cheers.

  111. Hubert Łępicki on 05 Feb 21:09:

    I would love to see:

    gem install merb2.0

    ...... -> rails3 installed ;)

  112. Johannes Jörg Schmidt on 05 Feb 21:37:

    Oh my god. Those Rails related Sites like Github and Gemcutter are down or not responding, gem is reporting

    ERROR: http://gems.rubyforge.org/ does not appear to be a repository

    and I can’t wait to try that biggest Rails release since 0.9. hanging with an empty /var/lib/gems/1.8/gems/rails3b-3.0.0/ for whatever reason.

    Great work! Keep on going, Thank you all!

    Greetings Johannes

  113. Johannes Jörg Schmidt on 05 Feb 21:44:

    The biggest but tinyest Release in one I would say…

  114. Jerod Santo on 05 Feb 22:47:

    Great release everybody!

    How can I get my hands on a rails.js that relies on jQuery instead of Prototype? I Tried rails new_app—jquery to no avail. Are there some external generators I need or something?

  115. Arse on 05 Feb 22:56:

    @Jerod Santo You can find it here http://github.com/rails/jquery-ujs/. The helpers work fine, too bad that :method => :delete seems bugged, so the destroy links don’t work. Maybe this we’ll be fixed tomorrow :)

  116. Frank on 05 Feb 23:37:

    Cutting my way through all this butt kissing, and hoping that my little message will get noticed. I apologize deeply for disturbing the group masturbation over this tiny release, but has anyone actually tried to upgrade the simplest of 2.3 projects? The rails upgrade plugin is the biggest joke since somebody’s alter ego said that Rails scales well. Starting a server with an empty test app, generated by rails 3, is a journey through the jungle, dangerous and moist. No, it’s not the humidity in the jungle air, it’s the tears I shed before I was “[w]elcome[d] aboard” and notified that I was “riding Ruby on Rails.” I must offer my heartily congratulations on giving a new meaning to the word “Beta”.

    In the end, I can do nothing but quote David, “Note: [...] someone please fix that!”

  117. Wheres_the_beef is an idiot on 05 Feb 23:57:

    No one owes you anything…

  118. Schorsch on 06 Feb 01:08:

    Rock on!!! Thanks to everybody for their hard work and keep on changing a programmers live

  119. Arno.Nyhm on 06 Feb 01:12:

    1) is there an easy way to upgrade ruby 1.8.6 to 1.8.7

    2) whats prefered? to run it on 1.8.7 or on 1.9.1?

  120. Khalid Shaikh on 06 Feb 05:08:

    Great job guys!!! I just installed it!

  121. Mikey on 06 Feb 11:02:

    119, Arno.Nyhm:

    You can look at the gem rvm which do it easy to run multiple versions.

  122. Phil McClure on 06 Feb 11:38:

    When I try to start the server with “rails server—debugger”, I get an error “You need to install ruby-debug…”. However, I already have ruby-debug installed.

  123. Branimir Sloser on 06 Feb 12:49:

    Testing www.co2cut.com on rails 3

  124. -jul- on 06 Feb 16:54:

    So far rails 3.0.0.beta and ruby 1.9.1 are not friends. In order to install rails, you need rubygems 1.3.5, but ruby 1.9.1 has rubygems 1.3.1 bundled. According to rubygems developers, hand-upgrading it causes errors: http://rubyforge.org/tracker/index.php?func=detail&aid=27087&group_id=126&atid=575

  125. mgutz on 06 Feb 17:57:

    @jul been learning 3.0 pre and 3.0 beta on 1.9.1p378 . works for me

  126. Trys on 06 Feb 18:45:

    For windows users who have problems with “exec” try replacing in file <path_to_ruby>\lib\ruby\gems\1.9.1\gems\railties-3.0.0.beta\bin\rails

    line

    exec(Dir.getwd + ’/script/rails’, *ARGV)

    with

    load Dir.getwd + ’/script/rails’

    Should get you started.

  127. Matthew Ratzloff on 06 Feb 19:45:

    Things that would be nice: if the code checked for the existence of dependencies before trying to use them, and returned helpful messages instead of exceptions if they are missing. :-)

  128. Paolo Freuli on 06 Feb 21:00:

    is very happy to have a great new toy to play with ..

  129. ara.t.howard on 06 Feb 21:52:

    did anyone actually try those install commands on a non-commiter’s box?

    http://gist.github.com/296978

  130. fab on 06 Feb 22:23:

    Works fine with ruby 1.8.7 but I have problems with 1.9.1 and 1.9.2 http://gist.github.com/296997

  131. lol on 06 Feb 22:36:

    @ara.t.howard: hahah hilarious console dump

  132. Hique on 07 Feb 00:25:

    Does Anyone know if there are changes in engines (like mirror assets from plugins)?

  133. Francois on 07 Feb 00:28:

    I am looking forward to taking rails 3 for a spin. The list of improvements looks great. Hats off to all of you who worked on this.

  134. mark mcdonald on 07 Feb 05:19:

    Re-wrote a complete app in rails 3. Works excellent! So far I have used resource_controller and formtastic as plugins which both work without conflicts. Thanks for all the hard work everyone.

  135. Al on 07 Feb 11:15:

    Is there anyone getting this error when running script/server? “Cannot find gem for Rails =1.2.6.0:” Thanks

  136. Andy on 07 Feb 14:20:
    @Ruby1.9 Users Before installing Rails 3, upgrade your system, i.e.,:
    gem update --system
    If you used `rubygems-update’ instead, then you might want to uninstall that first:
    gem uninstall rubygems-update
    gem update --system

    Now you should be ready for Rails 3!

  137. pbf on 07 Feb 16:59:

    The features sound amazing! Thank you for the hard work

  138. sg552 on 08 Feb 01:14:

    Great! thank you all guys, good job !

  139. foo on 08 Feb 04:45:

    Is there some kind of roadmap for Rails 3 – i.e.: When will Rails 3 be finished?

    I just recently started to juggle with Ruby on Rails and do not want to learn it 2 times :-D

  140. Fred on 08 Feb 05:44:

    Merb is cool than ror, but now its ror!

  141. Tom G on 08 Feb 09:18:

    Wow, I have to try this now ;-)

  142. Dabazz on 08 Feb 09:39:

    Awesome

  143. Gary Taylor on 08 Feb 10:35:

    This is a major milestone. I too would feel proud of this release. I stepped through the startup code and per request code yesterday, and it is that clearly written and well structured – it feels like you wrote it yourself 5 minutes ago. Very easy to understand and hopefully will be quick.

    Well done to all of those contributors.

  144. Neku on 08 Feb 11:58:

    WHO-OH!

  145. Neku on 08 Feb 11:58:

    WHO-OH!

  146. Gaodiola on 08 Feb 13:11:

    Great Job!!!!

  147. Prima on 08 Feb 15:25:

    :D awesome

  148. Eric J Gruber on 09 Feb 06:50:

    I’m concerned about the use of “rails server” et. al., instead of “ruby script/server”.

    You’d better make sure you’re in the right directory, or you’re going to generate a new app in a subdirectory if you make a mistake.

    Is that a fair concern, or is there a safeguard built in to prevent that from happening?

  149. Javix on 09 Feb 09:32:

    Has anyone tried to install mongrel on Ubunt 9.10 after upgrading to Rails 3.0? I installed ruby 1.9.1 and rails as explained before and in the Ryan Bated screen cast: serge@ubuntu:$ ruby -v ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux] serge@ubuntu:$ rails -v Rails 3.0.0.beta serge@ubuntu:$ gem list

    • LOCAL GEMS *

    abstract (1.0.0) actionmailer (3.0.0.beta) actionpack (3.0.0.beta) activemodel (3.0.0.beta) activerecord (3.0.0.beta) activeresource (3.0.0.beta) activesupport (3.0.0.beta, 2.3.5) arel (0.2.pre) builder (2.1.2) bundler (0.9.3) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) erubis (2.6.5) fastthread (1.0.7) gem_plugin (0.2.3) i18n (0.3.3) mail (2.1.2) memcache-client (1.7.8) mime-types (1.16) mysql (2.8.1) rack (1.1.0) rack-mount (0.4.5) rack-test (0.5.3) rails (3.0.0.beta) railties (3.0.0.beta) rake (0.8.7) rubygems-update (1.3.5) text-format (1.0.0) text-hyphen (1.0.0) thor (0.13.0) tzinfo (0.3.16) serge@ubuntu:$

    When I tried to install mogrel gem, I got the below error:

    serge@ubuntu:$ gem install mongrel Building native extensions. This could take a while… ERROR: Error installing mongrel: ERROR: Failed to build gem native extension.

    /home/serge/.rvm/rubies/ruby-1.9.1-p378/bin/ruby extconf.rb checking for main() in -lc… yes creating Makefile

    make gcc -I. -I/home/serge/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/i686-linux -I/home/serge/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/backward -I/home/serge/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -o http11_parser.o -c http11_parser.c gcc -I. -I/home/serge/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/i686-linux -I/home/serge/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1/ruby/backward -I/home/serge/.rvm/rubies/ruby-1.9.1-p378/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -Wall -Wno-parentheses -o http11.o -c http11.c http11.c: In function ‘http_field’: http11.c:70: warning: format not a string literal and no format arguments http11.c:71: warning: format not a string literal and no format arguments http11.c:77: error: ‘struct RString’ has no member named ‘ptr’ http11.c:77: error: ‘struct RString’ has no member named ‘len’ http11.c:77: warning: left-hand operand of comma expression has no effect http11.c: In function ‘request_uri’: http11.c:102: warning: format not a string literal and no format arguments http11.c: In function ‘fragment’: http11.c:113: warning: format not a string literal and no format arguments http11.c: In function ‘request_path’: http11.c:124: warning: format not a string literal and no format arguments http11.c: In function ‘query_string’: http11.c:135: warning: format not a string literal and no format arguments http11.c: In function ‘header_done’: http11.c:172: error: ‘struct RString’ has no member named ‘ptr’ http11.c:172: error: ‘struct RString’ has no member named ‘ptr’ http11.c:172: error: ‘struct RString’ has no member named ‘ptr’ http11.c:174: error: ‘struct RString’ has no member named ‘ptr’ http11.c:176: error: ‘struct RString’ has no member named ‘ptr’ http11.c:177: error: ‘struct RString’ has no member named ‘len’ http11.c: In function ‘HttpParser_execute’: http11.c:298: error: ‘struct RString’ has no member named ‘ptr’ http11.c:299: error: ‘struct RString’ has no member named ‘len’ http11.c:307: warning: format not a string literal and no format arguments make: * [http11.o] Error 1

    Gem files will remain installed in /home/serge/.rvm/gems/ruby-1.9.1-p378/gems/mongrel-1.1.5 for inspection. Results logged to /home/serge/.rvm/gems/ruby-1.9.1-p378/gems/mongrel-1.1.5/ext/http11/gem_make.out serge@ubuntu:$

    Any idea ?

  150. Ajey Potdar on 09 Feb 14:52:

    Congratulations…Rails Team Can’t wait to explore the new features

  151. Alien2150 on 09 Feb 15:05:

    Gj guys!

  152. José Duarte on 10 Feb 11:21:

    It surely is a great day to be a Rails developer :)

    Great Work!

  153. defier.lai on 10 Feb 12:16:

    Thank you。rails在中国的应用会越来越多的。

  154. Charles on 10 Feb 14:27:

    After updating my rails to the beta I can’t create a project in a previous version of rails (example: rails 2.3.5). I tried the old way (rails 2.3.5) to create a project in a previous version of rails but I have a message indicating this ==> /Library/Ruby/Site/1.8/rubygems.rb:827:in `report_activate_error’: RubyGem version error: railties(3.0.0.beta not = 2.3.5) (Gem::LoadError) from /Library/Ruby/Site/1.8/rubygems.rb:261:in `activate’ from /Library/Ruby/Site/1.8/rubygems.rb:68:in `gem’ from /usr/bin/rails:18

    Is that a missing command in the beta or will it be impossible to create a new project with a previous version of rails after Rails 3.0 ?

  155. Jim on 10 Feb 15:32:

    Awsome! Can’t wait to try it out.

    Is there a version of api.rubyonrails.org updated for 3beta yet?

  156. daniel on 11 Feb 01:19:

    the command to install it doesn’t work as rack-mount needs to be exactly 0.4. so run

    gem install rack-mount—version=0.4.0

    before gem install rails—pre

  157. Tex on 11 Feb 10:15:

    1 Trillion of trillions of thanks !!!

  158. Dobril on 11 Feb 12:16:

    Awsome! Thanks

  159. Blacky on 11 Feb 12:29:

    Is there a roadmap for the Release Candidates of Rails 3 ?

  160. Shibumi on 11 Feb 21:14:

    Installs without problem on Mac OS X with jruby 1.4.0 except rack-mount v-0.4.0 exception which is fine after fixing version issue, thanks to daniel…

  161. Samiron on 12 Feb 12:55:

    I faced somewhat similar problem of daniel. rack-mount and rake should be of a specific version. I had to run following two commands additionally

    gem install rack-mount -v 0.4.0
    &
    gem install rake 0.8.3

    Anyway, thanks a lot for the post :)

  162. Alex on 12 Feb 16:47:

    That’s great!

    Thank you

  163. Aaron on 13 Feb 18:03:

    What happened to subdomain support in routes? :(

  164. what wrong on 14 Feb 14:18:

    $ rails server

    .../config/boot.rb:6:in `require’: no such file to load—bundler (LoadError)

    $ gem list

    bundler (0.9.5, 0.9.4)

  165. noname on 14 Feb 19:13:

    might add sqlite3-ruby to the first gem install line since rails -v breaks without it

  166. Ajin Nikam on 15 Feb 15:53:

    Thanks guys Great job

  167. Dasharatham Bitla on 17 Feb 04:14:

    Great Job guys!

  168. Shakar Smazah Chikiplqtkov on 17 Feb 08:21:

    Great!!! The coolest framework ever is going to v3 :)

  169. Abhishek shukla on 18 Feb 05:24:

    Thanks guys… it’s going to be fun.

  170. Duane Johnson on 18 Feb 06:10:

    This worked for me on Mac OS X Leopard, with a clean install of Ruby 1.9.1 (installed with MacPorts):

    $ sudo gem install thor text-format mail i18n tzinfo builder memcache-client rack rack-test erubis rake

    $ sudo gem install rack-mount -v 0.4.0

    $ sudo gem install rails—pre

  171. Prashanth on 18 Feb 06:54:

    Awesome work!

  172. Adrien Lamothe on 18 Feb 20:59:

    Will Rails 3 have the planned new plugin architecture? I don’t see mention of that in the current release notes.

    Congratulations!

    Adrien

  173. Eddie Cianci on 19 Feb 16:45:

    @adrien Plugin changes are in the release notes:

    http://guides.rails.info/3_0_release_notes.html#rails-architectural-changes

    They also link to http://yehudakatz.com/2009/07/19/rails-3-the-great-decoupling/ for more information.

  174. Wickyd on 23 Feb 09:35:

    No-one has answered the most pressing of questions.

    Will there be an improvement in speed?

    Will a rails 3 web application “feel” faster?

  175. Yaok on 24 Feb 14:15:

    where is the Rails 3.0 guides

  176. Westy on 24 Feb 16:34:

    Hello,

    When will the stable version of rails 3 be available?

    I’m new to rails. What’s the impact on my current application, which is built on 2.3.3.

    Cheers

  177. David Pan on 25 Feb 03:53:

    Congratulations…

  178. purab on 27 Feb 17:57:

    I really love the features of Rails 3.0

  179. Black Programma on 02 Mar 00:47:

    i think rails 3 is racist cuz it dont have the language we can unda stand. i think u should include sum ebonics in it – aint ever thing white people u know. some people aint like you. be open minded.

  180. jeffyt on 03 Mar 21:42:

    Grrr…as usual very frustrating to get RAILS on Windows XP. Here are the steps I used to be able to start developing: 1) Downloaded the RubyInstaller for 1.8.7-p249 (cannot find 1.9.2 anywhere?) from http://rubyinstaller.org/download.html and ran it. 2) Issued command: ruby -v | confirmed 1.8.7 3) Issued command: gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n | Which failed on bundler because it requires RubyGems 1.3.6 4) Issued command: gem update—system | This updates Gems to 1.3.6 5) Issued command: gem install bundler | to finish rails requirements 6) Issued command: gem install rails—pre | 7) Issued command: rails myapp | to create sample app 8) Issued command: rails server(which I think will be an issue) | recieved the following error: c:/ruby/lib/ruby/gems/1.8/gems/railties-3.0.0.beta/bin/rails:2:in `exec’: Exec format error – C:/Ruby/apps/myapp/script/rails (Errno::ENOEXEC) from c:/ruby/lib/ruby/gems/1.8/gems/railties-3.0.0.beta/bin/rails:2 from c:/Ruby/bin/rails:19:in `load’ from c:/Ruby/bin/rails:19 9) Thanks to @Trys I did the following: edit <path_to_ruby>\lib\ruby\gems\1.8\gems\railties-3.0.0.beta\bin\rails at line: exec(Dir.getwd + ’/script/rails’, *ARGV) replace with: load Dir.getwd + ’/script/rails’ 10) Issued command: rails server(which I think will be an issue) | recieved the following error: c:/ruby/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/resolver.rb:163:in `resolve’: Could not find gem ‘sqlite3-ruby (>= 0, runtime)’ in any of the sources. 11) Issued command: gem install sqlite3-ruby | finsihes but gives alot of no definition for * messages 12) Issued command: rails server | server started but sqlite3.dll gives a popup error 13) Download sqlite3.dll from http://www.sqlite.org/sqlitedll-3_6_10.zip and place in \WINDOWS\system32 14) Issued command: rails server | success 15) Browsed to http://localhost:3000 | Rails Screen! Yeah that was painful!

    I experienced this on 2 different machines….I really like programming Rails but setting up and upgrading components has always been a headache.

  181. Otto on 04 Mar 20:05:

    Part of speed is in database and the way you are using it.

    So, I’m not sure the new engine is the only thing to help you speed up your app.

    From what I’ve seen it really helps in time development and usage. Speed is quite complex to measure and depends on so many factors (CPU, memory tuning, server, etc.)

    I’ve seen application waisting time just with “simple” request to a database that was not properly configured or tuned.

    Let’s enjoy the new features, stability and speed will come

  182. drhuffman12@yahoo.com on 04 Mar 22:24:

    If Rails 3 uses:

    rails console # instead of script/console

    ... and …

    rails g scaffold post title:string # instead of script/generate scaffold post title:string

    ... but we still create a Rails app with:

    rails myapp

    ... then would it be beneficial to create a Rails app with something like:

    rails a myapp

    ... or …

    rails app myapp

    ... or something like that to avoid name-space or key word collisions (e.g.: in case I wanted to create a Rails app called “console” or “server”)?