I''ve recently started playing with InstantRails 1.0 and am now wanting
to experiment with the Login and active RBAC engines but having trouble
getting them to install.
I''ve checked the following but can''t find any info on how to
get it to
work.
http://rails-engines.org/wiki/pages/Engines+plugin
I''ve also tried the following:
C:\InstantRails-1.0\rails_apps\my_project>ruby script/plugin install -x
http://svn.rails-engines.org/plugins/engines
but get the following error.
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands
/plugin.rb:675:in `method'': wrong number of arguments (0 for 1)
(ArgumentError)
from
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands
/plugin.rb:675:in `determine_install_method''
from
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands
/plugin.rb:690:in `parse!''
from
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands
/plugin.rb:411:in `parse!''
from
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands
/plugin.rb:427:in `parse!''
from
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands
/plugin.rb:823
from
C:/InstantRails-1.0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:21:in `require''
from
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:214:in `require''
from script/plugin:3
I''m sure there must be something simple I''m doing wrong but
I''ve tried
everything I can think of without success.
--Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060313/4db13e13/attachment.html
For Rails 1.1, I think this works best to install ActiveRBAC:
0) install Engines via gems.
1) download the Active_RBAC tarball from activerbac.turingstudio.com or via svn.
2) Here''s how the directory tree should look in the vendors/plugins
directory after installing Engines and Active_RBAC:
plugins
active_rbac
app
db
lib
test
engines
generators
lib
tasks
test
3) create the Active_RBAC tables in your database.
4) follow the rest of the instructions in the Active_RBAC wiki.
For Rails 1.1, add this line to $YourApp/controllers/application.rb:
model :user
...this will let active_rbac/app/controllers/login_controller.rb see
the User model.
On 3/12/06, William (Bill) Froelich <wfroelich@dbsnow.com>
wrote:>
> I''ve recently started playing with InstantRails 1.0 and am now
wanting to
> experiment with the Login and active RBAC engines but having trouble
getting
> them to install.
>
> I''ve checked the following but can''t find any info on how
to get it to work.
>
> http://rails-engines.org/wiki/pages/Engines+plugin
>
>
> I''ve also tried the following:
>
> C:\InstantRails-1.0\rails_apps\my_project>ruby script/plugin install -x
> http://svn.rails-engines.org/plugins/engines
>
> but get the following error.
>
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin.rb:675:in
> `method'': wrong number of arguments (0 for 1) (ArgumentError)
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin.rb:675:in
> `determine_install_method''
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin.rb:690:in
> `parse!''
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin.rb:411:in
> `parse!''
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin.rb:427:in
> `parse!''
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin.rb:823
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require''
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
> `require''
> from script/plugin:3
>
> I''m sure there must be something simple I''m doing wrong
but I''ve tried
> everything I can think of without success.
>
>
> --Bill
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
Thanks, I''ll give this a shot with 1.1 and see if I can get further
along!
--Bill
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Corey Lawson
Sent: Monday, April 10, 2006 5:14 PM
To: rails@lists.rubyonrails.org
Subject: Re: [Rails] Engines with InstantRails
For Rails 1.1, I think this works best to install ActiveRBAC:
0) install Engines via gems.
1) download the Active_RBAC tarball from activerbac.turingstudio.com or
via svn.
2) Here''s how the directory tree should look in the vendors/plugins
directory after installing Engines and Active_RBAC:
plugins
active_rbac
app
db
lib
test
engines
generators
lib
tasks
test
3) create the Active_RBAC tables in your database.
4) follow the rest of the instructions in the Active_RBAC wiki.
For Rails 1.1, add this line to $YourApp/controllers/application.rb:
model :user
...this will let active_rbac/app/controllers/login_controller.rb see the
User model.
On 3/12/06, William (Bill) Froelich <wfroelich@dbsnow.com>
wrote:>
> I''ve recently started playing with InstantRails 1.0 and am now
wanting
> to experiment with the Login and active RBAC engines but having
> trouble getting them to install.
>
> I''ve checked the following but can''t find any info on how
to get it to
work.>
> http://rails-engines.org/wiki/pages/Engines+plugin
>
>
> I''ve also tried the following:
>
> C:\InstantRails-1.0\rails_apps\my_project>ruby script/plugin install
> -x http://svn.rails-engines.org/plugins/engines
>
> but get the following error.
>
> C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/comman
> ds/plugin.rb:675:in
> `method'': wrong number of arguments (0 for 1) (ArgumentError)
> from
> C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/comman
> ds/plugin.rb:675:in
> `determine_install_method''
> from
> C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/comman
> ds/plugin.rb:690:in
> `parse!''
> from
> C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/comman
> ds/plugin.rb:411:in
> `parse!''
> from
> C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/comman
> ds/plugin.rb:427:in
> `parse!''
> from
>
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands
/plugin.rb:823> from
> C:/InstantRails-1.0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_requir
> e.rb:21:in
> `require''
> from
> C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/li
> b/active_support/dependencies.rb:214:in
> `require''
> from script/plugin:3
>
> I''m sure there must be something simple I''m doing wrong
but I''ve tried
> everything I can think of without success.
>
>
> --Bill
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails