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.
Summary: | Need to be able to specify Rails version when create project | ||
---|---|---|---|
Product: | ruby | Reporter: | Chris Kutler <ckutler> |
Component: | Rails | Assignee: | Erno Mononen <emononen> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
Log File
Ruby Platform Manager Ruby Gems Manager Ruby Platform Manager (mime type set correctly) Ruby Gems Manager (mime type set correctly) Ruby Gems Manager (third time hopefully correct) Only 1 Rails option on new project wizard |
Description
Chris Kutler
2008-02-12 15:13:47 UTC
Fixed in trunk. http://hg.netbeans.org/main/rev/3a2ee09f7096 When I go to the final panel of the new project wizard, I only see one rails version in the drop down list although I have 2 rails versions (In the Gems Manager installed tab, I see "rails (2.1.0, 2.0.2):...."). This change affects the following help files url="newrailsappwiz-nameandloc.html" url="newrailsappwsourcewiz-nameandloc.html" url="newrailsappwiz-installrails.html" I think my problem might be caused by having a GEM HOME different from GEM PATH. I think maybe the panel is only looking at the GEM HOME and not including the other repositories in the GEM PATH. Just a guess. I was wrong about the GEM HOME/ GEM PATH guess. Seems to work for me both with JRuby and MRI, could you please attach the log file (with NB Ruby logging enabled)? Using build 3378 I do see multiple versions for my MRI installation -- where I have both rails versions in the main repository. With JRuby, where I have 2.1 in the built-in JRuby repository and 2.0.2 in another repository that is in my Gem Path, I am only seeing 2.0.2. I have attached screenshots. One shows the Platform manager settings, one shows that the Gems manager knows that I have both 2.1 and 2.0.2, and the third is the new project wizard where I only have an option for 2.0.2. Am also attaching the log file. I notice that it is Initializing "c:\ruby\lib\ruby\gems\1.8" repository. That is odd as I clearly set built-in JRuby as the platform in the first wizard step. Not sure why it initializes that repository and not the built-in repository (my Gem Home) Created attachment 67304 [details]
Log File
Created attachment 67305 [details]
Ruby Platform Manager
Created attachment 67306 [details]
Ruby Gems Manager
Created attachment 67307 [details]
Ruby Platform Manager (mime type set correctly)
Created attachment 67308 [details]
Ruby Gems Manager (mime type set correctly)
Created attachment 67311 [details]
Ruby Gems Manager (third time hopefully correct)
Created attachment 67312 [details]
Only 1 Rails option on new project wizard
Closing, issue 149939 was causing problems here when you had multiple gem repositiories. |