aptana / studio3

This repository contains the code for core components of Aptana Studio 3.
http://aptana.com/products/studio3
Other
1.07k stars 483 forks source link

TISTUD 9019 - Updating the JRuby lib #455

Closed kolipakakondal closed 6 years ago

kolipakakondal commented 6 years ago

Updated to the latest versions From JRuby 1.6.4 to JRuby 9.1.16 From Ruby 1.8 & 1.9 to Ruby 2.5.0

Updated the ruby gems a. rake - 12.3.0 b. sources - 0.0.1 - no change here Updated the ‘cache’ folder

Resolved a couple of compilation/API issues

kolipakakondal commented 6 years ago

Still facing the below error - not able to see why it was unable to load yaml package with the latest versions!

Not sure If I made any mistake in updating the JRuby and Ruby packages. I'm trying to catch up with the Ruby eco-system

LoadError: no such file to load -- yaml
          require at org/jruby/RubyKernel.java:956
           <main> at /Users/kkolipaka/source/studio3/bundles/com.aptana.scripting/framework/ruble/i18n.rb:1
          require at org/jruby/RubyKernel.java:956
  block in (root) at /Users/kkolipaka/source/studio3/bundles/com.aptana.scripting/framework/ruble.rb:1
           <main> at /Users/kkolipaka/source/studio3/bundles/com.aptana.scripting/framework/ruble.rb:4
          require at org/jruby/RubyKernel.java:956
           <main> at /Users/kkolipaka/source/studio3/bundles/com.aptana.scripting/framework/ruble.rb:3

org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- yaml
    at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:131)
    at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1307)
    at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1300)
    at com.aptana.scripting.ScriptingEngine.getInitializedScriptingContainer(ScriptingEngine.java:293)
    at com.aptana.scripting.model.ScriptLoadJob.run(ScriptLoadJob.java:76)
    at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:144)
    at com.aptana.scripting.model.AbstractScriptRunner.run(AbstractScriptRunner.java:180)
    at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:275)
    at com.aptana.scripting.ScriptingEngine.runScript(ScriptingEngine.java:243)
    at com.aptana.scripting.model.BundleManager.loadScript(BundleManager.java:2032)
    at com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:129)
sgtcoolguy commented 6 years ago

So there were a few large issues here:

ppedduri commented 6 years ago

@kolipakakondal , this PR is working fine on my environment. image

kolipakakondal commented 6 years ago

Thanks @sgtcoolguy. Good to know about them.