How to run Table_Print gem as stand alone gem
<p>Working with a rails app and I want to utilize the <a href="http://tableprintgem.com/" rel="nofollow">table_print gem</a> but I am not permitted to install a new gem into the gemfile. I see that there is a standalone version I should be able to install directly on my machine but I am not sure how to get it to work. </p>

<p>When I call <code>tp Invoice.all</code> I get the following error in return.</p>

<blockquote>
  <p>NoMethodError: undefined method `tp' for main:Object</p>
</blockquote>

<p>I've tried creating an .irbrc file with variations of the following code, but no joy.</p>

<pre><code># Outside rails
$ irb
&gt; require 'table_print'
&gt; tp array_of_objects, options

# Inside rails, the gem has already been required by your Gemfile so all you need to do is
$ rails c
&gt; tp array_of_objects, options
</code></pre>

<p>Has anyone gotten the standalone version of table_print to work with rails c? </p>