<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic rails direct post gem not working in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/rails-direct-post-gem-not-working/m-p/22821#M12320</link>
    <description>&lt;P&gt;I'm using the rails direct post gem for a test transaction, and I can't seem to get it working. There are a few problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- First of all, step 2 says to run the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo gem install authorize&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;net&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;1.0&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;0.gem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When downloaded, the version is 1.1.1, not 1.0.0. Not a big deal, just wanted to raise it. I just moved the file into my ~/vendor folder and ran:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;sudo gem install vendor/authorize&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;net&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;1.1&lt;/SPAN&gt;&lt;SPAN&gt;.1&lt;/SPAN&gt;&lt;SPAN&gt;.gem&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;- Everything seemed to run fine from there, until I tried to start my server. When I ran script/server, I got the following error:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;Missing these required gems:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;authorize-net &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You're running:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;rubygems 1.3.5 at /Users/Jake/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8&lt;/DIV&gt;&lt;DIV&gt;Run `rake gems:install` to install the missing gems.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Missing these required gems:&amp;nbsp;&amp;nbsp;authorize-net &amp;nbsp;&lt;BR /&gt;You're running:&amp;nbsp;&amp;nbsp;ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby&amp;nbsp;&amp;nbsp;rubygems 1.3.5 at /Users/Jake/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8&lt;BR /&gt;Run `rake gems:install` to install the missing gems.&lt;/P&gt;&lt;P&gt;I ran rake gems:install and tried to start the server again, but got the same error. Commenting out the config gem line in environment.rb allows me to start the server, but I get the following error when navigating to&amp;nbsp;http://localhost:3000/payments/payment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,arial,helvetica,sans-serif; line-height: 18px; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MissingSourceFile in PaymentsController#payment&lt;/P&gt;&lt;PRE&gt;Missing helper file helpers/authorize_net_helper.rb&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2012 10:44:19 GMT</pubDate>
    <dc:creator>thuchuspup</dc:creator>
    <dc:date>2012-02-08T10:44:19Z</dc:date>
    <item>
      <title>rails direct post gem not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/rails-direct-post-gem-not-working/m-p/22821#M12320</link>
      <description>&lt;P&gt;I'm using the rails direct post gem for a test transaction, and I can't seem to get it working. There are a few problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- First of all, step 2 says to run the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo gem install authorize&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;net&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;1.0&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;0.gem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When downloaded, the version is 1.1.1, not 1.0.0. Not a big deal, just wanted to raise it. I just moved the file into my ~/vendor folder and ran:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;sudo gem install vendor/authorize&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;net&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;1.1&lt;/SPAN&gt;&lt;SPAN&gt;.1&lt;/SPAN&gt;&lt;SPAN&gt;.gem&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;- Everything seemed to run fine from there, until I tried to start my server. When I ran script/server, I got the following error:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;Missing these required gems:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;authorize-net &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You're running:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;rubygems 1.3.5 at /Users/Jake/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8&lt;/DIV&gt;&lt;DIV&gt;Run `rake gems:install` to install the missing gems.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Missing these required gems:&amp;nbsp;&amp;nbsp;authorize-net &amp;nbsp;&lt;BR /&gt;You're running:&amp;nbsp;&amp;nbsp;ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby&amp;nbsp;&amp;nbsp;rubygems 1.3.5 at /Users/Jake/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8&lt;BR /&gt;Run `rake gems:install` to install the missing gems.&lt;/P&gt;&lt;P&gt;I ran rake gems:install and tried to start the server again, but got the same error. Commenting out the config gem line in environment.rb allows me to start the server, but I get the following error when navigating to&amp;nbsp;http://localhost:3000/payments/payment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,arial,helvetica,sans-serif; line-height: 18px; font-size: 13px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MissingSourceFile in PaymentsController#payment&lt;/P&gt;&lt;PRE&gt;Missing helper file helpers/authorize_net_helper.rb&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 10:44:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/rails-direct-post-gem-not-working/m-p/22821#M12320</guid>
      <dc:creator>thuchuspup</dc:creator>
      <dc:date>2012-02-08T10:44:19Z</dc:date>
    </item>
  </channel>
</rss>

