I am attempting to install RAILS and I execute the following: C:\>gem install rail And get: C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail Attempting local installation of 'rail' Local gem file not found: rail*.gem Attempting remote installation of 'rail' Successfully installed rails_analyzer_tools, version 1.0.0 Installing RDoc documentation for rails_analyzer_tools-1.0.0... My RUBY version is: C:\>ruby -version ruby 1.8.2 (2004-12-25) [i386-mswin32] My GEM version is: C:\>gem --version C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version 0.8.3 Thanks in advance, Ron _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
C:\>gem install rails note the s at the end. On 8/11/05, Ron DiFrango <rdifrango-wfttzDtloRfhmZgEOWDAxUEOCMrvLtNR@public.gmane.org> wrote:> I am attempting to install RAILS and I execute the following: > > C:\>gem install rail > > And get: > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail > Attempting local installation of ''rail'' > Local gem file not found: rail*.gem > Attempting remote installation of ''rail'' > Successfully installed rails_analyzer_tools, version 1.0.0 > Installing RDoc documentation for rails_analyzer_tools-1.0.0... > > My RUBY version is: > > C:\>ruby -version > ruby 1.8.2 (2004-12-25) [i386-mswin32] > > My GEM version is: > > C:\>gem --version > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version > 0.8.3 > > Thanks in advance, > > Ron > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
I recommend the longer (but very specific): gem install rails --remote --source http://gems.rubyonrails.com Also, you''re going to want to "manually" update to a newer version of RubyGems. There was a big jump around 0.8.7, and it prevents older versions from updating themselves. Hit the Downloads link here: http://docs.rubygems.org/ Once you download the .gem file for the latest version, you can install it with "gem install <blah> --local" Good luck; --Wilson. Ron DiFrango wrote:> I am attempting to install RAILS and I execute the following: > > C:\>gem install rail > > And get: > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail > Attempting local installation of ''rail'' > Local gem file not found: rail*.gem > Attempting remote installation of ''rail'' > Successfully installed rails_analyzer_tools, version 1.0.0 > Installing RDoc documentation for rails_analyzer_tools-1.0.0... > > My RUBY version is: > > C:\>ruby -version > ruby 1.8.2 (2004-12-25) [i386-mswin32] > > My GEM version is: > > C:\>gem --version > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version > 0.8.3 > > Thanks in advance, > > Ron
Joe, I tried that with the same result. Ron -----Original Message----- From: Joe Van Dyk [mailto:joevandyk@gmail.com] Sent: Thu 8/11/2005 11:58 PM To: rails@lists.rubyonrails.org Cc: Subject: Re: [Rails] Serious newbie question... C:\>gem install rails note the s at the end. On 8/11/05, Ron DiFrango <rdifrango@captechventures.com> wrote: > I am attempting to install RAILS and I execute the following: > > C:\>gem install rail > > And get: > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail > Attempting local installation of 'rail' > Local gem file not found: rail*.gem > Attempting remote installation of 'rail' > Successfully installed rails_analyzer_tools, version 1.0.0 > Installing RDoc documentation for rails_analyzer_tools-1.0.0... > > My RUBY version is: > > C:\>ruby -version > ruby 1.8.2 (2004-12-25) [i386-mswin32] > > My GEM version is: > > C:\>gem --version > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version > 0.8.3 > > Thanks in advance, > > Ron > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
I finally got it, it was the gems update that did it! Thanks everyone! -----Original Message----- From: Wilson [mailto:defiler@null.net] Sent: Fri 8/12/2005 12:01 AM To: rails@lists.rubyonrails.org Cc: Subject: Re: [Rails] Serious newbie question... I recommend the longer (but very specific): gem install rails --remote --source http://gems.rubyonrails.com Also, you're going to want to "manually" update to a newer version of RubyGems. There was a big jump around 0.8.7, and it prevents older versions from updating themselves. Hit the Downloads link here: http://docs.rubygems.org/ Once you download the .gem file for the latest version, you can install it with "gem install <blah> --local" Good luck; --Wilson. Ron DiFrango wrote: > I am attempting to install RAILS and I execute the following: > > C:\>gem install rail > > And get: > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail > Attempting local installation of 'rail' > Local gem file not found: rail*.gem > Attempting remote installation of 'rail' > Successfully installed rails_analyzer_tools, version 1.0.0 > Installing RDoc documentation for rails_analyzer_tools-1.0.0... > > My RUBY version is: > > C:\>ruby -version > ruby 1.8.2 (2004-12-25) [i386-mswin32] > > My GEM version is: > > C:\>gem --version > > C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version > 0.8.3 > > Thanks in advance, > > Ron _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Isn''t it true though that "gem install rails" does a regular expression match for "rails" with anything after it. Therefore if someone had recently put a new gem into the repository with rails in the name, it would find that instead? Julian. On 12/08/2005, at 2:01 PM, Wilson wrote:> I recommend the longer (but very specific): > gem install rails --remote --source http://gems.rubyonrails.com > > Also, you''re going to want to "manually" update to a newer version > of RubyGems. There was a big jump around 0.8.7, and it prevents > older versions from updating themselves. > Hit the Downloads link here: > http://docs.rubygems.org/ > Once you download the .gem file for the latest version, you can > install it with "gem install <blah> --local" > > Good luck; > --Wilson. > > Ron DiFrango wrote: > >> I am attempting to install RAILS and I execute the following: >> C:\>gem install rail >> And get: >> C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail >> Attempting local installation of ''rail'' >> Local gem file not found: rail*.gem >> Attempting remote installation of ''rail'' >> Successfully installed rails_analyzer_tools, version 1.0.0 >> Installing RDoc documentation for rails_analyzer_tools-1.0.0... >> My RUBY version is: >> C:\>ruby -version >> ruby 1.8.2 (2004-12-25) [i386-mswin32] >> My GEM version is: >> C:\>gem --version >> C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version >> 0.8.3 >> Thanks in advance, >> Ron >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Yes and last time I got the rails_production_log_anylizer instead of rails I just did this: $ sudo gem install 0.13.1 And it matched the latest version number in the rails gem and installed rails fine : ) I wouldn''t expect that to always work, if another gem has the same version num it would get confused. -Ezra On Aug 11, 2005, at 10:20 PM, Julian Leviston wrote:> Isn''t it true though that "gem install rails" does a regular > expression match for "rails" with anything after it. > Therefore if someone had recently put a new gem into the repository > with rails in the name, it would find that instead? > > Julian. > > On 12/08/2005, at 2:01 PM, Wilson wrote: > > >> I recommend the longer (but very specific): >> gem install rails --remote --source http://gems.rubyonrails.com >> >> Also, you''re going to want to "manually" update to a newer version >> of RubyGems. There was a big jump around 0.8.7, and it prevents >> older versions from updating themselves. >> Hit the Downloads link here: >> http://docs.rubygems.org/ >> Once you download the .gem file for the latest version, you can >> install it with "gem install <blah> --local" >> >> Good luck; >> --Wilson. >> >> Ron DiFrango wrote: >> >> >>> I am attempting to install RAILS and I execute the following: >>> C:\>gem install rail >>> And get: >>> C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail >>> Attempting local installation of ''rail'' >>> Local gem file not found: rail*.gem >>> Attempting remote installation of ''rail'' >>> Successfully installed rails_analyzer_tools, version 1.0.0 >>> Installing RDoc documentation for rails_analyzer_tools-1.0.0... >>> My RUBY version is: >>> C:\>ruby -version >>> ruby 1.8.2 (2004-12-25) [i386-mswin32] >>> My GEM version is: >>> C:\>gem --version >>> C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version >>> 0.8.3 >>> Thanks in advance, >>> Ron >>> >>> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-Ezra Zygmuntowicz WebMaster Yakima Herald-Republic Newspaper ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org 509-577-7732
The best way is: gem list --remote then gem install PACKAGENAMEINFULL or gem update PACKAGENAMEINFULL On 12/08/2005, at 3:55 PM, Ezra Zygmuntowicz wrote:> Yes and last time I got the rails_production_log_anylizer instead > of rails I just did this: > $ sudo gem install 0.13.1 > And it matched the latest version number in the rails gem and > installed rails fine : ) I wouldn''t expect that to always work, if > another gem has the same version num it would get confused. > > -Ezra > > On Aug 11, 2005, at 10:20 PM, Julian Leviston wrote: > > >> Isn''t it true though that "gem install rails" does a regular >> expression match for "rails" with anything after it. >> Therefore if someone had recently put a new gem into the >> repository with rails in the name, it would find that instead? >> >> Julian. >> >> On 12/08/2005, at 2:01 PM, Wilson wrote: >> >> >> >>> I recommend the longer (but very specific): >>> gem install rails --remote --source http://gems.rubyonrails.com >>> >>> Also, you''re going to want to "manually" update to a newer >>> version of RubyGems. There was a big jump around 0.8.7, and it >>> prevents older versions from updating themselves. >>> Hit the Downloads link here: >>> http://docs.rubygems.org/ >>> Once you download the .gem file for the latest version, you can >>> install it with "gem install <blah> --local" >>> >>> Good luck; >>> --Wilson. >>> >>> Ron DiFrango wrote: >>> >>> >>> >>>> I am attempting to install RAILS and I execute the following: >>>> C:\>gem install rail >>>> And get: >>>> C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rail >>>> Attempting local installation of ''rail'' >>>> Local gem file not found: rail*.gem >>>> Attempting remote installation of ''rail'' >>>> Successfully installed rails_analyzer_tools, version 1.0.0 >>>> Installing RDoc documentation for rails_analyzer_tools-1.0.0... >>>> My RUBY version is: >>>> C:\>ruby -version >>>> ruby 1.8.2 (2004-12-25) [i386-mswin32] >>>> My GEM version is: >>>> C:\>gem --version >>>> C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" --version >>>> 0.8.3 >>>> Thanks in advance, >>>> Ron >>>> >>>> >>>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >>> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > > -Ezra Zygmuntowicz > WebMaster > Yakima Herald-Republic Newspaper > ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org > 509-577-7732 > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On Friday 12 August 2005 01:20 am, Julian Leviston wrote:> Isn''t it true though that "gem install rails" does a regular > expression match for "rails" with anything after it.Not anymore. Fixed in version 0.8.11. -- -- Jim Weirich jim-Fxty1mrVU9GlFc2d6oM/ew@public.gmane.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)