Java Virtal Machine.net

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

July/2017
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
2324252627 2829
3031     

[ Archives News
for 'Developers' ]

home > news > developers > ruby screenshot of the week #25: require_gem

Ruby Screenshot of the Week #25: require_gem

There have been a number of releases lately. Rails 2.0 shipped. NetBeans 6.0 mostly supports it. There were a couple of changes, such as the scaffold generator's parameters changing meaning, and the new shorthand migration syntax, which affected NetBeans. I've committed changes to 6.1 to support these, so grab the latest if you're wanting complete Rails 2.0 support. However, note that we're in early 6.1 development so there's some big potentially destabilizing changes, such as a new platform manager which lets you choose per project ruby interpreters, configure separate gem repositories and so on. I'll post more about this when it's done. You don't need to upgrade if you're just wanting to use Rails 2.0 - nearly everything in NetBeans 6.0 works just fine. JRuby 1.0.3 also recently shipped, and I've just updated NetBeans 6.1 to use it. JRuby 1.0.3 lets you run Rails 2.0 without needing to install the optional jruby-openssl gem. I just noticed that RubyGems 1.0 has shipped. One of the changes in RubyGems is that the require_gem method, which has been deprecated for a while, is now gone - so you have to update your code appropriately. require_gem was used by previous versions of Rails, so many boot.rb files still reference it. I just added a checker for this: It's not just a warning - it's a quickfix: The "Show More information" fix opens the browser on the release page for RubyGems 1.0 which briefly mentions the...


Date: December, 20 2007
Url: http://blogs.sun.com/tor/entry/require_gem


Others News

©2002-2017Java-Virtual-Machine.net web design software | Mobirise Templates | easy free website builder | easy website builder software | top web builder