Note that there are some explanatory texts on larger screens.

plurals
  1. POHaving trouble getting acts_as_audited installed
    primarykey
    data
    text
    <p><br> I'm trying to install <strong>acts_as_audited</strong> on rails 3, but the docs seem to only refer to pre rails 3 style installs, anyone got any tips?</p> <p>Heres the details,<br> <a href="https://github.com/collectiveidea/acts_as_audited" rel="nofollow">https://github.com/collectiveidea/acts_as_audited</a></p> <p>I have the gem installed, it shows up when I type<br> <strong>gem list</strong></p> <p>however the generator does not appear to be available when I try </p> <p><strong>rails generate audited_migration add_audits_table</strong></p> <p>If anyone has a preferred audit trail idea, feel free to shout.</p> <hr> <p><strong>Part B!</strong> </p> <p>So now I have the right branch, I tried to install it as per the new instructions. But I get the following error <strong>Could not find gem 'acts_as_audited (= 2.0.0.rc1, runtime)' in any of the gem sources.</strong></p> <p>I've added the following to my gemfile, (source was a later addition as I tried to get it working)<br> <strong>source 'http://gems.github.com'</strong><br> <strong>gem 'acts_as_audited', '2.0.0.rc1'</strong></p> <p>typing <em>gem env</em> in terminal gives,</p> <pre><code>gem env RubyGems Environment: - RUBYGEMS VERSION: 1.4.2 - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8 - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS: - ruby - universal-darwin-10 - GEM PATHS: - /Library/Ruby/Gems/1.8 - /Users/tmulcahy/.gem/ruby/1.8 - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 - GEM CONFIGURATION: - :update_sources =&gt; true - :verbose =&gt; true - :benchmark =&gt; false - :backtrace =&gt; false - :bulk_threshold =&gt; 1000 - :sources =&gt; ["http://rubygems.org/", "http://gems.github.com/"] - REMOTE SOURCES: - http://rubygems.org/ - http://gems.github.com/ </code></pre> <p>Can you help any further?<br> This may be stupid but these days my biggest problem with rails is getting gems installed, I always seem to have these kind of problems. It would be nice to knock it on the head once and for all.</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.
    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