Does there anybody installs the ActiveRbac successfully on windows? and could you share your experience with me? Thanks.
on 2007-04-12 10:18
on 2007-04-12 10:41
Hi, You may have better luck posting this question on the ActiveRBAC list itself: https://lists.cloudcore.com/mailman/listinfo/rbac-dev HTH, James
on 2007-04-12 18:44
Captain Feng wrote: > Does there anybody installs the ActiveRbac successfully on windows? and > could you share your experience with me? Thanks. Hi, what version of ActiveRbac do you want to install? Because ActiveRBAC is a rails or engines plugin, there a no windows specific issues I know so far. There is a version for Rails 1.1.x, which requires engines 1.1, and as well a version for Rails 1.2, which requires engines 1.2. The last version is for Rails 1.2 and doesn't need engines, but has less functionalities than the earlier versions. I have all versions running on Windows without a problem. So I would be nice, that you specify your troubles a little more. Thanks
on 2007-04-13 08:17
Kosmas wrote: > Captain Feng wrote: >> Does there anybody installs the ActiveRbac successfully on windows? and >> could you share your experience with me? Thanks. > > Hi, > > what version of ActiveRbac do you want to install? > > Because ActiveRBAC is a rails or engines plugin, there a no windows > specific issues I know so far. > > There is a version for Rails 1.1.x, which requires engines 1.1, and as > well a version for Rails 1.2, which requires engines 1.2. The last > version is for Rails 1.2 and doesn't need engines, but has less > functionalities than the earlier versions. > > I have all versions running on Windows without a problem. So I would be > nice, that you specify your troubles a little more. > > Thanks Thanks Kosmas :) My version is ActiveRbac 0.3.2, and can this version run without an engine? If so, can you show me you configuration by example? I just follew the instruction of the ActiveRbacManual bellow: https://activerbac.turingstudio.com/releases/Activ... My rails version is 1.2.3, ruby 1.8.6, engines 1.2 I have tried for a few days but still failed... when i execute: rake --trace i have suche exception: D:/Rails-Project/test/config/environment.rb:84: undefined method `config' for Ac tiveRbacConfig:Module (NoMethodError) from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge m_original_require' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire' from ./test/functional/../test_helper.rb:2 from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge m_original_require' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire' from ./test/functional/album_categories_controller_test.rb:1 from d:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader .rb:5:in `load' from d:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader .rb:5 from d:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader .rb:5:in `each' from d:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader .rb:5 here is my configuration in environment.rb(just follow the ActiveRbacManual) ########### module ActiveRbacConfig config :controller_layout, 'articles' end Engines.create_logger Engines.start:active_rbac ########### And you said you had no problem in each version, so can you tell me the exactly detail? such as active_rbac0.3.2 can run under which version of engines, rails? If engines is unneccessary, then how to configure the environment.rb to protect my controller? Anyway, thank you for your reply:) Regards. captain
on 2007-04-13 15:31
Hi, Kosmas:
Finally i fix that problem. I made such a stupid mistake! The
version ActiveRbac0.3.2 can only run under rails 1.1!
Then i download the 0.4.1 version with engines 1.2 and put into
my project, everything is ok now:) It's not the problem of windows,
actually , it's my stupid mistake.....
Thanks anyway!
cheers
captain
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.