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.
in the new Project of type rails wizard if we choose to update rails to the 2.02 version it install it but this type of project doesnt work. also ive problems with the install openssl options..
What kind of problems you run into? Please post the steps for reproducing this, including the version of Ruby/JRuby used and attach the messages.log file from [netbeans_user_dir]/var/log. Thanks!
The problem is that only rails gem is installed and not dependencies (activesupport-2.0.2, activerecord-2.0.2, actionpack-2.0.2, actionmailer-2.0.2, activeresource-2.0.2). To reproduce: - download and unzip e.g. http://dist.codehaus.org/jruby/jruby-bin-1.1.zip - open new project wizard - choose Ruby|Ruby on Rails Application and click Next - click Manage, Add Platform and browse for bin/jruby.bat in unzipped jruby - select JRuby (1.1) in Ruby Platform combo box - click Next, Next and Update Rails button. It seems to be successfully installed but project generation fails. If you look at Ruby Gems, there is only rails gem and not ones mentioned above. Workaround is to install rails using Tools|Ruby Gems. Product Version: NetBeans IDE Dev (Build 20080331051557) Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Thanks for the steps, I can reproduce this now. Just one clarification, is the label of the Rails update/install button "Update Rails" or "Install Rails" for you? Should be "Install Rails" in this case since there is no existing Rails installation.
Yes, it is "Install Rails".
Fixed installing rails in e1ee085c7722. Leaving open as updating an existing Rails installation doesn't work as it should, for some reason "gem update rails --include-dependencies" doesn't update dependant gems, not even from the command line. I'll investigate.
The --include-dependencies switch doesn't seem to work in RubyGems 1.0.1, but in 1.1 it is fixed / implemented. The Rails wizard now uses this switch, but note that only works correctly with RubyGems 1.1. Changeset 34bf515441b9.
*** Issue 125863 has been marked as a duplicate of this issue. ***
Closing as fixed as the IDE side has been fixed, I suggest to upgrate RubyGems to 1.1.1 which has been out for a while now and where the --include-dependencies issue is fixed.
Seems to be ok, everything works fine. V. Product Version: NetBeans IDE Dev (Build 200809071401) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)