Monday, January 16, 2012

Workaround for Ruby support on Netbeans 7.1

Firstly, I messed up. I should have had community-ruby ready for NetBeans 7.1 general release. For all the problems I created for you all, I apologize.



Secondly, The main issues with getting a good release of community-ruby in the catalog for NB 7.1 are:



  1. https://netbeans.org/bugzilla/show_bug.cgi?id=207075 -- Some infrastructure broke which makes it impossible to release at the moment. This may seem like the big problem but in fact….
  2. Netbeans 7.1 updated some components (as software is known to do). One of those components was html.editor.lib. Ruby support was dependent on version 1, but NetBeans 7.1 only ships version 2 now. This is the main reason why the Ruby support from 7.0 is un-installable on 7.1.
I have addressed item 2 enough already to make it installable on NetBeans 7.1. In fact, so far I have:

  1. Updated internal JRuby shipped to 1.6.5.1 (from 1.1.4). It also means update JRuby internals for pieces of community-ruby which depends on JRuby internally. This is a good thing for the future of community-ruby. On top of that, it also gave me a really good idea of what we need to change in JRuby itself to help make JRuby more modular.
  2. Updated community-ruby to compile on Java 7
  3. Changed some no longer compilable unit test base classes to again compile. yay. Unfortunately, there are some regressions to be fixed. But we now have ci builds generating reasonable results again.
If you are interested in installing what I am calling preview1, then grab the preview zipfile. Once you have this file, unzip it (note location) and then within Netbeans 7.1 you can:

  1. Select Tools->Plugins from menu
  2. Select Downloaded tab
  3. Press Add Plugins...
  4. Navigate to where you unzipped the nbms files
  5. Select all files which end in .nbms (you can do this all in one selection but if you include any non-nbms file it greys out the open button)
  6. Accept and install…
Hopefully by the time 207075 is fixed, I will have things greener on the ci builds and also have the dreaded Rails hanging bug fixed. For tracking the official release of community-ruby you can watch bug 207025

