0.0
No commit activity in last 3 years
No release in over 3 years
A Scala integration library for JRuby that allows using Procs as Scala functions, including Scala traits into Ruby modules, and more.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.9
>= 0.5.3
 Project Readme

jruby-scala¶ ↑

Scala integration/interop library for JRuby.

Much of the code for this library is originally from an article written by Daniel Spiewak:

http://www.codecommit.com/blog/ruby/integrating-scala-into-jruby

many thanks to Daniel for his great article and implementation.

Usage¶ ↑

You’ll need to make sure JRuby loads the scala-library jar before this gem is loaded. You can do this two ways:

  1. Specifying the Jar via classpath when executing JRuby

    jruby -J-cp path/to/scala-library-VERSION.jar some-ruby-script-which-uses-jruby-scala.rb
  2. Requiring the Scala jar before the gem in your .rb file

    require 'path/to/scala-library-VERSION.jar'
    require 'rubygems'
    require 'jruby_scala'
    

Note on Patches/Pull Requests¶ ↑

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright © 2010 System Insights, Inc. See LICENSE for details.

This work also contains code derived from public sources.

Portions Copyright © 2010 Daniel Spiewak All rights reserved.