This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 207025 - ruby cannot be installed in net beans 7.1
Summary: ruby cannot be installed in net beans 7.1
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal with 5 votes (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-07 15:21 UTC by dvdlev
Modified: 2012-07-03 21:26 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
rake task fetch error rails 3.1 ruby 1.9.2 (50.74 KB, image/png)
2012-01-20 09:03 UTC, killerg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dvdlev 2012-01-07 15:21:31 UTC
I'm getting an error while trying to install "ruby on rails" plugin in netbeans 7.1.

The error is something about HTML Editor library, the version is incompatible with the plugin Requirements.

I downloaded the previous version, netbeans 7.0 and everything works fine so i guess the error is in the new version.


Thanks, David.

Contact me in dvdlevanon@gmail.com.
Comment 1 enebo 2012-01-07 15:36:17 UTC
I am trying to figure how to update that component and debug the fallout as we speak.  Even if I do fix this today, the QA process for pushing this will not be possible until a ci issue is fixed on deadlock (and the time it takes for the process of verification itself), but my hope is to have a 7.1 capable version out next week.  Hopefully, something which is installable working today (if I commit anything I believe you can get the nbms's from latest artifacts in http://deadlock.netbeans.org/hudson/job/ruby/).

I am really sorry I did not notice this change to a HTML Editor library...
Comment 2 dvdlev 2012-01-07 22:26:51 UTC
Thanks, i will check it in a week.. for now i just work with the 7.0 version.
Comment 3 enebo 2012-01-16 19:29:13 UTC
I added 207075 since this will prevent an official release until it is resolved.  My plan short-term will be to put some nbms's for people to download and try out as a workaround until we have something.  Additionally, there were some pretty big changes needed to get things working for 7.1, so my confidence is a little shaken on quality.  Getting some reports on regressions will help.  I will add a comment once I get those nbms's up with the test url.
Comment 4 enebo 2012-01-17 00:34:44 UTC
Workaround details and access to preview1 of community-ruby support can be found here: http://blog.enebo.com/2012/01/workaround-for-ruby-support-on-netbeans.html
Comment 5 killerg 2012-01-20 09:03:03 UTC
Created attachment 115107 [details]
rake task fetch error rails 3.1 ruby 1.9.2
Comment 6 killerg 2012-01-20 09:10:32 UTC
Thanks for the preview version. here is some feedback on it .. hope this is the right place and there might be new tickets based on it.

rake tasks
For some reason in rails 3.1 projects i cannot load the rake tasks because rails requires bundler/setup in boot.rb and nb does not seem to know the gem. This is has already been in 7.0

RVM
Setting the ruby manually is ok, but it might also be nice to check the .rvmrc file, including the used gemset and go from there

Bundler
Bundled gems(path) are not auto-detected. Could be done by checking .bundle/config

How about bundle exec xy ? f.ex as a setting in the project settings as a persistent prefix(like the rake arguments are a suffix)

Ruby 1.9.3
there does not seem to be a --trace'd output as for the failing rake task fetch i only get "missing required bundler/setup"
Comment 7 killerg 2012-01-20 09:12:09 UTC
> How about bundle exec xy ? f.ex as a setting in the project settings as a
> persistent prefix(like the rake arguments are a suffix)
> 

i already added a ticket for this some time ago:
http://netbeans.org/bugzilla/show_bug.cgi?id=189150
Comment 8 auxbuss 2012-01-23 17:43:22 UTC
As mentioned above, I hope this is the right place to be reporting bugs.

GUI
Right-clicking files associated with text/x-ruby does not display the context menu.

Testing hot keys (Alt-F6, Ctrl-F6, etc)

(I also tested this in 7.0.1 with the same results.)

Netbeans testing seems to be dependent on test-unit. Since, minitest is preferred with 1.9, if test-unit is absent, this results in Netbeans reporting:

  no such file to load -- test/unit/ui/console/outputlevel

After adding test-unit to Bundler, the test process will complete, but the Test Result Window will display: "No tests executed. (0.0 s). Presumably because the test output is in the wrong place or can't be successfully parsed for the data.
Comment 9 auxbuss 2012-01-23 20:37:30 UTC
Regarding my last. It appears that minitest is not supported, hence my problems. I'd not noticed the Use UI Test Runner options. So, I'll change my request to asking for minitest support. Sorry about that.
Comment 10 enebo 2012-01-23 21:06:03 UTC
Added for the miniunit request: http://netbeans.org/bugzilla/show_bug.cgi?id=207653 

Can you add an issue (or look for an existing one first for the right click context menu problem)?  I know there is already one for right-clicking on project in projects tab -- not sure about in editing tab.
Comment 11 auxbuss 2012-01-24 09:17:41 UTC
Thanks, Tom. Added bug for context menu issue:

  http://netbeans.org/bugzilla/show_bug.cgi?id=207666