Hi Rolandas,
That's weird. What if you manually delete/move the folder
d:/Ruby193/lib/ruby/gems/1.9.1/bundler/gems/will_paginate-cc7ef01551b9/
and run "bundle" again. It should redownload the gem.
If you want to be sure that your app is stable, please create a model
and add 31 records to it: this way you will make sure that pagination is
working correctly. Quick way of doing this:
hobo g resource event name:string
hobo g migration
And open a console to create all the records quickly:
rails c
31.times { Event.create!(:name => 'My event') }
Warm regards,
Ignacio
El 01/12/13 03:32, Rolandas Būbelis escribió:
> Hi again,
>
> Thanks! Yes, this did help to get ahead. Although I had the right
> version of git installed from the start, it only worked from Git Bash
> directly.
> But I still got a different fatal error at the same spot.
>
> |
> Fetching git://github.com/Hobo/will_paginate.git
> remote: Counting objects: 3710, done.
> remote: Compressing objects: 100% (2263/2263), done.
> remote: Total 3710 (delta 1784), reused 3252 (delta 1385)
> Receiving objects: 100% (3710/3710), 1020.81 KiB | 501.00 KiB/s, done.
> Resolving deltas: 100% (1784/1784), done.
> *fatal: Not a git repository:
> ''d:/Ruby193/lib/ruby/gems/1.9.1/bundler/gems/will_*
> *paginate-cc7ef01551b9/.git''*
> Fetching gem metadata from https://rubygems.org/........
> |
>
> I was having something similar before, pointing to that location, but in
> those instances the folder was empty, and in this case it was with files.
> But the rails server did start up now and I'm able to create a user and
> login.
>
> So it work, and I'm just afraid that this "*Not a git repository"* can
> come haunt me later, if not resolved.
> Is this a threat and if so can it be fixed (maybe manually)?
>
> Rolandas
>
> On Saturday, November 30, 2013 10:30:57 AM UTC+1, Ignacio Huerta wrote:
>
> Hi Rolandas,
>
> It certainly looks like "bundler" is unable to execute the "git"
> command.
>
> I have found this thread talking about a similar issue:
>
> http://stackoverflow.com/questions/11851652/error-while-fetching-git-file-using-bundler
>
> <http://stackoverflow.com/questions/11851652/error-while-fetching-git-file-using-bundler>.
>
> It mentions using msysgit to be able to run bundle. Can you give it
> a try?
>
> If not, please say and I'll just give it a try in a virtual machine. We
> should have some nice instructions about how to run Hobo in Windows
> too.
>
> Warm regards,
> Ignacio
>
> El 30/11/13 01:23, Rolandas Būbelis escribió:
> > I'm not very familiar with git yet, so I'm not sure I understand.
> > How could I check that?
> > Or maybe I need to reinstall or reset something (just to make it
> simpler
> > and more straight forward). I installed git after I installed ruby
> 2.0,
> > but before I installed ruby 1.9, so I don't know, if I'm missing
> some step.
> >
> > On Friday, November 29, 2013 11:00:09 PM UTC+1, kevinpfromnm wrote:
> >
> > If it's the same error, I'd wonder if the git executable
> wasn't in
> > the path whenever you ran the hobo command.
> >
> > On Friday, November 29, 2013 2:06:48 PM UTC-7, Rolandas
> Būbelis wrote:
> >
> > Hi Ignacio,
> >
> > it seems I'm getting the same error message as Pete, but
> maybe
> > the reason is different as I have git installed (git version
> > 1.8.4.msysgit.0), and it does work when I run
> > git clone "git://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>
> > <http://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>>"
> > (I get a folder will_paginate with files in it).
> >
> > Some background:
> > I'm not updating, but just started trying out Hobo. I'm on
> WinXP
> > and I was doing some other projects with Ruby2/Rails4, and
> when
> > I read that Hobo 2, uses Rails 3, I searched how can I have
> > that, so I ended up installing Ruby 1.9.3 (with appropriate
> > DevKit) along side Ruby 2.0 and using PIK
> > <https://github.com/vertiginous/pik
> <https://github.com/vertiginous/pik>> to switch between then.
> > Then, on Ruby193, I installed Hobo and it added all other
> needed
> > gems without any errors. So I only get to that problem when
> > creating a new app.
> >
> > Any ideas?
> >
> > Thanks,
> > Rolandas
> >
> >
> > On Thursday, September 19, 2013 7:20:23 PM UTC+2, Ignacio
> Huerta
> > wrote:
> >
> > Hi Pete,
> >
> > I have a theory: if you run this command, does it work?
> >
> > git clone "git://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>
> > <http://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>>"
> >
> > I suspect that you are missing the "git" command.
> >
> > If that's the case, I believe we need to update the
> docs to
> > include this
> > dependency!
> >
> > Regards,
> > Ignacio
> >
> > El 19/09/13 12:13, Pete escribi�:
> > > Hi,
> > >
> > > I am trying to upgrade an app from old Hobo 1.0 to Hobo
> > 2.0 with Rails 3.
> > >
> > > But I am having major issue just getting Hobo 2.0 up
> and
> > running -
> > > installation of the Hobo gem is fine as is
> installing Ruby
> > (I am using
> > > Win 7 - as I always have done)
> > >
> > > Creating a standard Rails app works fine, but as
> soon as I
> > try to
> > > generate a Hobo app - I get this error after - run
> > bundle update from "."
> > >
> > > Fetching git://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>
> > <http://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>>
> > > Unfortunately, a fatal error has occurred. Please
> see the
> > Bundler
> > > troubleshooting documentation at
> > http://bit.ly/bundler-issues. Thanks!
> > >
> >
>
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/source/git/git_proxy.rb:88:in
>
> >
> > > ``': No such file or di
> > > rectory - git clone
> > "git://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>
> > <http://github.com/Hobo/will_paginate.git
> <http://github.com/Hobo/will_paginate.git>>"
> > > "C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/wil
> > > l_paginate-bf992a3d24d85f7a290fa8d3aa90a78397426536"
> --bare
> > > --no-hardlinks (Errno::ENOENT)
> > >
> > > I have looked at the bundler issues, but all
> versions seem
> > compatible
> > > (rubygems, railties, bundler version etc) I can't
> seem to
> > get past this...
> > >
> > > I have tried installing and creating the app under a VM
> > using Ubuntu as
> > > well - but have run into different but similar issues.
> > >
> > > Any help would be appreciated
> > >
> > > Pete
> > >
> > > P.S I am on Ruby 193, but have also tried with Ruby 2.0
> > and get the same
> > > issue
> > >
> > > --
> > > You received this message because you are subscribed to
> > the Google
> > > Groups "Hobo Users" group.
> > > To unsubscribe from this group and stop receiving
> emails
> > from it, send
> > > an email to [email protected].
> > > To post to this group, send email to
> > [email protected].
> > > Visit this group at
> > http://groups.google.com/group/hobousers
> <http://groups.google.com/group/hobousers>
> > <http://groups.google.com/group/hobousers
> <http://groups.google.com/group/hobousers>>.
> > > For more options, visit
> > https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out>
> > <https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out>>.
> >
> > --
> > Ignacio Huerta Arteche
> > http://www.ihuerta.net
> > Tel�fono: 0034 645 70 77 35
> > Email realizado con software libre
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Hobo Users" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to [email protected] <javascript:>.
> > To post to this group, send email to [email protected]
> <javascript:>.
> > Visit this group at http://groups.google.com/group/hobousers
> <http://groups.google.com/group/hobousers>.
> > For more options, visit https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
> --
> Ignacio Huerta Arteche
> http://www.ihuerta.net
> Teléfono: 0034 645 70 77 35
> Email realizado con software libre
>
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/groups/opt_out.
--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.