Google Groups Home
Help | Sign in
uninitialized constant RubiGen
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
phil  
View profile
 More options Jul 2, 4:52 am
From: phil <p...@philsmy.com>
Date: Wed, 2 Jul 2008 01:52:01 -0700 (PDT)
Local: Wed, Jul 2 2008 4:52 am
Subject: uninitialized constant RubiGen
I just reinstalled AM and I'm getting this error when trying to write
a new gateway:

1 - svn checkout http://activemerchant.googlecode.com/svn/trunk/active_merchant
(installs correctly)

2 - sudo gem install rubigen
Successfully installed rubigen-1.3.2
1 gem installed
Installing ri documentation for rubigen-1.3.2...
Installing RDoc documentation for rubigen-1.3.2...

3 - script/generate gateway Chronopay
uninitialized constant RubiGen

Of course there is no documentation, there is a bug listed (101) and
it is marked as invalid! Looks pretty valid to me!

If I add
require 'rubigen'

to the top of gateway_generator.rb

I end up with another error:
Missing GatewayGenerator class in ./vendor/plugins/active_merchant/
generators/gateway/gateway_generator.rb

That is because I have a line before the class declaration I guess

I even tried putting the require in script/generate and still nothing.

Does this software actually work for anything other than paypal and
authorized.net?????


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cody Fauser  
View profile
 More options Jul 2, 6:51 am
From: "Cody Fauser" <codyfau...@gmail.com>
Date: Wed, 2 Jul 2008 06:51:32 -0400
Local: Wed, Jul 2 2008 6:51 am
Subject: Re: [Active Merchant] uninitialized constant RubiGen
Phil,

You are incorrectly using the generator from your Rails directory.
This generator is a tool used to generate new gateway implementations
within ActiveMerchant. I will see if I can modify the use of Rubigen
to work from the rails root directory, but this isn't really a high
priority.

> If I add
> require 'rubigen'

> to the top of gateway_generator.rb

> I end up with another error:
> Missing GatewayGenerator class in ./vendor/plugins/active_merchant/
> generators/gateway/gateway_generator.rb

> That is because I have a line before the class declaration I guess

> I even tried putting the require in script/generate and still nothing.

> Does this software actually work for anything other than paypal and
> authorized.net?????

All of the gateways are in production use in Shopify.


--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
phil  
View profile
 More options Jul 2, 7:34 am
From: phil <p...@philsmy.com>
Date: Wed, 2 Jul 2008 04:34:56 -0700 (PDT)
Local: Wed, Jul 2 2008 7:34 am
Subject: Re: uninitialized constant RubiGen
Thanks Cody.... so where do I run it from!? ./vendor/plugins/
active_merchant?

On Jul 2, 12:51 pm, "Cody Fauser" <codyfau...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cody Fauser  
View profile
 More options Jul 2, 8:15 am
From: "Cody Fauser" <codyfau...@gmail.com>
Date: Wed, 2 Jul 2008 08:15:51 -0400
Local: Wed, Jul 2 2008 8:15 am
Subject: Re: [Active Merchant] Re: uninitialized constant RubiGen
Yes, run it from the root directory of ActiveMerchant. ActiveMerchant
has its own script/generate file.

--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google