Hello. I can''t install rails. What should I do with this? When I try to do sudo /usr/local/bin/gem install rails the following is displayed and rails can''t be installed. /usr/local/bin/gem:3:in `require'': No such file to load -- rubygems (LoadError) from /usr/local/bin/gem:3 My system: Mac OS X Panther (10.3.9) ruby 1.8.2 (built and installed from source tarball) rubygems 0.8.11 (installed from source tarball) mySQL 4.1.14 (installed from OS X package) --- OGURA Toshiyuki
Hello. I can''t install rails. What should I do with this? When I try to do sudo /usr/local/bin/gem install rails the following is displayed and rails can''t be installed. /usr/local/bin/gem:3:in `require'': No such file to load -- rubygems (LoadError) from /usr/local/bin/gem:3 My system: Mac OS X Panther (10.3.9) ruby 1.8.2 (built and installed from source tarball) rubygems 0.8.11 (installed from source tarball) mySQL 4.1.14 (installed from OS X package) --- OGURA Toshiyuki
I found that ruby''s path was incorrect. I changed /usr/local/bin/gem as follows and successfully installed rails on my system. 1c1 < #!/usr/bin/env ruby ---> #!/usr/bin/env /usr/local/bin/rubyOGURA Toshiyuki wrote:> Hello. > > I can''t install rails. > What should I do with this? > > When I try to do > > sudo /usr/local/bin/gem install rails > > the following is displayed and rails can''t be installed. > > /usr/local/bin/gem:3:in `require'': No such file to load -- rubygems > (LoadError) > from /usr/local/bin/gem:3 > > > My system: > Mac OS X Panther (10.3.9) > ruby 1.8.2 (built and installed from source tarball) > rubygems 0.8.11 (installed from source tarball) > mySQL 4.1.14 (installed from OS X package)--- OGURA Toshiyuki
Hi Toshiyuki, Are you in Japan? Brent. On 2005/10/09, at 0:47, OGURA Toshiyuki wrote:> I found that ruby''s path was incorrect. > > I changed /usr/local/bin/gem as follows and successfully installed > rails > on my system. > > 1c1 > < #!/usr/bin/env ruby > --- > >> #!/usr/bin/env /usr/local/bin/ruby >> > > > OGURA Toshiyuki wrote: > >> Hello. >> >> I can''t install rails. >> What should I do with this? >> >> When I try to do >> >> sudo /usr/local/bin/gem install rails >> >> the following is displayed and rails can''t be installed. >> >> /usr/local/bin/gem:3:in `require'': No such file to load -- rubygems >> (LoadError) >> from /usr/local/bin/gem:3 >> >> >> My system: >> Mac OS X Panther (10.3.9) >> ruby 1.8.2 (built and installed from source tarball) >> rubygems 0.8.11 (installed from source tarball) >> mySQL 4.1.14 (installed from OS X package) >> > > --- > OGURA Toshiyuki > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >