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 196637 - Problem with Rake when Rails installed
Summary: Problem with Rake when Rails installed
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rake (show other bugs)
Version: 6.x
Hardware: PC Unix
: P3 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 07:41 UTC by rarstd
Modified: 2011-03-14 17:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Attached2 (75.55 KB, image/png)
2011-03-13 07:41 UTC, rarstd
Details
Attached1 (70.01 KB, image/png)
2011-03-13 07:42 UTC, rarstd
Details
Attached3 (74.36 KB, image/png)
2011-03-13 07:42 UTC, rarstd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rarstd 2011-03-13 07:41:03 UTC
Hello.

I have: Ubuntu 10.10, ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux], Rails: 3.0.4, gem: 1.5.2 rake: 0.8.7

When I create a new project (File -> New Project -> Ruby -> Ruby On Rails Application -> Next -> See Attached 1 -> See Attached 2 -> Rails 3.0.4 change then I see Attached 3.

What I must to do?

P.S. If I create such command in the terminal (rails new ba), it's all OK.
Comment 1 rarstd 2011-03-13 07:41:55 UTC
Created attachment 106947 [details]
Attached2
Comment 2 rarstd 2011-03-13 07:42:18 UTC
Created attachment 106948 [details]
Attached1
Comment 3 rarstd 2011-03-13 07:42:40 UTC
Created attachment 106949 [details]
Attached3
Comment 4 enebo 2011-03-14 15:25:52 UTC
Thanks for reporting this issue.  If I had to venture a guess I would say that either Rails 3 or Ruby 1.9 is causing this issue.  NetBeans currently does not support either very well.  One of the big short-list items for the next release is to update NetBeans Ruby to provide basic support for both Ruby 1.9 and Rails 3.
Comment 5 rarstd 2011-03-14 15:31:42 UTC
So, I need to downgrade version of Ruby and Ruby on rails to 1.8.7 and 2.3?
Comment 6 leventAtasoy 2011-03-14 15:51:52 UTC
May want to try installing rails from commandline and continuing.
I tried Rails 3.0.5 with Ruby 1.9.2 on Windows NB, most seemed to work OK.
FYI. I don't think Rails 3 is supported with 1.9.1. Should try 1.9.2
Comment 7 enebo 2011-03-14 15:59:33 UTC
Yeah try moving forward on command line instead of thw wizard.  You will need to use the command-line anyways for things like bundler.  Your biggest issue with use Ruby 1.9 will be that any 1.9 language syntax you use will not properly highlight and parse in the editor.  If you continue using a 1.8 syntax then NetBeans should still work fine for editing.  Debugging may have the similiar problems (don't have enough experience to know for sure).
Comment 8 rarstd 2011-03-14 17:42:22 UTC
> May want to try installing rails from commandline and continuing.
I installed rails from commandline, but projects in NetBeans can't to create.