Download jruby
Author: D | 2025-04-24
To Install JRuby as Standalone. To install your own JRuby instance as standalone, use the following procedure. Go to JRuby download site JRuby Download Site. Download jruby-bin JRuby .0 Released. The JRuby community is pleased to announce the release of JRuby .0. Homepage: Download: JRuby
JRuby Reference jruby/jruby Wiki - GitHub
The issue is similar to #279.I encountered this error in the following development: installing bigdecimal 3.1.9 on JRuby, the following error occurs: at extconf.rb:18To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/mkmf.logextconf failed, exit code 1Gem files will remain installed in /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/gems/bigdecimal-3.1.9 for inspection.Results logged to /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/gem_make.out">$ ruby -vjruby 9.4.7.0 (3.1.4) 2024-04-29 597ff08ac1 Java HotSpot(TM) 64-Bit Server VM 25.271-b09 on 1.8.0_271-b09 +jit [x86_64-darwin]$ gem i bigdecimal:3.1.9Fetching bigdecimal-3.1.9.gemBuilding native extensions. This could take a while...ERROR: Error installing bigdecimal: ERROR: Failed to build gem native extension. current directory: /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/gems/bigdecimal-3.1.9/ext/bigdecimal/Users/koic/.rbenv/versions/jruby-9.4.7.0/bin/jruby -I /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib extconf.rbchecking for __builtin_clz()... *** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers. Check the mkmf.log file for more details. You mayneed configuration options.Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/koic/.rbenv/versions/jruby-9.4.7.0/bin/jrubyRuntimeError: The compiler failed to generate an executable file.You have to install development tools first. try_do at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:456 try_compile at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:571 with_werror at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:524 try_compile at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:571 have_builtin_func at extconf.rb:6 checking_for at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:942 postpone at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:350 open at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:320 postpone at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:350 open at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:320 postpone at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:346 checking_for at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:941 have_builtin_func at extconf.rb:5 at extconf.rb:18To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/mkmf.logextconf failed, exit code 1Gem files will remain installed in /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/gems/bigdecimal-3.1.9 for inspection.Results logged to /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/gem_make.outNo error occurs with bigdecimal 3.1.8.$ ruby -vjruby 9.4.7.0 (3.1.4) 2024-04-29 597ff08ac1 Java HotSpot(TM) 64-Bit Server VM 25.271-b09 on 1.8.0_271-b09 +jit [x86_64-darwin]$
Concurrency in jruby jruby/jruby Wiki - GitHub
JRuby Native LauncherMotivationMaintaning JRuby.BAT was, well, to put it mildly, unpleasant. We hadtens of bugs due to BAT limitations, we had weird behaviors dependingon the version of Windows, we had a bunch of regressions.See for more details.On UNIX platforms, we had problems because a shell-script can't be putas a path in the shebang and couldn't take arguments. (#!/usr/bin/env jruby -w)We also wanted to DRY up argument handling, even if it meant ditchingshell script and writing in lowest-common-denominator C++ (!).CompileOn UNIX, you should be able to just type make and a jruby binarywill be created in the project directory. Copy this to$JRUBY_HOME/bin (or wherever your jruby executable is installed). OnWindows, you should also be able to type make ifyou have the MinGW compiler toolkit installed.Or, open the project in Netbeans 6.8 (with C/C++ plugin installed). IfNetbeans warns that no compilers found, follow the instructions andinstall the required compilers. Currenty, we support MinGW. More infohere: just build it, and you're ready to go. jruby.exe, jrubyw.exeandjruby.dll will be created, they need to be copied into$JRUBY_HOME/bindirectory.Both, 32-bit and 64-bit compilers are supported. Great version of64-bit mingw can be found here: build 64-bit version of the launcher, use the following from thecommand line:RunThe launcher provides a great logger, use it like this:jruby -Xtrace LOG_FILE.log ....TODOSee TODO.txt file for things that need to be done before this launchercould replace jruby.bat.ThanksThe original code is by Netbeans project.LicenseRead the COPYING file.jruby/jruby: JRuby, an implementation of Ruby on the JVM - GitHub
BeaTunes News beaTunes 4.5 EA2 beaTunes 4.5 EA1 In the last couple of months I've been working on switching some things under beaTunes' hood as well as in its user interface. Today, I'm happy to release the first Early Access version of this effort. So what has changed?Under the hood, many third party libraries beaTunes depends upon were updated. Probably the biggest step was from Hibernate 3.4 to 4.3. But other libs like Jython, Groovy, and JRuby were updated as well.Additionally, some of the database caching code has been streamlined for greater efficiency.On the surface, beaTunes 4.5 features a fresh new look—much more in line with Yosemite and the upcoming El Captain. Library, Analysis, Inspection, and Charts are now accessible via a vertical mode button panel, removing some visual clutter. With the same idea in mind, both the sidebar (what used to be the playlist tree) and the status bar can now be hidden via the View menu. Also, the Matching Songs and Album Info buttons are now only visible when the main song table is visible as well.The goal of this update is not to add a lot of new features. However, some of you will be very pleased to see that it has gotten much easier to write computed keys to the comment field (simply check a box in the analysis options). Also, alternatively to valid ID3 TKey values, one can now embed Open Key values as key names (box in the general preferences). Furthermore, there is a new inspector and a bunch of other little improvements. One of them being a dedicated button in the matching songs panel, that allows adding the selected song to the current playlist with a simple click or press of a button (keyboard shortcut), instead of having to drag it.Because I didn't try to go overboard with new stuff, this Early Access release is close to production quality. However, it still needs some testing. Please download it and try it out. As always with Early Access versions—the software will expire, in this case in a week. If the real thing isn't released by then, I will post another EA release in time.I'm looking forward to your feedback.Downloads beaTunes 4.5 EA1 for OS X beaTunes 4.5 EA1 for 64 Bit Windows beaTunes 4.5 EA1 for 32 Bit Windows (requires QuickTime)UpdatePlease do not download EA1 anymore. You can find EA2 here.Labels: Early Access More iTunes 12.2 Fixes iTunes 12.2 delivered a bunch of surprises for all of us. Today's update deals with some more. In case you hadn't noticed, beaTunes suddenly displayed some additional playlists for all kinds of non-AV content (Apps, PDFs, ...). This stems from the fact that Apple apparently re-organized some. To Install JRuby as Standalone. To install your own JRuby instance as standalone, use the following procedure. Go to JRuby download site JRuby Download Site. Download jruby-binjruby/jruby-openssl: JRuby's OpenSSL gem - GitHub
FROM posts# ORDER BY post_date# LIMIT 10One advantage of using these methods inside dataset_module blocks, instead of defining methods manually, is that the created methods will generally cache the resulting values and result in better performance.Model Validations¶ ↑You can define a validate method for your model, which save will check before attempting to save the model in the database. If an attribute of the model isn’t valid, you should add an error message for that attribute to the model object’s errors. If an object has any errors added by the validate method, save will raise an error by default:class Post Sequel::Model def validate super errors.add(:name, "can't be empty") if name.empty? errors.add(:written_on, "should be in the past") if written_on >= Time.now endendTesting Sequel¶ ↑Please see the testing guide for recommendations on testing applications that use Sequel, as well as the how to run the tests for Sequel itself.Sequel Release Policy¶ ↑New major versions of Sequel do not have a defined release policy, but historically have occurred once every few years.New minor versions of Sequel are released around once a month near the start of the month.New tiny versions of Sequel are only released to address security issues or regressions in the most current release.Ruby Support Policy¶ ↑Sequel fully supports the currently supported versions of Ruby (MRI) and JRuby. It may support unsupported versions of Ruby or JRuby, but such support may be dropped in any minor version if keeping it becomes a support issue. The minimum Ruby version required to run the current version of Sequel is 1.9.2, and the minimum JRuby version is 9.2.0.0 (due to the bigdecimal dependency).Maintainer¶ ↑Jeremy EvansDownload jruby-1.6.5.1-sources.jar : jruby j - Java2s
Home Java Libraries org.mortbay.jetty.testwars Project Group: org.mortbay.jetty.testwars Jetty :: Test Wars :: Dump org.mortbay.jetty.testwars : test-war-dump Jetty integrations and distributions Last Version: 8.1.16.v20140903 Release Date: Sep 3, 2014 Jetty :: Verifier Tests :: JRuby Webapp org.mortbay.jetty.testwars : test-war-jruby Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Jython Webapp org.mortbay.jetty.testwars : test-war-jython Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Groovy Webapp org.mortbay.jetty.testwars : test-war-groovy Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Shellscripts Webapp org.mortbay.jetty.testwars : test-war-shellscripts Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Native Access Webapp org.mortbay.jetty.testwars : test-war-nativeaccess Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.1 Lib org.mortbay.jetty.testwars : dummy-java11-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.2 Lib org.mortbay.jetty.testwars : dummy-java12-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.3 Lib org.mortbay.jetty.testwars : dummy-java13-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.4 Lib org.mortbay.jetty.testwars : dummy-java14-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jettyjruby/jruby-launcher: JRuby's native launcher executable - GitHub
Dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.Credits-------The YUI Compressor library is copyright Yahoo! Inc. The jar file is included inthe source distribution under the terms of the BSD license.Also, thanks to Charles Nutter (@headius) for helping me understand how toconvert Ruby streams to Java and back when doing the JRuby module.. To Install JRuby as Standalone. To install your own JRuby instance as standalone, use the following procedure. Go to JRuby download site JRuby Download Site. Download jruby-bin JRuby .0 Released. The JRuby community is pleased to announce the release of JRuby .0. Homepage: Download: JRubyComments
The issue is similar to #279.I encountered this error in the following development: installing bigdecimal 3.1.9 on JRuby, the following error occurs: at extconf.rb:18To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/mkmf.logextconf failed, exit code 1Gem files will remain installed in /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/gems/bigdecimal-3.1.9 for inspection.Results logged to /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/gem_make.out">$ ruby -vjruby 9.4.7.0 (3.1.4) 2024-04-29 597ff08ac1 Java HotSpot(TM) 64-Bit Server VM 25.271-b09 on 1.8.0_271-b09 +jit [x86_64-darwin]$ gem i bigdecimal:3.1.9Fetching bigdecimal-3.1.9.gemBuilding native extensions. This could take a while...ERROR: Error installing bigdecimal: ERROR: Failed to build gem native extension. current directory: /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/gems/bigdecimal-3.1.9/ext/bigdecimal/Users/koic/.rbenv/versions/jruby-9.4.7.0/bin/jruby -I /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib extconf.rbchecking for __builtin_clz()... *** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers. Check the mkmf.log file for more details. You mayneed configuration options.Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/koic/.rbenv/versions/jruby-9.4.7.0/bin/jrubyRuntimeError: The compiler failed to generate an executable file.You have to install development tools first. try_do at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:456 try_compile at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:571 with_werror at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:524 try_compile at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:571 have_builtin_func at extconf.rb:6 checking_for at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:942 postpone at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:350 open at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:320 postpone at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:350 open at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:320 postpone at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:346 checking_for at /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/stdlib/mkmf.rb:941 have_builtin_func at extconf.rb:5 at extconf.rb:18To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/mkmf.logextconf failed, exit code 1Gem files will remain installed in /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/gems/bigdecimal-3.1.9 for inspection.Results logged to /Users/koic/.rbenv/versions/jruby-9.4.7.0/lib/ruby/gems/shared/extensions/universal-java-1.8/3.1.0/bigdecimal-3.1.9/gem_make.outNo error occurs with bigdecimal 3.1.8.$ ruby -vjruby 9.4.7.0 (3.1.4) 2024-04-29 597ff08ac1 Java HotSpot(TM) 64-Bit Server VM 25.271-b09 on 1.8.0_271-b09 +jit [x86_64-darwin]$
2025-04-03JRuby Native LauncherMotivationMaintaning JRuby.BAT was, well, to put it mildly, unpleasant. We hadtens of bugs due to BAT limitations, we had weird behaviors dependingon the version of Windows, we had a bunch of regressions.See for more details.On UNIX platforms, we had problems because a shell-script can't be putas a path in the shebang and couldn't take arguments. (#!/usr/bin/env jruby -w)We also wanted to DRY up argument handling, even if it meant ditchingshell script and writing in lowest-common-denominator C++ (!).CompileOn UNIX, you should be able to just type make and a jruby binarywill be created in the project directory. Copy this to$JRUBY_HOME/bin (or wherever your jruby executable is installed). OnWindows, you should also be able to type make ifyou have the MinGW compiler toolkit installed.Or, open the project in Netbeans 6.8 (with C/C++ plugin installed). IfNetbeans warns that no compilers found, follow the instructions andinstall the required compilers. Currenty, we support MinGW. More infohere: just build it, and you're ready to go. jruby.exe, jrubyw.exeandjruby.dll will be created, they need to be copied into$JRUBY_HOME/bindirectory.Both, 32-bit and 64-bit compilers are supported. Great version of64-bit mingw can be found here: build 64-bit version of the launcher, use the following from thecommand line:RunThe launcher provides a great logger, use it like this:jruby -Xtrace LOG_FILE.log ....TODOSee TODO.txt file for things that need to be done before this launchercould replace jruby.bat.ThanksThe original code is by Netbeans project.LicenseRead the COPYING file.
2025-04-08FROM posts# ORDER BY post_date# LIMIT 10One advantage of using these methods inside dataset_module blocks, instead of defining methods manually, is that the created methods will generally cache the resulting values and result in better performance.Model Validations¶ ↑You can define a validate method for your model, which save will check before attempting to save the model in the database. If an attribute of the model isn’t valid, you should add an error message for that attribute to the model object’s errors. If an object has any errors added by the validate method, save will raise an error by default:class Post Sequel::Model def validate super errors.add(:name, "can't be empty") if name.empty? errors.add(:written_on, "should be in the past") if written_on >= Time.now endendTesting Sequel¶ ↑Please see the testing guide for recommendations on testing applications that use Sequel, as well as the how to run the tests for Sequel itself.Sequel Release Policy¶ ↑New major versions of Sequel do not have a defined release policy, but historically have occurred once every few years.New minor versions of Sequel are released around once a month near the start of the month.New tiny versions of Sequel are only released to address security issues or regressions in the most current release.Ruby Support Policy¶ ↑Sequel fully supports the currently supported versions of Ruby (MRI) and JRuby. It may support unsupported versions of Ruby or JRuby, but such support may be dropped in any minor version if keeping it becomes a support issue. The minimum Ruby version required to run the current version of Sequel is 1.9.2, and the minimum JRuby version is 9.2.0.0 (due to the bigdecimal dependency).Maintainer¶ ↑Jeremy Evans
2025-04-13Home Java Libraries org.mortbay.jetty.testwars Project Group: org.mortbay.jetty.testwars Jetty :: Test Wars :: Dump org.mortbay.jetty.testwars : test-war-dump Jetty integrations and distributions Last Version: 8.1.16.v20140903 Release Date: Sep 3, 2014 Jetty :: Verifier Tests :: JRuby Webapp org.mortbay.jetty.testwars : test-war-jruby Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Jython Webapp org.mortbay.jetty.testwars : test-war-jython Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Groovy Webapp org.mortbay.jetty.testwars : test-war-groovy Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Shellscripts Webapp org.mortbay.jetty.testwars : test-war-shellscripts Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Native Access Webapp org.mortbay.jetty.testwars : test-war-nativeaccess Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.1 Lib org.mortbay.jetty.testwars : dummy-java11-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.2 Lib org.mortbay.jetty.testwars : dummy-java12-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.3 Lib org.mortbay.jetty.testwars : dummy-java13-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty :: Verifier Tests :: Dummy Java1.4 Lib org.mortbay.jetty.testwars : dummy-java14-lib Parent pom for Jetty at Codehaus Last Version: 9.0.0.v20130315 Release Date: Mar 15, 2013 Jetty
2025-04-15Example:require 'concurrent/map'require 'concurrent/atomic/atomic_reference'require 'concurrent/executor/fixed_thread_pool'To use the tools in the Edge gem it must be required separately:require 'concurrent-edge'If the library does not behave as expected, Concurrent.use_simple_logger(:DEBUG) couldhelp to reveal the problem.Installationgem install concurrent-rubyor add the following line to Gemfile:gem 'concurrent-ruby', require: 'concurrent'and run bundle install from your shell.Edge Gem InstallationThe Edge gem must be installed separately from the core gem:gem install concurrent-ruby-edgeor add the following line to Gemfile:gem 'concurrent-ruby-edge', require: 'concurrent-edge'and run bundle install from your shell.C Extensions for MRIPotential performance improvements may be achieved under MRI by installing optional C extensions.To minimise installation errors the C extensions are available in the concurrent-ruby-extextension gem. concurrent-ruby and concurrent-ruby-ext are always released together with sameversion. Simply install the extension gem too:gem install concurrent-ruby-extor add the following line to Gemfile:gem 'concurrent-ruby-ext'and run bundle install from your shell.In code it is only necessary toThe concurrent-ruby gem will automatically detect the presence of the concurrent-ruby-ext gemand load the appropriate C extensions.Note For gem developersNo gems should depend on concurrent-ruby-ext. Doing so will force C extensions on your users. Thebest practice is to depend on concurrent-ruby and let users to decide if they want C extensions.Building the gemRequirementsRecent CRubyJRuby, rbenv install jruby-9.2.17.0Set env variable CONCURRENT_JRUBY_HOME to point to it, e.g. /usr/local/opt/rbenv/versions/jruby-9.2.17.0Install Docker or Podman, required for Windows buildsIf bundle config get path is set, use bundle config set --local path.system true otherwise the gem name, path: '.' gems won't be found (Bundler limitation).Publishing the GemUpdate version.rbUpdate the CHANGELOGAdd the new version to docs-source/signpost.md. Needs to be done only if there are visible changes in the documentation.Commit (and push) the changes.Use bundle exec rake release to release the gem.It consists of ['release:checks', 'release:build', 'release:test', 'release:publish'] steps.It will ask at the end before publishing anything. Steps can also be executed individually.MaintainersBenoit DalozeMatthew DraperRafael FrançaCharles Oliver NutterBen SheldonSamuel WilliamsSpecial Thanks
2025-04-19How to extract a text from the screen using Sikuli?How to extract a text from the screen using SIKULI? I am using Sikuli to automate a mainframe screen, I need to copy a text on screen and use that as input to another screen. I cannot find any option on the SIKULI IDE to do the copy function.How to use sikulix API in your Java programs?The core of SikuliX is written in Java, which means you can use the SikuliX API as a standard JAVA library in your program. This applies to any Java aware scripting environment like Jython, JRuby, Scala, Groovy, Clojure and more, where you write your scripts in other IDE’s and run them using the respective runtime support directly.How to use OCR features in sikulix 2.x?In special cases, where you need to tweak the OCR engine, you can use the OCR features directly ( see the summary below ). SikuliX uses the Java library Tess4j, that allows to use the Tesseract features at the Java level. Internally it depends on Tesseract,How to run Sikuli X from command line?There is a new environment variable %SIKULI_HOME% that is expected to contain the directory, where Sikuli X is installed. You have to set it, if you have Sikuli X in a different place. Be aware: using the zipped version, you have to take care for %PATH% and %SIKULI_HOME% yourself.How to add Sikuli JAR file to eclipse?Step 1) Download the Sikuli JAR file from the below URL. Extract the contents of the ZIP file to a folder. Step 2) Create a new JAVA project in Eclipse and add the JAR file to build path, along with selenium jar files using Right Click on the project -> Build Path -> Configure Build Path How to use sikulix API in Java aware scripting?Javadoc
2025-03-31