Java Virtal Machine.net

[ News ] rss

March 17, 2010

Using JSF 2.x on Tomcat 6.x.. If you want to use JSF 2.x on a Tomcat 6.x server you have 2 options, see this short article.

More »

March 17, 2010

Declarative Hyperlinking Enhancements. I've spent some time fleshing out the code in the experimental declarative hyperlinking module I blogged about earlier. In that earlier entry I showed how you could use the new @Link annotation with existing URI templates either explicitly like ...

More »

March/2010
SunMonTueWedThuFriSat
 1 2 3 456
789 1011 12 13
14 15 16 1718 1920
21222324252627
28293031   

[ 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

Leave a Reply

Name (required)
Mail (will not be published) (required)
Website
You don't see letters?

Enter the code shown above (required)


Related

©2002-2008Java-Virtual-Machine.net