Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not sure how your environment is set up, but simply installing rake should do it. If you provide more detail (rvm, bundler, etc.) it may be of help. </p> <pre><code>gem install rake </code></pre> <p>Upon further inspection of your path, I see you're using RVM. If your paths are installed properly, you can either use the RVM Global gemset, execute the line above.</p> <p>Another suggestion I have is checking out the CanCan railscast as that is the bigger norm for authorization these days, more supporters as well.</p> <p><a href="http://railscasts.com/episodes/192-authorization-with-cancan" rel="nofollow">http://railscasts.com/episodes/192-authorization-with-cancan</a></p> <p>"A few episodes ago we covered Declarative Authorization. While it is an excellent authorization plugin for Rails it can be a little heavy for simpler sites. After writing the Railscast on Declarative Authorization Ryan Bates looked for an alternative solution and, failing to find one that suited his needs, decided to write his own, CanCan." - RBates</p> <p>After seeing your environment, let's try to separate the environments a little. Do this.</p> <pre><code>rvm gemset create some_other_name rvm gemset use some_other_name bundle install </code></pre> <p>See if this isolates your environment enough. </p> <p>EDIT: I don't use rake gems:install anymore. You have bundler installed, and I'm assuming you want to use it. I do use rails g gemname:install when the documentation for such exists, I'm going to look at the railscasts again and see what rbates is telling you.</p> <p>On the CANCAN github page, it says: In Rails 3, add this to your Gemfile and run the bundle command. gem "cancan".</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload