finding problem in installing the setup

90 views
Skip to first unread message

jude

unread,
Nov 23, 2010, 12:57:23 PM11/23/10
to ror_ecommerce
Hi david,

While running bundle install, i found the error

"An error has occur"red in git when running `git clone
"g...@github.com:drhenner/nifty-generators.git" "/home/
nthillaiarasu/.rvm/gems/ruby-1.9.2-p0/cache/bundler/git/nifty-
generators-bd0c36fe55fa2c0fcf0778190fe25d0e5f6a47d1" --bare --no-
hardlinks`. Cannot complete bundling."

Please help us, so i can install the setup


João Martins

unread,
Nov 23, 2010, 1:37:43 PM11/23/10
to ror_ec...@googlegroups.com
 
Jude I had the same error so I don't use git.
 
do gem install nifty-generators
 
and input this gem in the Gemfile.
 
and do bundle install
 
regards,
Joao

David Henner

unread,
Nov 23, 2010, 3:01:16 PM11/23/10
to ror_ec...@googlegroups.com
hmmm

Is there a way to only include a gem for a personal repo?  This gem is something that I like but it might not be good for the community.  For now just comment the gem out.  I'll comment it out on my end and push it to ror_ecommerce.

Dave

2010/11/23 João Martins <jcma...@gmail.com>

David Henner

unread,
Nov 23, 2010, 3:25:49 PM11/23/10
to ror_ec...@googlegroups.com
I noticed I had a typo in the path name.  you can bundle install now..  sorry I'm not sure why this worked for me.  

Dave

Dave

unread,
Nov 25, 2010, 1:17:03 AM11/25/10
to ror_ecommerce
I am very sorry ... I need to quit my day job. I made a typo to the
fix. I hope you just commented this out and didnt spend much time on
my mistake.

chnaged from
git://github.com:drhenner/nifty-generators.git
to
git://github.com/drhenner/nifty-generators.git

everything should work well now.

Sorry

On Nov 23, 8:25 pm, David Henner <drhen...@gmail.com> wrote:
> I noticed I had a typo in the path name.  you can bundle install now..
>  sorry I'm not sure why this worked for me.
>
> Dave
>
> On Tue, Nov 23, 2010 at 8:01 PM, David Henner <drhen...@gmail.com> wrote:
> > hmmm
>
> > Is there a way to only include a gem for a personal repo?  This gem is
> > something that I like but it might not be good for the community.  For now
> > just comment the gem out.  I'll comment it out on my end and push it to
> > ror_ecommerce.
>
> > Dave
>
> > 2010/11/23 João Martins <jcmart...@gmail.com>
>
> >> Jude I had the same error so I don't use git.
>
> >> do gem install nifty-generators
>
> >> and input this gem in the Gemfile.
>
> >> and do bundle install
>
> >> regards,
> >> Joao
>

jude

unread,
Nov 26, 2010, 11:24:44 PM11/26/10
to ror_ecommerce
Found this error when i tried rake db:migrate

jude@Vaio:~/Myworks/Rails3/ror_ecommerce$ rake db:migrate --trace
(in /home/jude/Myworks/Rails3/ror_ecommerce)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `[]' for nil:NilClass
/home/jude/Myworks/Rails3/ror_ecommerce/config/environment.rb:8:in
`<top (required)>'

David Henner

unread,
Nov 27, 2010, 3:36:14 AM11/27/10
to ror_ec...@googlegroups.com
looks like you might need a bundle install again...  let me go check a few things out though.  i should respond again in 20 minutes 

David Henner

unread,
Nov 27, 2010, 4:33:13 AM11/27/10
to ror_ec...@googlegroups.com
It looks like this failed on 

CIM_LOGIN_ID = HADEAN_CONFIG['authnet']['login']

What does your config/config.yml look like(be sure to comment out secure passwords)?  It looks like you are trying to setup using something other than authnet.  

If you dont have authnet and are using paypal change HADEAN_CONFIG['authnet']['login'] to HADEAN_CONFIG['paypal']['login']

If you do have authnet did you use tabs rather than spaces for indenting?

--------------------------------

development: &non_production_settings
  encryption_key: someRandomBINARYKEY
  mailer:
    server: mail.example.com
    username: someLOGIN
    password: s0meth1ngs3cr3t
  paypal:
    ip:         192.168.0.1
    login:      someLOGIN.yahoo.com
    password:   somePASSWORD
    signature:  someSIGNATURE
  authnet:
    login:      someLOGIN
    password:   somePASSWORD

Marius

unread,
Dec 8, 2010, 4:12:15 AM12/8/10
to ror_ecommerce
Hi there!

I get this trying to run db:migrate

#<ActionDispatch::Session::MemCacheStore:0x22c10f8> unable to find
server during initialization.

Question1: what server?

Question2: What if i don't have a paypal and i don't have an "authnet"
whatever that may be?

Can it be setup? or am i just wasting my time?

thx in advance,
Have a nice day.

David Henner

unread,
Dec 8, 2010, 9:27:20 AM12/8/10
to ror_ec...@googlegroups.com
That error is for memcached

just install memcached and then go to the terminal and run:    memcached -vv

no you aren't wasting your time but if you want to accept payments you need some type of way to collect payments.  Also getting an www.authorize.net account or paypal developer account is free.  check out ryan bate's screen cast,  

Dave

David Henner

unread,
Apr 5, 2011, 11:42:43 AM4/5/11
to Marius, ror_ec...@googlegroups.com
You can use any gateway.  It's a simple change in the config.yml and then change environment.rb.



CIM_LOGIN_ID = HADEAN_CONFIG['authnet']['login']
CIM_TRANSACTION_KEY = HADEAN_CONFIG['authnet']['password']

then in config/environments/production.rb


    ::GATEWAY = ActiveMerchant::Billing::AuthorizeNetGateway.new(
      :login    => HADEAN_CONFIG['authnet']['login'],
      :password => HADEAN_CONFIG['authnet']['password'],
      :test     => true
    )

use any gateway active merchant uses.  you just need to change AuthorizeNetGateway to the Gateway you use.

Dave

On Tue, Apr 5, 2011 at 10:43 AM, Marius <marius...@gmail.com> wrote:
oooo i found it, i completely forgot where i posted my question, found
it now by pure coincidence.

I gave it another try but setting it up is still a hazard.
It has the same problems as spree, way to hard to setup, like a zilion
gems as dependencies and the only way(for the clients) to pay is by
using a gateway.

Paypal may be popular in the states and/or other contries but where i
live nobody is using it, not even the biggest online shops.
Using a bank or a company to process the payments with credit cards is
expensive, they usually take around 3% +-0.5% from the total order
amount, which is fine if you sell clothing for example, where you have
100% or more trade markup. In the IT market you are happy if you get
7% trade markup. Taking 3% from that is A LOT.
I don't know how it is in other contries but i can tell you how it is
in mine.
A client or a potential client goes through 3 big steps before he
actually buys something.
1. S - Search
2. C - Compare
3. B - buy.

So the price is important.

The most popular payment methods are:
1. Cash on delivery, which is the most popular. The transfer of the
money to you is taken care by the delivery company.
2. Bank transfer, especially popular among companies.

Just something to think about,

Best wishes,



On Dec 8 2010, 5:27 pm, David Henner <drhen...@gmail.com> wrote:
> That error is for memcached
>
> just install memcached and then go to the terminal and run:    memcached -vv
>
> no you aren't wasting your time but if you want to accept payments you need
> some type of way to collect payments.  Also getting anwww.authorize.netaccountor paypal developer account is free.  check
Reply all
Reply to author
Forward
0 new messages