Bulk updating gem

Rated 3.83/5 based on 921 customer reviews

From: [hidden email] [mailto:[hidden email On Behalf Of Charles O Nutter Sent: Sunday, July 09, 2006 AMTo: [hidden email]; [hidden email]Subject: Re: [Jruby-user] Bug with 0.9.0 doing gem install sqlite When I ran it I actually got the following. Receive and share.-------------------------------------------------------------------------Using Tomcat but need to do more? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM Web Sphere Application Server v.1.0.1 based on Apache GeronimoIt looks like the sqlite gem has native code in it (a C extension) and so it wouldn't install or work with JRuby anyway. cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________Jruby-user mailing list[hidden email]https://lists.sourceforge.net/lists/listinfo/jruby-user-- Charles Oliver Nutter @ headius.JRuby Developer @ Architect @ Using Tomcat but need to do more? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM Web Sphere Application Server v.1.0.1 based on Apache Geronimo DECLARE c_limit PLS_INTEGER := 100; CURSOR employees_cur IS SELECT employee_id FROM employees WHERE department_id = department_id_in; TYPE employee_ids_t IS TABLE OF employees.employee_id%TYPE; l_employee_ids employee_ids_t; BEGIN OPEN employees_cur; LOOP FETCH employees_cur BULK COLLECT INTO l_employee_ids LIMIT c_limit; -- This will make sure that every iteration has 100 records selected EXIT WHEN l_employee_ids. SET emp.salary = emp.salary emp.salary * increase_pct_in WHERE emp.employee_id = l_employee_ids(indx); commit; END LOOP; EXCEPTION WHEN OTHERS THEN IF SQLCODE = -24381 THEN FOR indx IN 1 .. COUNT LOOP -- Caputring errors occured during update DBMS_OUTPUT.put_line ( SQL%BULK_EXCEPTIONS (indx).

||

From: [hidden email] [mailto:[hidden email]] On Behalf Of Charles O Nutter Sent: Sunday, July 09, 2006 AMTo: [hidden email]; [hidden email]Subject: Re: [Jruby-user] Bug with 0.9.0 doing gem install sqlite When I ran it I actually got the following. Receive and share.-------------------------------------------------------------------------Using Tomcat but need to do more? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM Web Sphere Application Server v.1.0.1 based on Apache Geronimo

It looks like the sqlite gem has native code in it (a C extension) and so it wouldn't install or work with JRuby anyway. cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________Jruby-user mailing list[hidden email]https://lists.sourceforge.net/lists/listinfo/jruby-user-- Charles Oliver Nutter @ headius.JRuby Developer @ Architect @ Using Tomcat but need to do more? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM Web Sphere Application Server v.1.0.1 based on Apache Geronimo

DECLARE c_limit PLS_INTEGER := 100; CURSOR employees_cur IS SELECT employee_id FROM employees WHERE department_id = department_id_in; TYPE employee_ids_t IS TABLE OF employees.employee_id%TYPE; l_employee_ids employee_ids_t; BEGIN OPEN employees_cur; LOOP FETCH employees_cur BULK COLLECT INTO l_employee_ids LIMIT c_limit; -- This will make sure that every iteration has 100 records selected EXIT WHEN l_employee_ids. SET emp.salary = emp.salary emp.salary * increase_pct_in WHERE emp.employee_id = l_employee_ids(indx); commit; END LOOP; EXCEPTION WHEN OTHERS THEN IF SQLCODE = -24381 THEN FOR indx IN 1 .. COUNT LOOP -- Caputring errors occured during update DBMS_OUTPUT.put_line ( SQL%BULK_EXCEPTIONS (indx).

COUNT SAVE EXCEPTIONS UPDATE employees emp -- Updating 100 records at 1 go.

I think checked to see if the “gem” command had the right versions on each server and that is where I located the issue.

]]

bulk updating gem-65

bulk updating gem-77

Now use “cd” to change the directory into the new rubygems-1.3.5 directory and then ls to list the contents of the directory to make sure all of the necessary items are there such as Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems/source_index.rb:62:in `installed_spec_directories': undefined method `path' for Gem: Module (No Method Error) from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems/source_index.rb:52:in `from_installed_gems' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems.rb:914:in `source_index' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems/gem_path_searcher.rb:98:in `init_gemspecs' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems/gem_path_searcher.rb:13:in `initialize' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems.rb:873:in `new' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems.rb:873:in `searcher' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems.rb:495:in `find_files' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems.rb:1034:in `load_plugins' from /Users/woshea/.rvm/gems/[email protected]/gems/rubygems-update-1.4.1/lib/rubygems/gem_runner.rb:84:in ` As of 2011-Jan-02, the Ruby Gems 1.4.0/1.4.1 release does not work with MRI Ruby 1.9. Since you are running MRI Ruby 1.9, please join me in waiting for an updated MRI Ruby 1.9 that will support an updated Ruby Gems 1.4.This letter provides an update on our developing market liquidity work programme.cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Jruby-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/jruby-user We are, however, very interested in formalizing a way to write extensions for JRuby. Exception in thread "Thread-0" org.jruby.exceptions. Main Exit Exception: Error opening script file: (No such file or directory) at org. Ruby Kernel$In Process Script.run(Ruby Kernel.java:828)ERROR: While executing gem ...This would allow in the future for there to also be a Java version of gems-that-include-extensions which would be installed instead of the C-extension version. Right, I've been struggling with getting the SQLite gem to install even with C Ruby (on Windows; it may work OK on *nix), so you'd have that trouble on top of the fact that JRuby won't be able to use extensions written in C.... Commandline Script Source(Commandline :203) at org.jruby. (Runtime Error) on osx 10.4mike-hogans-computer:~/tools/jruby-0.9.0 mikehogan$ gem install--no-rdoc --no-ri sqlite Bulk updating Gem source index for: While executing gem ... Illegal Argument Exception: nullmike-hogans-computer:~/tools/jruby-0.9.0 mikehogan$Take care, Mike.

Leave a Reply