Jeff Barczewski
2006-Nov-19 21:52 UTC
[Masterview-users] [Rails] Script/generate masterview fails - ruby 1.8.5 conflict, resolved in trunk, release 0.3.1 soon
On 11/12/06, zvavox at gmail.com <zvavox at gmail.com> wrote:> > > I have been trying to make MasterView works on my Rails > project. However, every time I issue a script/generate masterview > Product Store command, I always get the following: > > --- > D:\aaa>ruby script/generate masterview Product Store > Initializing MasterView configuration (2006-11-12 21:10) > Program name = script/generate > dependency model > exists app/models/ > exists test/unit/ > exists test/fixtures/ > identical app/models/product.rb > identical test/unit/product_test.rb > identical test/fixtures/products.yml > exists app/controllers/ > exists app/helpers/ > create app/views/store > exists public/stylesheets/masterview > exists app/masterview > exists app/masterview/extra > exists test/functional/ > create app/controllers/store_controller.rb > create test/functional/store_controller_test.rb > create app/helpers/store_helper.rb > create store/destroy.html > wrong number of arguments (1 for 2) > > D:\aaa>rails -v > Rails 1.1.6 > > D:\aaa>ruby -v > ruby 1.8.5 (2006-08-25) [i386-mswin32] > >Zandro, I believe I found the problem you were having. I upgraded my ruby version to 1.8.5 and received a similar error [wrong number of arguments (1 for 2)]. It appears that in 1.8.5 they updated the implemenation of Pathname.dirnamewhich was causing an issue. I was able to make a change that should safely resolve the problem. The changes are in the trunk now and we will be pushing out a new release gem and plugin very soon. Thanks again for brining this to our attention. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20061119/31bb4db8/attachment-0001.html