- Jamis
On May 29, 2008, at 3:39 PM, CathyM wrote:
Hello, I am having problems setting up Capistrano on my windowsXP machine. Iinstall it, updated the gems, but when I type any cap command, either -V, setup, deploy, etc, I get the following message: /ruby/bin/cap:17: undefined method `require_gem' for main:Object (NoMethodError) I've check the cap file and found this: # The application 'capistrano' is installed as part of a gem, and # this file is here to facilitate running it. # require 'rubygems' version = "> 0" if ARGV.size > 0 && ARGV[0][0]==95 && ARGV[0][-1]==95 if Gem::Version.correct?(ARGV[0][1..-2]) version = ARGV[0][1..-2] ARGV.shift end end require_gem 'capistrano', version load 'cap' Any ideas on what to change to make it work? --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