158 comments:

  1. Thank you for all the work you do on ruby support for netbeans, I use it every day!

    Remco

    ReplyDelete
  2. Looking forward to checking this out. Been stuck on 6.9 for a while now.

    ReplyDelete
  3. Thanks for the work on this important piece of software.

    ReplyDelete
  4. All the best! Keep up the good work.

    ReplyDelete
  5. ROCKS!!!! ... Works on Debian, reads Rvm rubies and Rails 3 basics works...

    ReplyDelete
  6. Please I need help for debugging. I have installed ruby-debug-ide but it's impossible to debug. I just get a "could not connect to web server - http://localhost:3000"
    Any advices?
    Thanks.

    ReplyDelete
    Replies
    1. Hi Alfredo,I am also trying to find solution for it.Looks like we need to modify the startup script for netbeans.I have tried but still no luck.Please let me know if you have resolved this.

      Thanks,
      Dev

      Delete
    2. maybe u havent turned on the WEBrick server. just guessing

      Delete
  7. Thank you very much. I am still using NB 6.9 for Rails development. Hope to move to NB 7.1 thanks to you.

    ReplyDelete
  8. Thanks a lot! Works like a charm now in 7.1 the only drawback is that you still cannot change the syntax checker to ruby 1.9 - for non raily ruby development.

    ReplyDelete
  9. Such a great IDE, Many Thanks for keeping this going.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. I don't normally post on these. Thank you SO MUCH for the 7.1 fix. I now have 1 ide for almost all I do. THANK YOU SO MUCH!!!!!

    ReplyDelete
  12. Thanks so much for the great work you've done on the plugin. I'm finally working fulltime with Ruby and Rails on a project, and this really is the best IDE (for Linux) I've used.

    ReplyDelete
  13. Many thanks Tom, now I can work with nb 7.1 on rails applications (I,m currently on ruby 1.8.7 / rails 2.1.2 and it works great, debug works too...)

    ReplyDelete
  14. Thank you very much Tom, for this greatest ruby IDE.
    Using it with 1.8.7, and with rails 3.2 and 1.9.2 as well.

    ReplyDelete
  15. Thank you so much for all the effort on that area. Netbeans was the best Ruby/Rails IDE so far

    ReplyDelete
  16. Quick question do RSpec tests run in netbeans 7.1.1? I'm getting the error 'spec' executable not found.

    Thanks for all your great work!

    ReplyDelete
  17. I am trying to create Rails project on Windows for the first time. Using NetBeans 7.1.1 on Windows 7. Now when I created the first Rails project, it is downloading all the modules. Now it is stuck at 25% for more than 10 minutes or so and the console says "Installing json (1.6.5)". Any thought?

    ReplyDelete
  18. I've finally moved on from 6.9.1 as it didn't seem to work with the latest Ubuntu. I'm really pleased with how the new version (7.1.2) works with Ruby (once you've added your patches). Splendid stuff.

    With one exception. Test files are not appearing in the test folder in Project view. They are visible in Files view but not Project view.

    Also, a more minor irritant is that right clicking the project root in project view is very hit and miss. Occasionally I get a menu, but usually not.

    ReplyDelete
  19. Thomas,

    I can't tell you how much I appreciate your work to keep Netbeans supporting Rails. I've tried Aptana Studio 3, but after two months of trying, I gave up (mostly because I have never found an Eclipse tool that wasn't flaky).

    I love Netbeans for my PHP work and it's fantastic to have Rails support - particularly given that my job now depends on my being able to do Rails.

    Thanks again and, if we're ever together in a pub at the same time, the beers are on me!!

    Stephen Westman

    ReplyDelete
  20. Thanks.

    But, I can't apply this with NetBeans 7.2 Nightly Build.
    http://bits.netbeans.org/netbeans/trunk/nightly/latest/

    How can I it ?

    ReplyDelete
  21. Are there any updates on it, any release, even only source code?

    Even now Netbeans with Ruby plugin is the best Ruby/Rails IDE, so it would be great to see someone working on this.

    ReplyDelete
  22. Love the Ruby plugin, thanks for the work. I'm also wondering if there's any work being done for Netbeans 7.2

    ReplyDelete
  23. You can see the build status here: deadlock.netbeans.org/hudson/job/nbms-and-javadoc/

    ReplyDelete
  24. Thanks a lot.
    Iam trying to get the debugger working with your patch on Netbeans 7.1+Ruby 1.9.3p125 + Rail 3.2.x ( ON MAC OSX LION) but keep having issues.
    Everything else works fine (except the debugger).

    Would appreciate any tips/worksarounds .

    ReplyDelete
  25. Hello, a great work!
    But I have some question, will be autocomplete code works with this modules?
    Thanks.

    ReplyDelete
  26. Hello, a great work!
    But I have some question, will be autocomplete code works with this modules?
    Thanks.

    ReplyDelete
  27. Now that Netbeans 7.2 is out, I don't see Ruby on Rails in the list of plugins. Is there still a workaround out there? Anyone have any suggestions?

    ReplyDelete
  28. Y get two errors when I try to install the plugins in Netbeans 7.2:

    The plugin HTML Editor Library is requested in version >= 2.0.1 (release version 2) but only 3.6.1 (of release version different from 2) was found.

    The plugin HTML Editor is requested in version >= 1.6 (release version 1) but only 2.4.1 (of release version different from 1) was found.

    Someone knows a way to avoid the errors?

    ReplyDelete
  29. Unfortunately, this workaround doesn't work for Netbeans 7.1.2

    I'm getting an exception when I press left button on existing RoR project: NullPointerException at org.netbeans.modules.ruby.railsprojects.RailsProjectUtil.getRailsVersion

    ReplyDelete
  30. oh well, jEdit then... (eliminated the following: emacs w/ dired-tree, gave up on emacs for the 12th time, vim with various file explorer plugins in various degrees of brokeness, eclipse never liked eclipse, textwrangler it just is hard to read ugly was surprised how ugly it looked compared to jEdit 5 beta )...

    jEdit wins and is cross-platform--Main editor. netbeans still for java and PHP and other things perhaps.

    ReplyDelete
  31. Hi, thanks for great work. May I know, is there a way to use it with netbeans 7.2? Cheers.

    ReplyDelete
  32. Here's a link to load it in Netbeans 7.2:

    https://blogs.oracle.com/geertjan/entry/ruby_in_netbeans_ide_7

    I just added a new plugin source, included the plugin, and voila!

    I haven't tested it much but so far, so good.

    ReplyDelete
    Replies
    1. What is the name of the plugin, cose I cant see it on the list...

      Delete
  33. I love the plugin, I've used it extensively on Windows. Now I am running Rails 3 on a MacBook Pro and when I try to run my project I get:
    /usr/bin/ruby: No such file or directory -- script/server (LoadError)

    Apparently it is trying to run script/server instead of rails server

    Is there a workaround this?

    ReplyDelete
  34. Hi, I'm getting an error, 'invalid platform' when I'm trying to create a new project. Does anyone know why is that?

    ReplyDelete
  35. 1 year 4 months later and this still saves one's time. aweseme work!

    ReplyDelete
  36. Thanks for the wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. palm tree trimming jupiter

    ReplyDelete
  37. A superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.
    tree removal aventura

    ReplyDelete
  38. I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..
    tree removal services north miami beach

    ReplyDelete
  39. This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post.
    tree trimming companies coral gables

    ReplyDelete
  40. Great article and a nice way to promote online. I’m satisfied with the information that you provided tree trimming services miami beach

    ReplyDelete
  41. Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject?
    residential tree services hialeah

    ReplyDelete
  42. I think this is one of the most significant information for me. And i’m glad reading your article. tree services near me in miami fl

    ReplyDelete
  43. This post is good enough to make somebody understand this amazing thing, and I’m sure everyone will appreciate this interesting things.tree care companies pembroke pines

    ReplyDelete
  44. You have a good point here!I totally agree with what you have said!! Thanks for sharing your views. hope more people will read this article!!! emergency tree services fort lauderdale

    ReplyDelete
  45. Thanks for the wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. palm tree services miami fl

    ReplyDelete
  46. You have a good point here!I totally agree with what you have said!! Thanks for sharing your views. hope more people will read this article!!! commercial tree services west palm beach

    ReplyDelete
  47. I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..stump removal north lauderdale

    ReplyDelete


  48. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.I want to share about tibco training .

    ReplyDelete
  49. All is nice because I feeling very happy to read this news about dissertation writing services
    which is the best writing help provider for those students who have come here from other countries.

    ReplyDelete
  50. Awesome article. I enjoyed reading your articles. this can be really a good scan for me. wanting forward to reading new articles. maintain the nice work!
    Data Science Courses in Bangalore

    ReplyDelete
  51. Excellent Blog! I would like to thank you for the efforts you have made in writing this post. Gained lots of knowledge.
    Data Analytics Course

    ReplyDelete
  52. I bookmarked your website because this site contains valuable information. I am very satisfied with the quality and the presentation of the articles. Thank you so much for saving great things. I am very grateful for this site.

    Data Science Training in Bangalore

    ReplyDelete
  53. This article really helped me a lot! If someone facing issues with writing networking assignments related to Ruby and Netbeans 7.1 they also can contact a computer network assignment help and get support online.

    ReplyDelete
  54. You have done excellent job Thanks a lot and I enjoyed your blog. Great Post.
    Data Science Certification in Hyderabad

    ReplyDelete
  55. Thanks Your post is so cool and this is an extraordinary moving article and If it's not too much trouble share more like that.
    Digital Marketing Course in Hyderabad

    ReplyDelete
  56. Netbeans has dropped support for ruby, unfortunately. The netbeans and
    Dissertation Writing Services documentation has sections on that matter:.

    ReplyDelete
  57. It is late to find this act. At least one should be familiar with the fact that such events exist. I agree with your blog and will come back to inspect it further in the future, so keep your performance going.

    Digital Marketing Training in Bangalore

    ReplyDelete

  58. It is a very helpful and very informative blog. I really learned a lot from it thanks for sharing.
    Data Analytics Course

    ReplyDelete
  59. This is an informative and knowledgeable article. therefore, I would like to thank you for your effort in writing this article.
    Best Digital Marketing Courses in Bangalore

    ReplyDelete
  60. I heard that Oracle has stopped supporting the NetBeans Ruby Plugin. The zip file you provided to download the preview has not worked at all. I suggest you work on it. Until you get it fixed, I think I better look for some cheap essay writing services. By the way, the NetBeans 7.1 is very advanced. I hope it will have a solution to all my problems.

    ReplyDelete
  61. Happy to chat on your blog, I feel like I can't wait to read more reliable posts and think we all want to thank many blog posts to share with us.

    Data Science in Bangalore

    ReplyDelete
  62. You have done a great job and will definitely dig it and personally recommend to my friends. Thank You.
    Data Science Online Training

    ReplyDelete
  63. This is really nice which is really cool blog and you have really helped a lot of people who visit the blog and give them useful information.
    Data Science Training in Noida

    ReplyDelete
  64. I am more curious to take an interest in some of them. I hope you will provide more information on these topics in your next articles.

    Data Science Training Institutes in Bangalore

    ReplyDelete

  65. This is an informative and knowledgeable article. therefore, I would like to thank you for your effort in writing this article.
    Data Science Course in Bangalore

    ReplyDelete
  66. I think this is a really good article. You make this information interesting and engaging. Thanks for sharing.
    Data Science Course in India

    ReplyDelete
  67. I finally found a great article here. Quality postings are essential to get visitors to visit the website, that's what this website offers.
    Data Science Training in Jabalpur

    ReplyDelete


  68. This is a fascinating blog. and As a student who is having trouble finding the correct online agroforestry assignment help, I urge you come to our website for the greatest agroforestry assignment assistance from our trained professionals.


    ReplyDelete
  69. I am sure it will help many people. Keep up the good work. It's very compelling and I enjoyed browsing the entire blog.
    Business Analytics Course in Bangalore

    ReplyDelete
  70. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Thanks for sharing.
    Data Science Training in Indore

    ReplyDelete
  71. Hi, This article is probably where I got the most useful information for my research. Do you know of any other websites on this topic?
    Data Analytics Course in Jalandhar

    ReplyDelete
  72. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
    Mlops Course

    ReplyDelete
  73. Amazingly by and large very interesting post. I was looking for such an information and thoroughly enjoyed examining this one. Keep posting.
    An obligation of appreciation is all together for sharing.data analytics course in gwalior

    ReplyDelete
  74. Update: Netbeans has dropped support for ruby, unfortunately. The netbeans documentation has sections on that matter: http://netbeans.org/kb/docs/ruby/setting-up.html. Check out more info here

    ReplyDelete
  75. NetBeans is very efficient in code development and Java web development. View more at DC Home Automation Installation

    ReplyDelete
  76. Very happy to find a good place for many here in the post, the writing is just great, thanks for the post.

    Data Science Course in Ernakulam

    ReplyDelete
  77. NetBeans IDE is a free and open source integrated development environment for application development on Windows, Mac, Linux, and Solaris operating systems. More info about Basement Waterproofing Winchester VA

    ReplyDelete
  78. This is definitely one of my favorite blogs. Every post published did impress me.
    Data Science Course in Indore

    ReplyDelete
  79. Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one.
    Continue posting. A debt of gratitude is in order for sharing.
    data science training in gwalior

    ReplyDelete
  80. All things considered I read it yesterday yet I had a few musings about it and today I needed to peruse it again in light of the fact that it is very elegantly composed. https://360digitmg.com/course/data-analytics-using-python-r

    ReplyDelete
  81. Three are usually cheap Ralph Lauren available for sale each and every time you wish to buy. data analytics course in mysore

    ReplyDelete
  82. Hello. I found your blog using msn. This is a very well written article. I'll be sure to bookmark it and come back for more useful information. Thanks for the post. I will definitely be back.

    Data Science Training in Bangalore

    ReplyDelete
  83. Nice post, you give readers a lot to think about and I appreciate that kind of writing.
    Data Science Course Fees

    ReplyDelete
  84. Are you looking for the best General Contractor you can visit us at www.builditspokane.com

    ReplyDelete
  85. I want to always read your blogs. I love them Are you also searching for Accounting Homework Help? we are the best solution for you. Contact us today and get the best. +1-(951)-468-9855 info@cheapassignmentwriters.com

    ReplyDelete
  86. Good blog. Keep sharing. I love them Are you also searching for ajman assignment help? we are the best solution for you. We are best known for delivering writing services to students without having to break the bank

    ReplyDelete
  87. Great blog. Very well written and amazing. Keep sharing. Concrete companies in colorado springs

    ReplyDelete
  88. Check out the selection of interesting Theatre Studies Dissertation Topics and choose the best one that interests you and matches your expertise. These suggestions are collected by the specialists of British Dissertation Help after meticulous research and profound investigation from the internet, magazines, and journals.

    ReplyDelete
  89. When you have understood the basic concepts of data science, you must choose a path to move in data science. You need to learn the following courses to be an expert in the field of data science.
    data science course in gorakhpur

    ReplyDelete
  90. Have a look at amazingly crafted leather Jackets at a discounted price! top gun jacket

    ReplyDelete
  91. It just feels like that I can relate to each and every word you have written in this article. Keep it up! Mens Black Quilted Leather Jacket

    ReplyDelete
  92. This is the latest version of the module. It is included in the Ruby Support module in NetBeans 7, and should be used with Ruby 1.9.3. Thanks For Sharing with us. Your Reader Englingua

    ReplyDelete
  93. It is very interesting! Really useful for me and thank you for this amazing blog.
    Virginia Military Divorce

    ReplyDelete
  94. Much obliged to you since you have been willing to impart data to us. we will constantly see the value in all you have done here since I realize you are exceptionally worried about our he said

    ReplyDelete
  95. It is very useful for me and thank you so much for your sharing this post. Keep updating...
    Cheap Uncontested Divorce in VA
    Family Lawyer Cost
    Best Family Court Lawyers Near Me

    ReplyDelete

  96. Very interesting post and I want more updates from your blog. Thanks for your great efforts.
    Virginia Online Divorce
    How to get a Divorce in VA

    ReplyDelete
  97. This comment has been removed by the author.

    ReplyDelete
  98. Your eye cosmetics dr rashel meeting is practically finished. In any case, you can additionally improve your eyes by applying a few reasonable mascaras. By doing this you can give your eyelashes a reasonable and drawing in length and thickness. Likewise you should feature your eyebrows. It gives your eyes a genuinely necessary equilibrium. Twisting your eyelashes, utilizing an eyelash styler, is another step you should follow.

    ReplyDelete

  99. Tom Cruise Jacket
    I will check out again for more top-quality web content and additionally, recommend this website to all. Many thanks!

    ReplyDelete
  100. I really enjoyed to read this post it is very helpful and informative content thanks to share it best halloween costumes 2022

    ReplyDelete
  101. I have been reading this article for a long time and loved every bit of it. The writing is amazing.yellowstone outfit Looking forward to reading it more.

    ReplyDelete
  102. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    We Provide Data Science Courses and Kindly Check This
    https://skillslash.com/data-science-course-in-noida

    ReplyDelete
  103. I will check out again for more top-quality web content and additionally, recommend this website to all. Many thanks!
    Sports Massage London

    ReplyDelete
  104. "NetBeans IDE allows our developers to build high quality applications quickly and easily.

    Did you know that Summerville Concrete Driveway is now one of the number one local concrete provider? Visit now!

    ReplyDelete
  105. As illustrated below, select the Available Plugins tab in the Plugins dialog box and navigate to the Ruby category. To enable Ruby functionality for the NetBeans IDE, click the Ruby and Rails box. I hope that's help.

    Now see the best Commercial Turf Raleigh

    ReplyDelete
  106. Thank you very much because this blog is very useful and the content is very cool.

    Click here

    ReplyDelete
  107. Very much appreciated. Thank you for this excellent article. Keep posting!
    Tree Services San Jose

    ReplyDelete
  108. Thank you for sharing such a beautiful and educative blog piece. I hope you shared more articles in the nearest future. Once more thanks so much for sharing.abdu gusau polytechnic admission

    ReplyDelete
  109. Thanks for sharing such a valuable post. Please keep us updated for future posts.
    Gothic fashion for men

    ReplyDelete

  110. I was looking for this information from enough time and now I reached your website it’s really good content.

    A Abogado Trafico Fredericksburg Va
    is a legal professional who specializes in assisting individuals who have been accused of traffic violations, such as speeding tickets, reckless driving, DUI, and more. They provide legal representation and guidance to their clients throughout the legal process, from negotiating with prosecutors to representing them in court.

    ReplyDelete
  111. Thank you for the helpful article on "Workaround for Ruby support on Netbeans 7.1." Your blog is a valuable resource for programmers. As a writer, I'm more interested in the proofreading and editing services you provide. Your attention to detail and commitment to quality impressed me. Thank you for being a reliable proofreading and editing service for writers like me.

    ReplyDelete
  112. Really great content its very useful for us i wish you to share more informative content like that. and if you need legal support kindly visit our webpage thanks. Abogado Conducción Imprudente Charlotte VA

    ReplyDelete
  113. Thank You So Much For This Wonderful, i like it so much keep posting. Star Trek Picard Field Jacket

    ReplyDelete