I''m a ROR noob who is really frustrated with learning Rails, but I so very much want to wrap my brain around it. I''m running Leopard and I''ve had ROR running for awhile now. I rolled my own using the Hivelogic Leopard instructions. I really thought I had everything set up correctly since I''ve setuo a few test apps and they seemed to be working. Unfortunately, I''ve really screwed something up. My ROR setup is so screwed I can''t even run a rails command from terminal. Is there a way I can dump my current install of ROR and just roll my own all over again? -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote:> Is there a way I can dump my current install of ROR and just roll my > own all over again?Rails is just a Ruby gem (a set of them, really). So assuming your problem is really with Rails and not your Ruby installation, at the command line... 1) gem list Make a copy of everything you''ve got installed. You can safely get rid of most of them to get you back to just Ruby. Do not get rid of ''rubygems-update'' or ''sources''. These will be needed to rebuild your installation. 2) gem uninstall <each gem> When you''re done, make sure you''ve got a working, albeit basic, Ruby installation. Easiest way, IMO, to do that is irb. 3) gem install <each gem you need to reinstall> -v<the specific version you want to install> HTH, Bill -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Before I uninstall/reinstall rails on my Mac, I figure I''ll show the error message I get when I try and create a new rails app in Terminal... maybe it''s an easy fix? when I type "rails new" for example, I get this message: /usr/local/bin/rails:9:in `require'': no such file to load -- rubygems (LoadError) from /usr/local/bin/rails:9 any ideas on what might be wrong? Thanks... On Sun, Dec 6, 2009 at 10:36 AM, bill walton <bwalton.im-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote: > > > Is there a way I can dump my current install of ROR and just roll my > > own all over again? > > Rails is just a Ruby gem (a set of them, really). So assuming your > problem is really with Rails and not your Ruby installation, at the > command line... > > 1) gem list > > Make a copy of everything you''ve got installed. You can safely get rid > of most of them to get you back to just Ruby. Do not get rid of > ''rubygems-update'' or ''sources''. These will be needed to rebuild your > installation. > > 2) gem uninstall <each gem> > > When you''re done, make sure you''ve got a working, albeit basic, Ruby > installation. Easiest way, IMO, to do that is irb. > > 3) gem install <each gem you need to reinstall> -v<the specific version > you want to install> > > HTH, > Bill > > -- > > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Mon, Dec 14, 2009 at 7:52 PM, Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Before I uninstall/reinstall rails on my Mac, I figure I''ll show the error > message I get when I try and create a new rails app in Terminal... maybe > it''s an easy fix? > > when I type "rails new" for example, I get this message: > /usr/local/bin/rails:9:in `require'': no such file to load -- rubygems > (LoadError) > from /usr/local/bin/rails:9 > > any ideas on what might be wrong? Thanks... > > >Jason, if your platform is a Mac, then you should have been up and operational within 10 minutes. Thus, could you provide the following information: ruby -v which ruby gem -v which gem -Conrad> > > > > On Sun, Dec 6, 2009 at 10:36 AM, bill walton <bwalton.im-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote: >> >> > Is there a way I can dump my current install of ROR and just roll my >> > own all over again? >> >> Rails is just a Ruby gem (a set of them, really). So assuming your >> problem is really with Rails and not your Ruby installation, at the >> command line... >> >> 1) gem list >> >> Make a copy of everything you''ve got installed. You can safely get rid >> of most of them to get you back to just Ruby. Do not get rid of >> ''rubygems-update'' or ''sources''. These will be needed to rebuild your >> installation. >> >> 2) gem uninstall <each gem> >> >> When you''re done, make sure you''ve got a working, albeit basic, Ruby >> installation. Easiest way, IMO, to do that is irb. >> >> 3) gem install <each gem you need to reinstall> -v<the specific version >> you want to install> >> >> HTH, >> Bill >> >> -- >> >> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Yeah, I know it''s supposed to be easy on a Mac so imagine my frustration... I know I''m the cause of the problem, I just don''t know what I screwed up since I''m so new at this... *ruby -v* ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0] *which ruby* /usr/local/bin/ruby *gem -v * /usr/local/bin/gem:8:in `require'': no such file to load -- rubygems (LoadError) from /usr/local/bin/gem:8 *which gem* /usr/local/bin/gem thanks so much for the assist.... On Mon, Dec 14, 2009 at 11:04 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Mon, Dec 14, 2009 at 7:52 PM, Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> >> Before I uninstall/reinstall rails on my Mac, I figure I''ll show the error >> message I get when I try and create a new rails app in Terminal... maybe >> it''s an easy fix? >> >> when I type "rails new" for example, I get this message: >> /usr/local/bin/rails:9:in `require'': no such file to load -- rubygems >> (LoadError) >> from /usr/local/bin/rails:9 >> >> any ideas on what might be wrong? Thanks... >> >> >> > Jason, if your platform is a Mac, then you should have been up and > operational within > 10 minutes. Thus, could you provide the following information: > > ruby -v > which ruby > gem -v > which gem > > -Conrad > > >> >> >> >> >> On Sun, Dec 6, 2009 at 10:36 AM, bill walton <bwalton.im-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: >> >>> On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote: >>> >>> > Is there a way I can dump my current install of ROR and just roll my >>> > own all over again? >>> >>> Rails is just a Ruby gem (a set of them, really). So assuming your >>> problem is really with Rails and not your Ruby installation, at the >>> command line... >>> >>> 1) gem list >>> >>> Make a copy of everything you''ve got installed. You can safely get rid >>> of most of them to get you back to just Ruby. Do not get rid of >>> ''rubygems-update'' or ''sources''. These will be needed to rebuild your >>> installation. >>> >>> 2) gem uninstall <each gem> >>> >>> When you''re done, make sure you''ve got a working, albeit basic, Ruby >>> installation. Easiest way, IMO, to do that is irb. >>> >>> 3) gem install <each gem you need to reinstall> -v<the specific version >>> you want to install> >>> >>> HTH, >>> Bill >>> >>> -- >>> >>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
When I changed from leopard to snow leopard I needed to re-install some gems that was using some kind of compiled libraries, such as rmagic and so on. Maybe you have to do the same. 2009/12/15 Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > > Yeah, I know it''s supposed to be easy on a Mac so imagine my frustration... > I know I''m the cause of the problem, I just don''t know what I screwed up > since I''m so new at this... > > *ruby -v* > ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0] > > *which ruby* > /usr/local/bin/ruby > > *gem -v * > /usr/local/bin/gem:8:in `require'': no such file to load -- rubygems > (LoadError) > from /usr/local/bin/gem:8 > > *which gem* > /usr/local/bin/gem > > > thanks so much for the assist.... > > > > > > > > On Mon, Dec 14, 2009 at 11:04 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> On Mon, Dec 14, 2009 at 7:52 PM, Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> >>> Before I uninstall/reinstall rails on my Mac, I figure I''ll show the >>> error message I get when I try and create a new rails app in Terminal... >>> maybe it''s an easy fix? >>> >>> when I type "rails new" for example, I get this message: >>> /usr/local/bin/rails:9:in `require'': no such file to load -- rubygems >>> (LoadError) >>> from /usr/local/bin/rails:9 >>> >>> any ideas on what might be wrong? Thanks... >>> >>> >>> >> Jason, if your platform is a Mac, then you should have been up and >> operational within >> 10 minutes. Thus, could you provide the following information: >> >> ruby -v >> which ruby >> gem -v >> which gem >> >> -Conrad >> >> >>> >>> >>> >>> >>> On Sun, Dec 6, 2009 at 10:36 AM, bill walton <bwalton.im-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: >>> >>>> On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote: >>>> >>>> > Is there a way I can dump my current install of ROR and just roll my >>>> > own all over again? >>>> >>>> Rails is just a Ruby gem (a set of them, really). So assuming your >>>> problem is really with Rails and not your Ruby installation, at the >>>> command line... >>>> >>>> 1) gem list >>>> >>>> Make a copy of everything you''ve got installed. You can safely get rid >>>> of most of them to get you back to just Ruby. Do not get rid of >>>> ''rubygems-update'' or ''sources''. These will be needed to rebuild your >>>> installation. >>>> >>>> 2) gem uninstall <each gem> >>>> >>>> When you''re done, make sure you''ve got a working, albeit basic, Ruby >>>> installation. Easiest way, IMO, to do that is irb. >>>> >>>> 3) gem install <each gem you need to reinstall> -v<the specific version >>>> you want to install> >>>> >>>> HTH, >>>> Bill >>>> >>>> -- >>>> >>>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>>> . >>>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- Bruno Grasselli Blog: http://brunograsselli.com.br Twitter: http://twitter.com/grasselli -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> *gem -v * > /usr/local/bin/gem:8:in `require'': no such file to load -- rubygems > (LoadError) > from /usr/local/bin/gem:8 > > *which gem* > /usr/local/bin/gem >I''m guessing your gem install is broken. I''d try removing/ reinstalling gem. -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You might also look into this: http://www.mamp.info/en/index.html I''ve never used it though. I''m running Leopard 10.5.8 with: $ ruby -v ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] $ gem -v 1.3.5 -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Dec 15, 2009 at 2:23 PM, Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Yeah, I know it''s supposed to be easy on a Mac so imagine my frustration... > I know I''m the cause of the problem, I just don''t know what I screwed up > since I''m so new at this... > > *ruby -v* > ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0] > > *which ruby* > /usr/local/bin/ruby > > *gem -v * > /usr/local/bin/gem:8:in `require'': no such file to load -- rubygems > (LoadError) > from /usr/local/bin/gem:8 > > *which gem* > /usr/local/bin/gem > > > thanks so much for the assist.... > > >OK, let''s try doing the following: 1) change your PATH to look like the following: export PATH=/opt/local/bin:/opt/local/sbin:${PATH} /usr/local/bin 2) install MacPorts by clicking the link Leopard<http://distfiles.macports.org/MacPorts/MacPorts-1.8.1-10.5-Leopard.dmg> 3) open other Terminal window sudo port install sqlite3 sudo gem update --system sudo gem install rails sudo gem install sqilite3-ruby rails cookbook Note: The above is a very minimal setup but it should get you started. Good luck and let me know how it goes, -Conrad> > > > > On Mon, Dec 14, 2009 at 11:04 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> On Mon, Dec 14, 2009 at 7:52 PM, Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> >>> Before I uninstall/reinstall rails on my Mac, I figure I''ll show the >>> error message I get when I try and create a new rails app in Terminal... >>> maybe it''s an easy fix? >>> >>> when I type "rails new" for example, I get this message: >>> /usr/local/bin/rails:9:in `require'': no such file to load -- rubygems >>> (LoadError) >>> from /usr/local/bin/rails:9 >>> >>> any ideas on what might be wrong? Thanks... >>> >>> >>> >> Jason, if your platform is a Mac, then you should have been up and >> operational within >> 10 minutes. Thus, could you provide the following information: >> >> ruby -v >> which ruby >> gem -v >> which gem >> >> -Conrad >> >> >>> >>> >>> >>> >>> On Sun, Dec 6, 2009 at 10:36 AM, bill walton <bwalton.im-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: >>> >>>> On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote: >>>> >>>> > Is there a way I can dump my current install of ROR and just roll my >>>> > own all over again? >>>> >>>> Rails is just a Ruby gem (a set of them, really). So assuming your >>>> problem is really with Rails and not your Ruby installation, at the >>>> command line... >>>> >>>> 1) gem list >>>> >>>> Make a copy of everything you''ve got installed. You can safely get rid >>>> of most of them to get you back to just Ruby. Do not get rid of >>>> ''rubygems-update'' or ''sources''. These will be needed to rebuild your >>>> installation. >>>> >>>> 2) gem uninstall <each gem> >>>> >>>> When you''re done, make sure you''ve got a working, albeit basic, Ruby >>>> installation. Easiest way, IMO, to do that is irb. >>>> >>>> 3) gem install <each gem you need to reinstall> -v<the specific version >>>> you want to install> >>>> >>>> HTH, >>>> Bill >>>> >>>> -- >>>> >>>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>>> . >>>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Dec 15, 2009 at 9:29 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Dec 15, 2009 at 2:23 PM, Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> >> >> Yeah, I know it''s supposed to be easy on a Mac so imagine my >> frustration... I know I''m the cause of the problem, I just don''t know what >> I screwed up since I''m so new at this... >> >> *ruby -v* >> ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0] >> >> *which ruby* >> /usr/local/bin/ruby >> >> *gem -v * >> /usr/local/bin/gem:8:in `require'': no such file to load -- rubygems >> (LoadError) >> from /usr/local/bin/gem:8 >> >> *which gem* >> /usr/local/bin/gem >> >> >> thanks so much for the assist.... >> >> >> > OK, let''s try doing the following: > > 1) change your PATH to look like the following: > > export PATH=/opt/local/bin:/opt/local/sbin:${PATH} > > 2) install MacPorts by clicking the link > > Leopard<http://distfiles.macports.org/MacPorts/MacPorts-1.8.1-10.5-Leopard.dmg> > > 3) open other Terminal window > > sudo port install sqlite3 > sudo gem update --system > sudo gem install rails > sudo gem install sqilite3-ruby > rails cookbook > > Note: The above is a very minimal setup but it should get you started. > > Good luck and let me know how it goes, > > -Conrad > > >> >> >> >> >> On Mon, Dec 14, 2009 at 11:04 PM, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: >> >>> On Mon, Dec 14, 2009 at 7:52 PM, Jason Bray <jaybray76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>>> >>>> Before I uninstall/reinstall rails on my Mac, I figure I''ll show the >>>> error message I get when I try and create a new rails app in Terminal... >>>> maybe it''s an easy fix? >>>> >>>> when I type "rails new" for example, I get this message: >>>> /usr/local/bin/rails:9:in `require'': no such file to load -- rubygems >>>> (LoadError) >>>> from /usr/local/bin/rails:9 >>>> >>>> any ideas on what might be wrong? Thanks... >>>> >>>> >>>> >>> Jason, if your platform is a Mac, then you should have been up and >>> operational within >>> 10 minutes. Thus, could you provide the following information: >>> >>> ruby -v >>> which ruby >>> gem -v >>> which gem >>> >>> -Conrad >>> >>> >>>> >>>> >>>> >>>> >>>> On Sun, Dec 6, 2009 at 10:36 AM, bill walton <bwalton.im-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: >>>> >>>>> On Sat, 2009-12-05 at 14:08 -0800, jaybray wrote: >>>>> >>>>> > Is there a way I can dump my current install of ROR and just roll my >>>>> > own all over again? >>>>> >>>>> Rails is just a Ruby gem (a set of them, really). So assuming your >>>>> problem is really with Rails and not your Ruby installation, at the >>>>> command line... >>>>> >>>>> 1) gem list >>>>> >>>>> Make a copy of everything you''ve got installed. You can safely get rid >>>>> of most of them to get you back to just Ruby. Do not get rid of >>>>> ''rubygems-update'' or ''sources''. These will be needed to rebuild your >>>>> installation. >>>>> >>>>> 2) gem uninstall <each gem> >>>>> >>>>> When you''re done, make sure you''ve got a working, albeit basic, Ruby >>>>> installation. Easiest way, IMO, to do that is irb. >>>>> >>>>> 3) gem install <each gem you need to reinstall> -v<the specific version >>>>> you want to install> >>>>> >>>>> HTH, >>>>> Bill >>>>> >>>>> -- >>>>> >>>>> 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>>>> . >>>>> To unsubscribe from this group, send email to >>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>>>> . >>>>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>>> . >>>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.