Reputation: 31
My development env. is, Win7 Ultimate Ruby 1.9.2p180 Rails 3.0.9 Gem 1.8.5 sqlite3 and mysql2 gems are installed My IDE is netbeans 7.0. ruby plugin for netbeans 7.0 is installed. i want to create a new rails app thru netbeans. but it hangs at the process of 25%. does someone hit the same issue? Is there a solution?
From the output, i can see the rails app file structures are created.
I know some of you may suggest me to use linux to develop rails app. that's an option. but i am newer to linux. i'd like to use win7 at present.
i can create rails app and start it on command line.
Upvotes: 3
Views: 648
Reputation: 5733
Create the Rails application outside of Netbeans. Then open the folder with Netbeans. Prior to Netbeans 7, which drops native support for Ruby, you could open a Rails directory in Netbeans and it would use the directory & Rails configuration to setup your project for you. I assume the folks that are carrying on the Ruby plugin support for Netbeans 7 have kept that capability.
As others have suggested Linux is an easier to setup for Rails development than Windows, at least in my experience. If you want to stay on Windows I suggest checking out Rails Installer. There may be an issue with your Rails setup that is hanging, and not necessarily Netbeans.
Updated I have seen this happen when Netbeans is happily awaiting input. When you create the project in Netbeans it executes rails new APP underneath and if that process asks a question, then Netbeans will hang. Check the Netbeans output window (if it's open). You can verify this by creating the rails app on the command line. Once you do that, open the directory with Netbeans and it should recognize the project as a Rails project.
Upvotes: 2