Skip to Content
Author's profile photo Former Member

Blue Ruby now available on Code Exchange

Let’s get the bad news out of our way:
in the course of our everlasting re-organization – it is true that the only thing that’s constant at SAP is change – Blue Ruby, the research project, is no longer.
We learned all we wanted to learn from our experiment and were able to influence some of the newer products at SAP:
  • Project “Gateway” is now close to its first release and will expose backend data in SAP Data Protocol. Very early prototypes of this new product were indeed implemented using Blue Ruby.
  • SAP now has a lively REST community with lots of projects around RSS, Activity Streams and more
  • SAP Business ByDesign lately got an extension language for partners and customers – again, the first prototypes of such a language-based extension mechanism were implemented in Blue Ruby more than two years ago. 
So while our Ruby VM itself did not make it to product quality, it did facilitate some change. I must admit that all these good things might have happened anyway – but maybe, just maybe, Blue Ruby can take some credit for speeding up innovation. We’ll never know for sure…
The good news is, Blue Ruby is now available as a community project on Code Exchange. So if you need a rapid prototyping environment on your ABAP development systems, if you want to try if behavior-driven development is for you, or if you just want to see how a scripting language that runs inside your ABAP system feels like: give Blue Ruby a try.
With the new Updates on Code Exchange Terms of Use are now live on Code Exchange, you are only a few mouse clicks away from access to Blue Ruby, the community project.
You can expect
  • a ~70% complete implementation of Ruby 1.8, running inside the ABAP VM. Whilst 70% is certainly not impressive when you compare it to Rubini.us, MacRuby or especially JRuby, it’s already good enough to be useful. And together, we may be able to close some of the gaps…
  • web frameworks Sinatra and Camping ready to build your first Blue Ruby web application within minutes.
  • easy to use XML/JSON parsing and rendering.
  • test-driven / behavior-driven development using runit and rspec – build your test cases in Ruby, then code your functions in ABAP
  • and much more…
So if you want to try some Ruby on your ABAP sandboxes (it’s really meant for prototyping, not for production use – don’t say I didn’t warn you), join our project on Code Exchange. You will have access to all of the source code (ABAP and Ruby), an installation howto – many thanks to SAP Mentor Gregor Wolf for testing the installation and completing the guidelines – and some getting started guides. We’ll add more content as it is requested by the community, so get engaged!
Have fun with Blue Ruby
–Juergen

Assigned Tags

      10 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Hello,

      first tme I'm reading about Blue Ruby! At weekend I have pick some basic information about RubyonRails 3.0 and then I saw your post on sunday afternoon. Congrulations!

      I personallly think that we need to open the NW Stack for more VM's in order to leverage the usage of NW to other use scenario.

      What does it mean when you hand the Ruby VM over to comiunity? Does SAP still investing in Ruby to make a 100 % compliant implementation? Do we have a Ruby island in WD4A? RubyonRails3.0 is heavily using Javascript-Libary, but SAP is stopping their Javasript-Support. Why?

      Additionally community projects on code exchange (as on any other platform) are hard to moving forward after the first hype, but I assume that the no NW kernel developer in the ecosystem who can help you make Ruby VM part of NW stack. How is the approach here?

      All the best,

      Guido

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Guido

      Thanks for your remarks. I personally would love to see more languages running inside the ABAP VM, however this would be a huge investment for the Kernel team. There have been discussions and as far as I know there are still discussions - but at the end of the day, the market drives our investments, and so far it seems there has not been enough pull from the ecosystem to justify this investment.
      To clarify: Blue Ruby, having it's roots in the research organization, is not implemented inside the ABAP Kernel, but it an ABAP program itself. As ABAP is not a system language like C but rather an application development language itself, Blue Ruby suffers from performance issues. Ever tried to build a Ruby VM in Visual Basic 😉
      The only way to get performance AND integration with ABAP functions is a Kernel-based approach. There has been research in that area, but... (see above)

      --Juergen

      Author's profile photo Former Member
      Former Member
      Hello Jürgen,

      my guess is that the "decision" to add more compiler/language to kernel will no come from ecosystem nor from the organsiation , so long as SAP see "innovation as non-disruptive process".

      Heard at the Influencer Summit: "Innovation that does not disrupt" is key

      Very sorry to say,

      Guido

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Guido

      I guess (or maybe, I hope?), you are reading a little too much into that statement "innovation without disruption". It doesn't imply that SAP won't innovate at the heart of our technology. In fact we have made tremendous progress with the ABAP programming language in the 7.x releases and we continue to innovate/renovate around the ABAP Kernel. We just do so in an extremely cautious way, making sure that we don't break anything that might exist out there.
      So adding a new language to the stack would certainly be non-disruptive. Deprecating ABAP and replacing it with Ruby would be disruptive. And that's one reason why this will not happen (and there are others!!)

      --Juergen

      Author's profile photo Former Member
      Former Member
      then "just" DO it!

      All the best & have fun!

      Guido

      Author's profile photo Former Member
      Former Member
      Juergen:

      I have some mixed feeling here...I'm so damn sad because Blue Ruby didn't make it as an official SAP product...but I'm happy at the time because it's now a community project...which means for me..."Hacking Time" -:D
      It would be awesome to host Blue Ruby on my NSP 7.03 stack...will surely install it this weekend and hopefully contribute with my own stuff -;)
      Have fun and hope to meet you again on TechEd next year -:)

      Greetings,
      Blag.

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Blag!

      Thanks for your continued interest in Blue Ruby, you are clearly one (if not THE one) of these community members who made this project so successful. When we started this as a research project, we didn't even know if the idea was viable, we never planned to go public with it and we never intended to make this a product. So in a way, although THIS Ruby VM is not going to be a product, we came much further than we originally anticipated - so I am not sad, I'm just happy we can make these three years of code available to the community.

      and yes, see you next TechEd 🙂
      --Juergen

      Author's profile photo Former Member
      Former Member
      Any version of rails working with blue ruby?
      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Paul

      Nope - no Rails for now. From a compatibility aspect, Blue Ruby is not complete enough. Furthermore, we did not think that performance would be adequate. What we have is some early version of ActiveRecord against the ABAP DDIC tables and micro-frameworks such as Camping and Sinatra.

      best, Juergen

      Author's profile photo Nigel James
      Nigel James
      Jergen,
      Thanks for this but the click through is :
      Click and wait for approval so they might be a few clicks but those clicks could be a few days apart!

      I am still having issues with credential when accessing an svn checkout but have already taken this up with Rui.

      Thanks for blueruby,
      Nigel