On 2 Dec 2008, at 16:46, Scott Peterson wrote:
> > I'm having a lot of trouble getting going in InstantRails on Windows > in > a new development installation. > > I should mention that I've installed InstantRails 2.0 on this machine, > and I'm using cygwin over windows for command-line stuff. The > application was previously started elsewhere, which may have used a > different IR installation, I don't have that information. > > So, I get the ruby stuff out of the repository, and change the > database.yml to point to mysql. > > At first, I brought up the index of one of my controllers and got a > message which said I had an undefined method 'paginate'. > > Well, I'm not sure where that came from ,bu tsure enough, in index > there's a call to list, which tries paginate. What is now known as classic pagination was removed in between rails 1.2.x and rails 2.0 > > > > So, I tried to regenerate my scaffold. I'm not that far into the > application, no big deal if I lose stuff. I get told that Rails > requires RubyGems >= 0.9.4, and I should do a 'gem update --system'. > > Upon trying that, I get: > > c:\ruby\bin\ruby.exe: No such file or directory -- > /cygdrive/c/ruby/bin/gem (LoadError). > > I don't understand this, as gem is right there. I resecured it 755 > just > in case ruby is kicked off as a different user. > > I think I have this installation hopelessly confused, and I don't > really > know where to go from here. Anyone out there have any ideas? > Not that I know much about either, but having this parallel cygwin and instantrails stuff sounds like a recipe for trouble. eg if the ruby trying to load /cygdrive/c/ruby/bin/gem is a 'windows' ruby then it might not understand what '/cygdrive/c/ruby/bin/gem' means (whereas the cygwin ruby does) Fred > Thank you. > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

