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 146236 - RSpec Rake Tasks Missing
Summary: RSpec Rake Tasks Missing
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 19:53 UTC by William Leonard
Modified: 2011-01-28 20:12 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Run/Debug Rake Task dialog with spec tasks missing (25.21 KB, image/png)
2008-09-04 19:54 UTC, William Leonard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Leonard 2008-09-04 19:53:33 UTC
I've installed NetBeans and created new Rails project against the default JRuby interpreter (which has the RSpec gem).
For some reason the spec Rake tasks are missing. Is there an additional step I need to take to get them to appear? See
the attached screen shot.
Comment 1 William Leonard 2008-09-04 19:54:35 UTC
Created attachment 69090 [details]
Run/Debug Rake Task dialog with spec tasks missing
Comment 2 Martin Krauskopf 2008-09-04 20:09:39 UTC
Erno, Rake dialog just provides the same as 'rake -D' does. So needs to be fixed during generation of Rails project, I
guess. Or some plugin is needed?
Comment 3 Erno Mononen 2008-09-05 11:05:57 UTC
In a Rails app, you need to install the rspec rails plugin and then run script/generate rspec to get the rails spec 
tasks. Getting the rspec rails plugin and rspec itself to work together can be a bit painful though, best to follow the 
instructions on the following page:

http://github.com/dchelimsky/rspec-rails/wikis

This is all equivalent to what is needed to be done when generating a rails app from the command line. In the current 
state of things I'd rather not try to make this automatic when using the IDE (would also need to bundle rspec-rails), 
but I'm changing this to an enhancement to leave this open as a reminder to follow the progress on the rspec and rspec-
rails plugins.