miksturait / cucumber_fm-plugin

Help to manage with big amount of features in project (gui for rails)
http://cucumber.fm
MIT License
96 stars 2 forks source link

Routes not working in Rails 3 #32

Closed reedlaw closed 13 years ago

reedlaw commented 13 years ago

I installed the Rails 3 branch and applied EMoreth's Rails 3 Routing update but I can only access /documentation/features. I can see my cucumber stories, but none of the stylesheets or other routes are working.

cs3b commented 13 years ago

i've tested it on rails 3.0.3 ( ruby 1.9.2) a new application - adding diff-lcs to Gemfile and copying featuers directory from cucumber_fm itself.

and it working on master and rails3 branch ( there are some deprection warnings, but it works)

could you give more detailed information ( stack trace, screenshoot ) ruby, rails versions ?

reedlaw commented 13 years ago

Problem solved but posting this as reference:

I am also on Rails 3.0.3 with Ruby 1.9.2. Diff-lcs is in my Gemfile. The /documentation/features page loads but I get these kinds of errors in development log:

Rendered /Users/reed/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.8ms)

Started GET "/documentation/assets/bespin/BespinEmbedded.css" for 127.0.0.1 at 2011-02-03 08:36:14 -0500

AbstractController::ActionNotFound (The action 'bespin' could not be found for Documentation::AssetsController):

Seems like routing errors. Am I correct to have the routes in /plugins/vendor/cucumber_fm/config/routes.rb or do I need to copy them into my application's routes.rb?

Edit: I tried to answer my own question by copying the plugin's routes into my app's routes and it worked! Still posting this answer in case anyone else has the same issue.