I believe in windows it's gem update --system not sure if this is required in *nix, but I've always had to add the -- in windows.
Hope this helps... On Jan 29, 1:55 am, kannav rajeev <rajeevsharm...@gmail.com> wrote: > install ruby > gem update > gem update system > ruby -v > gem install rails > rails -v > gem install mysql > if needed....... > > On Fri, Jan 29, 2010 at 12:00 PM, Ethan Gunderson > <et...@ethangunderson.com>wrote: > > > > > How did you install RubyGems? That version number is pretty old, the > > current being 1.3.5. > > > I take it from your 'I couldn't install any gems' comment, that you tried > > to install bundler and it failed? > > > If that's the case, I would uninstall whatever you did to get a .9 version > > of RubyGems, and then follow the directions here: > >http://docs.rubygems.org/read/chapter/3 > > > -Ethan > > > On Fri, Jan 29, 2010 at 12:14 AM, senling <senthilu...@gmail.com> wrote: > > >> There is no rails gem installed in my system. > > >> Thanks > >> senling > > >> On Jan 29, 10:57 am, kannav rajeev <rajeevsharm...@gmail.com> wrote: > >> > uninstall rails then ruby restart system then make all processes in > >> better > >> > mannered way . > > >> > On Fri, Jan 29, 2010 at 11:25 AM, senling <senthilu...@gmail.com> > >> wrote: > >> > > Hi, > >> > > I have installed ruby and trying to set rails environment. > > >> > > >ruby -v > >> > > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > > >> > > >gem environment > >> > > RubyGems Environment: > >> > > - VERSION: 0.9.4 (0.9.4) > >> > > - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8 > >> > > - GEM PATH: > >> > > - C:/Ruby/lib/ruby/gems/1.8 > >> > > - REMOTE SOURCES: > >> > > -http://gems.rubyforge.org > > >> > > >gem install rails --include-dependencies > >> > > ERROR: While executing gem ... (Gem::GemNotFoundException) > >> > > Could not find rails (> 0) in any repository > > >> > > I tried downloading the gem locally , still the same error > > >> > > >gem update --system > >> > > Updating RubyGems... > >> > > Attempting remote update of rubygems-update > >> > > ERROR: While executing gem ... (Gem::InstallError) > >> > > rubygems-update requires builder >= 0 > > >> > > I could'nt install any gems. > > >> > > >gem list > >> > > *** LOCAL GEMS *** > > >> > > fxri (0.3.6) > >> > > fxruby (1.6.12) > >> > > hpricot (0.6) > >> > > log4r (1.0.5) > >> > > rake (0.7.3) > >> > > sources (0.0.1) > >> > > win32-api (1.0.4) > >> > > win32-clipboard (0.4.3) > >> > > win32-dir (0.3.2) > >> > > win32-eventlog (0.4.6) > >> > > win32-file (0.5.4) > >> > > win32-file-stat (1.2.7) > >> > > win32-process (0.5.3) > >> > > win32-sapi (0.1.4) > >> > > win32-sound (0.4.1) > >> > > windows-api (0.2.0) > >> > > windows-pr (0.7.2) > > >> > > I would like to know the procedure for setting up the rails > >> > > environment. > > >> > > -- > >> > > 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 > >> rubyonrails-t...@googlegroups.com. > >> > > To unsubscribe from this group, send email to > >> > > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > >> <rubyonrails-talk%2bunsubscr...@googlegroups.com<rubyonrails-talk%252bunsubscr...@googlegroups.com> > > >> > > . > >> > > For more options, visit this group at > >> > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > >> > -- > >> > Regards: > >> > Rajeev sharma > > >> -- > >> 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 rubyonrails-t...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > > 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 rubyonrails-t...@googlegroups.com. > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > Regards: > Rajeev sharma > +919813270707 -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.