Is it possible that the fixnum in 1.8.4 has a success? method defined? -Tom
On Mon, 26 Jun 2006, Charles O Nutter defenestrated me: > > The plugin script fails (as perhaps do others) because we do not > return a Process::Status object when executing an external process; we > return a Fixnum. > Process::Status defines a success? method which Rails is using. That > blows up with a NoMethodError, which Rails of course swallows. > The fix is to make $? a Process::Status object (we do not have the > class or any of its methods defined as yet). > Oddly enough, there seems to be a 1.8.4 bug in that ruby -e scripts > set $? to a Fixnum. I'm going to ask them about it. > > On 6/26/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: > > I will look at this tonight if it is not solved by then by some > other > industrious person... > -Tom > On Mon, 26 Jun 2006, Nick Sieger defenestrated me: > > > > I've got things set up in my svn repo such that you pull down my > > ActiveRecord JDBC adapter as a Rails plugin. Although it appears > that > > using 'script/plugin' inside of JRuby may have some issues. So > for > > now, use C Ruby. Inside your Rails app, do: > > > > ruby script/plugin install > > > [2]http://svn.caldersphere.net/svn/main/activerecord-jdbc/trunk/act > iverecord_jdbc/ > > > > This should pull down and configure the JDBC adapter for you with > no > > additional setup. If it doesn't, let me know and we'll work > through > > it. I haven't yet tried running a Rails app inside of JRuby yet > but I > > hope to in the next couple of days. > > > > I am also starting to investigate testing with another database, > > hsqldb. I think the driver could benefit from attempting to use > some > > additional databases, if we're ever going to fulfill the promise > of > > leveraging any JDBC data source, and also I think it would be > cool to > > use an embedded database in the spirit of SQLite which has become > > popular with smaller Rails apps in C Ruby-based Rails land. > > > > Cheers, > > /Nick > > > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > > [3]http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&da > t=121642 > > _______________________________________________ > > Jruby-devel mailing list > > [EMAIL PROTECTED] > > [5]https://lists.sourceforge.net/lists/listinfo/jruby-devel > -- > + [6]http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] > ----+ > | Thomas E Enebo, Protagonist | "Luck favors the prepared | > | | mind." -Louis Pasteur | > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > [8]http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&da > t=121642 > _______________________________________________ > Jruby-devel mailing list > [EMAIL PROTECTED] > [10]https://lists.sourceforge.net/lists/listinfo/jruby-devel > > -- > Charles Oliver Nutter @ [11]headius.blogspot.com > JRuby Developer @ [12]www.jruby.org > Application Architect @ [13]www.ventera.com > > References > > 1. mailto:[EMAIL PROTECTED] > 2. > http://svn.caldersphere.net/svn/main/activerecord-jdbc/trunk/activerecord_jdbc/ > 3. http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > 4. mailto:Jruby-devel@lists.sourceforge.net > 5. https://lists.sourceforge.net/lists/listinfo/jruby-devel > 6. http://www.tc.umn.edu/~enebo > 7. mailto:[EMAIL PROTECTED] > 8. http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > 9. mailto:Jruby-devel@lists.sourceforge.net > 10. https://lists.sourceforge.net/lists/listinfo/jruby-devel > 11. http://headius.blogspot.com/ > 12. http://www.jruby.org/ > 13. http://www.ventera.com/ > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jruby-devel mailing list > Jruby-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jruby-devel -- + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel