I am extremely new to RoR, I am. I am slowly but surely learning Ruby and the Rails concepts but the environment is confusing. I have an application that was written for my company in RoR. It is on a ubuntu server that is going to be shut down. I want to move the app to my two Macs (one Leopard and one Snow Leopard). We want to keep the app to demo a business concept but it can run locally exclusively (localhost). So I want to move it to my Macs from the shared Ubuntu server. I am concerned about Rails and Ruby backwards compatibility; and if there are any particular sand traps please let me know. Also why does gem list --local seem to indicate the Macs have multiple versions? Is this bad? And what should I do to insure I have compatible Mac RoRs for running the app. The current Ubuntu is: gem list --local *** LOCAL GEMS *** actionmailer (2.2.2) actionpack (2.2.2) activerecord (2.2.2) activeresource (2.2.2) activesupport (2.2.2) builder (2.1.2) capistrano (2.5.4) curb (0.3.2) daemons (1.0.10) fastthread (1.0.1) GData (0.0.4) highline (1.5.0) hoe (1.9.0) hpricot (0.6.164) mysql (2.7) net-scp (1.0.2) net-sftp (2.0.2) net-ssh (2.0.10) net-ssh-gateway (1.0.1) parseexcel (0.5.2) passenger (2.0.6) rack (0.9.1) rails (2.2.2) rak (1.0) rake (0.8.4, 0.8.3) rcov (0.8.1.2.0) roo (1.2.3) rubyforge (1.0.3) rubyzip (0.9.1) uuidtools (1.0.7) ruby - v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] --------------- The Leopard Mac: gem list --local *** LOCAL GEMS *** actionmailer (2.3.8, 2.2.2, 1.3.6) actionpack (2.3.8, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.8, 2.2.2, 1.15.6) activeresource (2.3.8, 2.2.2) activesupport (2.3.8, 2.2.2, 1.4.4) acts_as_ferret (0.4.1) capistrano (2.0.0) cgi_multipart_eof_fix (2.5.0, 2.2) daemons (1.0.9, 1.0.7) dnssd (0.6.0) fastthread (1.0.1, 1.0) fcgi (0.8.7) ferret (0.11.4) gem_plugin (0.2.3, 0.2.2) highline (1.2.9) hpricot (0.6) libxml-ruby (0.9.5, 0.3.8.4) mongrel (1.1.4, 1.0.1) needle (1.3.0) net-sftp (1.1.0) net-ssh (1.1.2) rack (1.1.0) rails (2.3.8, 2.2.2, 1.2.6) rake (0.8.4, 0.7.3) RedCloth (3.0.4) ruby-openid (1.1.4) ruby-yadis (0.3.4) rubygems-update (1.3.1) rubynode (0.1.3) sqlite3-ruby (1.2.1) termios (0.9.4) rails -v Rails 2.3.8 ruby -v ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] --------------- The Snow Leopard Mac: gem list --local *** LOCAL GEMS *** actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6) actionpack (2.3.8, 2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6) activeresource (2.3.8, 2.3.5, 2.2.2) activesupport (2.3.8, 2.3.5, 2.2.2, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.1.0, 1.0.1) rails (2.3.8, 2.3.5, 2.2.2, 1.2.6) rake (0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4) rails -v Rails 2.3.8 ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] -- Posted via http://www.ruby-forum.com/. -- 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.
Robert Walker
2010-Dec-06 19:27 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966620:> I am extremely new to RoR, I am. I am slowly but surely learning Ruby > and the Rails concepts but the environment is confusing. > > I have an application that was written for my company in RoR. It is on a > ubuntu server that is going to be shut down. I want to move the app to > my two Macs (one Leopard and one Snow Leopard). We want to keep the app > to demo a business concept but it can run locally exclusively > (localhost). So I want to move it to my Macs from the shared Ubuntu > server. I am concerned about Rails and Ruby backwards compatibility; and > if there are any particular sand traps please let me know. Also why does > gem list --local seem to indicate the Macs have multiple versions? Is > this bad? And what should I do to insure I have compatible Mac RoRs for > running the app.Use RVM and setup exactly the same environment that is currently on the Ubuntu box and all should be well with the world: http://rvm.beginrescueend.com/ -- Posted via http://www.ruby-forum.com/. -- 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.
Thanks. I found the rvm and installed it. I think... xxxxiMac:~ uxxx$ rvm gemdir /Library/Ruby/Gems/1.8 But this is sooo confusing. I do not think this is what I want. I do not want to switch around from different ruby versions. In fact, the version I have on my iMac is the same as the one on my Ubuntu server. 1.8.7 I would be happy to just delete the old and newer versions of rails and just keep the 2.2.2 version. I don''t think I need the tricked-out rvm. Can you help me figure out how to remove the other versions of Rails? R -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-06 21:37 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966660:> Thanks. I found the rvm and installed it. I think... > > xxxxiMac:~ uxxx$ rvm gemdir > /Library/Ruby/Gems/1.8 > > But this is sooo confusing. I do not think this is what I want.But you are probably wrong.> I do not > want to switch around from different ruby versions. In fact, the version > I have on my iMac is the same as the one on my Ubuntu server. 1.8.7But RVM also lets you switch between different gemsets, which *is* what you want. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.
Phew, this is getting even more confusing. Why do I "want to switch between gemsets". I want the version of rail on my Mac to match the Ubuntu which is 2.2.2! I want the other versions of rails to go bye-bye. How do I do that? Why would your *think* I want to switch? -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-06 22:23 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Please quote when replying. Rob Th wrote in post #966668:> Phew, this is getting even more confusing. Why do I "want to switch > between gemsets". >So that you can have your Ruby interpreter see only the gems you want it to see.> I want the version of rail on my Mac to match the Ubuntu which is 2.2.2! > > I want the other versions of rails to go bye-bye. How do I do that?By using RVM or Bundler. Take your pick. (There are other ways, but those tools make life simpler than the other options.)> > Why would your *think* I want to switch?Because that''s exactly what you''re saying you want. You''ve said "I want my Rails application to see these particular gems, and no others". That''s basically the definition of a defined gemset. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.
Sorry, I interpreted you remarks as "switch" back and forth. I want to ''blow away'' - remove - delete all rails except 2.2.2. Ok, so how do I use rvm to remove the other versions of rails from Macs? -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-06 23:22 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Please quote when replying! Rob Th wrote in post #966685:> Sorry, I interpreted you remarks as "switch" back and forth. I want to > ''blow away'' - remove - delete all rails except 2.2.2. > > "RVM also lets you switch between different gemsets" usually means > switch between.Yes. It''s usually best to have a separate gemset for each Rails application. That way, each application sees only the gems it needs.> I just want one version.No, you probably want one version *per application*.> I still think rvm is confusing.It''s a lot less confusing that any of the other gem management solutions I''m aware of. Try it!> > Ok, so how do I use rvm to remove the other versions of rails from Macs?You don''t need to. Just declare a gemset that doesn''t include the gems you don''t want.> Or is there a another way?Well, you needn''t usually worry too much. Gems are designed so that multiple versions can coexist, and Rails applications pick the version they want in the environment.rb file. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.
PLEASE, do not tell me what I want, I WANT to get rid of all versions of rails besides 2.2.2. This is the infuriating thing about RoR. People tell me what I want when I tell them what I want and what they want me to want is not want I want. jeez. -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-06 23:37 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
For the third time, please quote when replying. Rob Th wrote in post #966691:> PLEASE, do not tell me what I want, I WANT to get rid of all versions of > rails besides 2.2.2. > > This is the infuriating thing about RoR. People tell me what I want when > I tell them what I want and what they want me to want is not want I > want. jeez.You yourself said you''re new to Ruby and Rails. Please try to understand the usual Ruby and Rails ways of doing things before you decide to do things differently. That means understanding how to manage gems properly, not just deleting things you don''t understand. You posted here asking for advice. Don''t ignore the advice you''re getting because it isn''t exactly what you wanted to hear. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.
Give me a break. I asked a question. -- Posted via http://www.ruby-forum.com/. -- 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.
To uninstall a gem version you have 2 options: a) Declare the version at the end of the uninstall command: gem uninstall my_gem -v=x.x.x (You replace the ''x.x.x'' with the version you want to remove, OR b) Run the uninstall command without version specified: gem uninstall my_gem Option b) will prompt you which version you want to remove out of all the versions you have loaded but if you only have one version it will go ahead and remove just that one without asking. Just a note about the ''what you wants''. I don''t know if it will be your case but I''m not a native English speaker and when I first talked to native speakers it bothered me a lot the ''no, what you want is...'', then I realized that it''s just their way of saying ''what you probably should do is...'', or I take it that way. It has never bothered me since I saw it that way. -- 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.
Thanks pepe, RobsMacAir:~ rob$ rails -v Rails 2.3.8 RobsMacAir:~ rob$ gem uninstall my_gem -v=2.3.8 ERROR: While executing gem ... (Gem::InstallError) Unknown gem my_gem = 2.3.8 RobsMacAir:~ rob$ ?? I want to uninstall everything besides 2.2.2 -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-07 01:21 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
pepe wrote in post #966708: [...]> Just a note about the ''what you wants''. I don''t know if it will be > your case but I''m not a native English speaker and when I first talked > to native speakers it bothered me a lot the ''no, what you want is...'', > then I realized that it''s just their way of saying ''what you probably > should do is...'', or I take it that way. It has never bothered me > since I saw it that way.Yes, that''s how I meant it. Sorry for any misunderstanding. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Ok, but do you know how to actually erase the old versions of rails. The last suggestion did not work as you can see from my terminal session. -- Posted via http://www.ruby-forum.com/. -- 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.
Colin Law
2010-Dec-07 08:25 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On 7 December 2010 01:06, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Thanks pepe, > > > RobsMacAir:~ rob$ rails -v > Rails 2.3.8 > RobsMacAir:~ rob$ gem uninstall my_gem -v=2.3.8 > ERROR: While executing gem ... (Gem::InstallError) > Unknown gem my_gem = 2.3.8You have to put the name of the gem you want to uninstall instead of my_gem. That was just an example. Are you sure you are cut out for this? In your case you want to uninstall the rails gem, so gem uninstall rails. Dependant on which environment you are running in you may have to use sudo on the front. Do that if you used sudo to install it. gem list will show all the gems you have installed by the way. Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks, Colin. I live in literalville. I tried as I think you suggested and got this. Select gem to uninstall: 1. rails-2.3.8 2. rails-2.3.8 3. All versions> 3Remove executables: rails in addition to the gem? [Yn] Removing rails Successfully uninstalled rails-2.3.8 Remove executables: rails in addition to the gem? [Yn] Removing rails Successfully uninstalled rails-2.3.8 RobsiMac:~ rob$ rails -v -bash: /usr/bin/rails: No such file or directory RobsiMac:~ rob$ gem list --local *** LOCAL GEMS *** actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6) actionpack (2.3.8, 2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6) activeresource (2.3.8, 2.3.5, 2.2.2) activesupport (2.3.8, 2.3.5, 2.2.2, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.1.0, 1.0.1) rails (2.3.5, 2.2.2, 1.2.6) rake (0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) rvm (1.1.3) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4) RobsiMac:~ rob$ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] RobsiMac:~ rob$ rails -v -bash: rails: command not found I expected after deinstalling rails 2.3.8 gem list local would find the other rails versions. But did this blow away all rails? I admit I am in learning mode. I thought this was a place to help out beginners. I have been programming in Assembler, C, and tons of SQL and now some PHP and writing shell scripts since the late 70s, and the complexity and impreciseness of the books and tutorials are amazing RoR, Is there a way to just go into the file system, and delete all the directories for Rails and just do a fresh reinstall. I cannot figure out rvm, -- Posted via http://www.ruby-forum.com/. -- 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.
Colin Law
2010-Dec-07 13:45 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On 7 December 2010 13:25, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Thanks, Colin. I live in literalville. > > I tried as I think you suggested and got this. > > > Select gem to uninstall: > 1. rails-2.3.8 > 2. rails-2.3.8 > 3. All versions >> 3 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > RobsiMac:~ rob$ rails -v > -bash: /usr/bin/rails: No such file or directory > RobsiMac:~ rob$ gem list --local > > *** LOCAL GEMS *** > > actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6) > actionpack (2.3.8, 2.3.5, 2.2.2, 1.13.6) > actionwebservice (1.2.6) > activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6) > activeresource (2.3.8, 2.3.5, 2.2.2) > activesupport (2.3.8, 2.3.5, 2.2.2, 1.4.4) > acts_as_ferret (0.4.3) > capistrano (2.5.2) > cgi_multipart_eof_fix (2.5.0) > daemons (1.0.10) > dnssd (0.6.0) > fastthread (1.0.1) > fcgi (0.8.7) > ferret (0.11.6) > gem_plugin (0.2.3) > highline (1.5.0) > hpricot (0.6.164) > libxml-ruby (1.1.2) > mongrel (1.1.5) > needle (1.3.0) > net-scp (1.0.1) > net-sftp (2.0.1, 1.1.1) > net-ssh (2.0.4, 1.1.4) > net-ssh-gateway (1.0.0) > rack (1.1.0, 1.0.1) > rails (2.3.5, 2.2.2, 1.2.6)Note the above> rake (0.8.3) > RedCloth (4.1.1) > ruby-openid (2.1.2) > ruby-yadis (0.3.4) > rubynode (0.1.5) > rvm (1.1.3) > sqlite3-ruby (1.2.4) > termios (0.9.4) > xmpp4r (0.4) > RobsiMac:~ rob$ ruby -v > ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] > RobsiMac:~ rob$ rails -v > -bash: rails: command not found > > I expected after deinstalling rails 2.3.8 gem list local would find the > other rails versions. But did this blow away all rails?No, 2.3.5, 2.2.2 and 1.2.6 are still installed as noted above> > I admit I am in learning mode. I thought this was a place to help out > beginners. I have been programming in Assembler, C, and tons of SQL and > now some PHP and writing shell scripts since the late 70s, and the > complexity and impreciseness of the books and tutorials are amazing RoR,I can''t say that I agree with you here. What _is_ confusing is that there are so many out of date tutorials and mailing list archive entries that are found when searching for data on rails. This is inevitable unfortunately if you want to experiment with fast moving technologies like Rails. All the ones you mention have been little changed for decades so the documentation is stable.> > Is there a way to just go into the file system, and delete all the > directories for Rails and just do a fresh reinstall. I cannot figure out > rvm,I don''t understand why you want to that. What is the problem you are having? Having multiple versions of things is not an issue provided you have the versions you need and they are specified in your app. It will then use those versions. Looking back at the OP I see that you are trying to get an existing app running. Why not just concentrate on that and sort out the problems as you come to them? Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
"No, 2.3.5, 2.2.2 and 1.2.6 are still installed as noted above" Whoops. Yeah I bought two books on RoR and google like crazy to find help and information. The tutorials online assume one is pretty much up to speed kind of like a cooking show half way in (what white sauce we just made?) The books deal with programming fairly well but not the config stuff - especially Mac. I would just feel 100% more confident going into getting this app running if I knew the "environment" was clean and pure. And only one version of the software loaded. As you mention this stuff changes a lot. For example why is rails -v not working. As you said the command left the other versions. BTW, I do not agree that this is merely a time issue. I programmed on C on a PDP when there was exactly one book. Writing and compiling C is a piece of cake compared to RoR. So I appreciate asking "why", but I would just love a "how". How do I blow away all RoR completely and then I think a gem install of version 2.2.2 would work. -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-07 14:12 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966868: [...]> The books deal with programming fairly well but not the > config stuff - especially Mac.Then you''re reading the wrong books. Most Rails developers work on Mac OS.> > I would just feel 100% more confident going into getting this app > running if I knew the "environment" was clean and pure. And only one > version of the software loaded.Right. So create a pristine gemset with RVM for your project and have done with it. [...]> Why is there such a resistance to blowing away - deleting - RoR? Is it > that no one actually knows how to do it? Or is there some sort of > religious thing about deleting old versions of Rails?Neither. We do know how to do it, and several of us have told you how. But we have also told you that it unnecessary in your particular situation -- gems are designed to coexist in multiple versions, and anyway RVM can make a pristine environment for you any time you want. Why is there such a resistance to following the advice of more experienced developers? Really, we *do* know what we''re talking about here, and by your own admission, you don''t. So follow our advice to get up to speed with how Rails usually works, then go experiment all you like! Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> RobsMacAir:~ rob$ gem uninstall my_gem -v=2.3.8 > ERROR: While executing gem ... (Gem::InstallError) > Unknown gem my_gem = 2.3.8Sorry, I forgot to tell the group to e-mail me updates on the post. I''m sorry, Colin is right, what I wrote was just an example.> I expected after deinstalling rails 2.3.8 gem list local would find the > other rails versions. But did this blow away all rails?The gem command is being cautious. It doesn''t want to delete anything but the absolutely necessary. I personally would not want to remove a gem and find out that the command blew away 10 other gems just because they are either required by the one I just deleted or compatible with it. What if I wanted to keep them because they serve me for other purposes? Removing gems is a little boring but it shouldn''t take you more than 10 or 15 minutes to remove all the ones you need to remove once you get the hang of it.> I admit I am in learning mode. I thought this was a place to help out > beginners.Absolutely. I have had great help in this forum from day 1.>> I have been programming in Assembler, C, and tons of SQL and >> now some PHP and writing shell scripts since the late 70s, and the >> complexity and impreciseness of the books and tutorials are amazing RoR,> I can''t say that I agree with you here. What _is_ confusing is that >there are so many out of date tutorials and mailing list archive >entries that are found when searching for data on rails. This is >inevitable unfortunately if you want to experiment with fast moving >technologies like Rails. All the ones you mention have been little >changed for decades so the documentation is stable.+1 with Colin here> Is there a way to just go into the file system, and delete all the > directories for Rails and just do a fresh reinstall. I cannot figure out > rvm,After reading an entry on the internet I tried just that a week or so ago as the entry specified that it _might_ be possible. However, after I blew away all folders in the gem directory and asked for the gem list all the gems were still there and I had to run the commands manually anyway to make sure everything was gone as it should. I didn''t want to have problems during re-installation. You''re going to need to uninstall the gems manually and probably selectively I''m afraid, but if you find a way to do it all at once, please let me (us) know. -- 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.
> -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > > Sent from my iPhoneYou are not helpful. Please stop. -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
pepe, "Removing gems is a little boring but it shouldn''t take you more than 10 or 15 minutes to remove all the ones you need to remove once you get the hang of it." How, I tried the RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.8 Select gem to uninstall: 1. rails-2.3.8 2. rails-2.3.8 3. All versions> 3Remove executables: rails in addition to the gem? [Yn] Removing rails Successfully uninstalled rails-2.3.8 Remove executables: rails in addition to the gem? [Yn] Removing rails Successfully uninstalled rails-2.3.8 RobsiMac:~ rob$ rails -v -bash: /usr/bin/rails: No such file or directory I seem to have messed up somehow. (i.e. I expected after running "sudo gem uninstall rails -v 2.3.8" I would get "rails -v" saying the next most current version.) It seems like it uninstalled more than 2.3.8 but on gem list there are version still around there. Eww. -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-07 14:43 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966879:>> -- >> Marnen Laibow-Koser >> http://www.marnen.org >> marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org >> >> Sent from my iPhone > > You are not helpful. Please stop.You know, I had decided I wasn''t going to post further answers here, but then it seemed like you actually had started listening to what people were telling you. I guess I was wrong. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Laibow-Koser
2010-Dec-07 14:47 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966881:> pepe, > > "Removing gems is a little boring but it shouldn''t take you more than > 10 or 15 minutes to remove all the ones you need to remove once you > get the hang of it." > > How, I tried the > RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.8 > > Select gem to uninstall: > 1. rails-2.3.8 > 2. rails-2.3.8 > 3. All versions >> 3 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > RobsiMac:~ rob$ rails -v > -bash: /usr/bin/rails: No such file or directory > > I seem to have messed up somehow. (i.e. I expected after running "sudo > gem uninstall rails -v 2.3.8" I would get "rails -v" saying the next > most current version.) > > It seems like it uninstalled more than 2.3.8 but on gem list there are > version still around there. Eww.I recently had this happen as well. If I tell you what I think is going on, will you actually pay attention, or will you just give me the brush-off again? If the latter, I''m not going to waste my time writing an explanation; if the former, I''ll be happy to. Your choice; just let me know how you''d like to do things. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Robert Walker
2010-Dec-07 14:48 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966852:> I expected after deinstalling rails 2.3.8 gem list local would find the > other rails versions. But did this blow away all rails? > > I admit I am in learning mode. I thought this was a place to help out > beginners. I have been programming in Assembler, C, and tons of SQL and > now some PHP and writing shell scripts since the late 70s, and the > complexity and impreciseness of the books and tutorials are amazing RoR, > > Is there a way to just go into the file system, and delete all the > directories for Rails and just do a fresh reinstall. I cannot figure out > rvm,Hopefully this will help clear things up for you. The installation of Ruby on Rails on Mac OS X is a bit different than on other platforms. A version of both Ruby and Rails are pre-installed either with the operating system or Xcode (not sure which since I always install Xcode on all my systems). Some (usually older) versions of a number of gems are installed in the Mac OS X system library (/System/Library/). The gem command (even using sudo) cannot be used to uninstall these system gems. It might be possible to use the root user to delete the framework that contains those gems, but I don''t know what you might break in doing so. With RVM you can effectively "replace" all the pre-installed system gems with gemsets that you can fully manage. Installing and learning RVM is actually easier than trying to manage the system installed gems (including the Rails ones). -- Posted via http://www.ruby-forum.com/. -- 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.
> How, I tried the > RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.8 > > Select gem to uninstall: > 1. rails-2.3.8 > 2. rails-2.3.8 > 3. All versions> 3 > > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > RobsiMac:~ rob$ rails -v > -bash: /usr/bin/rails: No such file or directory > > I seem to have messed up somehow. (i.e. I expected after running "sudo > gem uninstall rails -v 2.3.8" I would get "rails -v" saying the next > most current version.)I believe the problem might lie in leaving the ''='' sign out of the command: gem uninstall rails -v=2.3.8 (what I would have typed) vs. gem uninstall rails -v 2.3.8 (what you actually typed) I''m not sure, but *maybe* you had 2 different versions of 2.3.8 installed (if that is possible)? I guess it''s possible that when you answered with option 3 it went out and blanketed out the rails versions and now you don''t have any of them. :( If that is the case and since you need rails installed you can install it by just specifying the version you want: gem install rails -v=x.x.x (replace the x.x.x with the version you need). That should install any other dependencies it might need if you still don''t have them. If you have problems or more questions I think it might be helpful if you post the list of gems you have now to give us a better idea about what mismatches you could have. There is something you should know I am not sure you are aware of. Different versions of Ruby and Rails have different dependencies. For example, a given version of rails might need a minimum (and maybe maximum) version of activerecord. Just having _any_ version of activerecord will not do. In my opinion the best thing you could do if you want to have a "clean" environment is remove everything you have and install what you need. The process *shouldn''t* be difficult. I believe the prior mentions to RVM were meant to indicate to you that there are ways of keeping separate "environments" if you need them. For example, you might have an application that runs under Ruby 1.8.6 and Rails 2.3.5 and another one under the latest Ruby and Rails versions. The activerecord and related gems you need are going to be different for sure for between both environments. RVM will help you to keep those 2 environments separate. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Robert Walker wrote in post #966886:> Rob Th wrote in post #966852: >> I expected after deinstalling rails 2.3.8 gem list local would find the >> other rails versions. But did this blow away all rails? >> >> I admit I am in learning mode. I thought this was a place to help out >> beginners. I have been programming in Assembler, C, and tons of SQL and >> now some PHP and writing shell scripts since the late 70s, and the >> complexity and impreciseness of the books and tutorials are amazing RoR, >> >> Is there a way to just go into the file system, and delete all the >> directories for Rails and just do a fresh reinstall. I cannot figure out >> rvm, > > Hopefully this will help clear things up for you. The installation of > Ruby on Rails on Mac OS X is a bit different than on other platforms. A > version of both Ruby and Rails are pre-installed either with the > operating system or Xcode (not sure which since I always install Xcode > on all my systems). > > Some (usually older) versions of a number of gems are installed in the > Mac OS X system library (/System/Library/). The gem command (even using > sudo) cannot be used to uninstall these system gems. > > It might be possible to use the root user to delete the framework that > contains those gems, but I don''t know what you might break in doing so. > > With RVM you can effectively "replace" all the pre-installed system gems > with gemsets that you can fully manage. Installing and learning RVM is > actually easier than trying to manage the system installed gems > (including the Rails ones).I tried rvm and I just don''t get it. Sorry. I think you are right. I think Xcode installed some of this. Actually I do not recall any other install. I was pretty surprised to see all these versions. Not sure where they came from. This whole RoR thing makes me nervous. I own a bunch of heavy equipment and I have operators and mechanics. Most RoR types are users, not mechanics. I think I am leaking hydro and need a wrencher not an operator. :) I appreciate your help. I did de-intall xcode last night using the script from Apple and it did not clean this up either. Can you explain why after doing a de-install of 2.3.8, ruby -v says no ruby? See above. If I reinstall Mac OS do you think that would make this go away and I could do a new install with just ruby 1.8.7 and rails 2.2.2. -- Posted via http://www.ruby-forum.com/. -- 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.
pepe wrote in post #966887: Pepe, Thanks.> > If you have problems or more questions I think it might be helpful if > you post the list of gems you have now to give us a better idea about > what mismatches you could have.RobsiMac:~ rob$ gem list --local *** LOCAL GEMS *** actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6) actionpack (2.3.8, 2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6) activeresource (2.3.8, 2.3.5, 2.2.2) activesupport (2.3.8, 2.3.5, 2.2.2, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.1.0, 1.0.1) rails (2.3.5, 2.2.2, 1.2.6) rake (0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) rvm (1.1.3) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4) RobsiMac:~ rob$ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] RobsiMac:~ rob$ rails -v -bash: rails: command not found> > There is something you should know I am not sure you are aware of. > Different versions of Ruby and Rails have different dependencies. For > example, a given version of rails might need a minimum (and maybe > maximum) version of activerecord. Just having _any_ version of > activerecord will not do.Thanks. I am pretty sure this is true. Some people think that is a good thing. I am not so sure.> > In my opinion the best thing you could do if you want to have a > "clean" environment is remove everything you have and install what you > need.That is where I got started. But instead people are trying to convince me to keep multiple versions, but if this is screwed up why?>The process *shouldn''t* be difficult.I wish I could figure out how. Not just what tool to work.> > I believe the prior mentions to RVM were meant to indicate to you that > there are ways of keeping separate "environments" if you need them.No kidding.> For example, you might have an application that runs under Ruby 1.8.6 > and Rails 2.3.5 and another one under the latest Ruby and Rails > versions. The activerecord and related gems you need are going to be > different for sure for between both environments. RVM will help you to > keep those 2 environments separate.I only need one environment ruby 1.8.7 and rails 2.2.2. Pepe, thanks again. -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-07 15:33 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966894: [...]> I tried rvm and I just don''t get it. Sorry.What don''t you get? Perhaps if you were to say what trouble you''re having, we could help. But don''t just give up on it.> > I think you are right. I think Xcode installed some of this.Correct. Ruby and Rails come with the Mac OS development tools, which are installed with Xcode.> Actually I > do not recall any other install. I was pretty surprised to see all these > versions. Not sure where they came from. This whole RoR thing makes me > nervous.In what respect?> I own a bunch of heavy equipment and I have operators and > mechanics. Most RoR types are users, not mechanics. I think I am > leaking hydro and need a wrencher not an operator. :)And when you get a mechanic, you ignore his advice. :)> > I appreciate your help. I did de-intall xcode last night using the > script from Apple and it did not clean this up either.Yikes! Now you have more problems. You need the Mac OS developer tools (in particular a C compiler) to be able to use Ruby effectively. You may have deleted your C compiler by removing Xcode. What do you get if you type gcc -v ?> > Can you explain why after doing a de-install of 2.3.8, ruby -v says no > ruby? See above.What deinstallation command did you use? It wouldn''t surprise me if removing Xcode removes Ruby.> > If I reinstall Mac OS do you think that would make this go away and I > could do a new install with just ruby 1.8.7 and rails 2.2.2.Probably not. Instead, learn to remove the gems you have, or better yet, set up RVM (help is available if you need it) and learn to use it. If this is beyond you, you''re not ready to work with Rails. That''s not meant as an insult of any sort, merely a statement of fact. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.
Walter Lee Davis
2010-Dec-07 15:36 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On Dec 7, 2010, at 10:25 AM, Rob Th wrote:> Can you explain why after doing a de-install of 2.3.8, ruby -v says no > ruby? See above.Try which ruby in Terminal to see if you don''t in fact have a Ruby binary in your path. Then try locate ruby to find one. Correct your path as necessary, and try again.> > If I reinstall Mac OS do you think that would make this go away and I > could do a new install with just ruby 1.8.7 and rails 2.2.2.I think if you re-image this machine (which will leave you with Apple''s Ruby 1.8.6), then go to the first chapter of version 3 of the Agile book (which does deal with Rails 2, and has a nice install section to it) you will be able to install the precise version of Rails you desire, by using sudo gem install rails -v 2.2.2. I believe Ruby 1.8.7 came well after Rails 2.2, so you would probably be chasing errors in Rails if you tried to run it that way. But to reiterate what others have said over and over here -- RVM is designed from its very foundation to support precisely what you state you want to do. You have a 2.2.2 application you want to get up and running and start working on. We are all trying to reach out to you and offer the slender twig of RVM because we also suspect you want to do this without hobbling your machine to more modern versions of the Rails framework. Once you do get this application up and running, you''re probably going to want to develop something else in Rails 3, and that requires at minimum 1.8.7 of Ruby. Walter -- 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.
Colin Law
2010-Dec-07 15:47 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On 7 December 2010 14:32, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> pepe, > > "Removing gems is a little boring but it shouldn''t take you more than > 10 or 15 minutes to remove all the ones you need to remove once you > get the hang of it." > > How, I tried the > RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.8 > > Select gem to uninstall: > 1. rails-2.3.8 > 2. rails-2.3.8 > 3. All versions >> 3 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing railsI think the above may be why rails -v no longer works, I think you have removed the executable ''rails'' aswell as the gem rails 2.3.8. I don''t know how this all works on a mac though> Successfully uninstalled rails-2.3.8 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > RobsiMac:~ rob$ rails -v > -bash: /usr/bin/rails: No such file or directory > > I seem to have messed up somehow. (i.e. I expected after running "sudo > gem uninstall rails -v 2.3.8" I would get "rails -v" saying the next > most current version.) > > It seems like it uninstalled more than 2.3.8 but on gem list there are > version still around there. Eww. > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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@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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2010-Dec-07 15:52 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On 7 December 2010 15:47, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 7 December 2010 14:32, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> pepe, >> >> "Removing gems is a little boring but it shouldn''t take you more than >> 10 or 15 minutes to remove all the ones you need to remove once you >> get the hang of it." >> >> How, I tried the >> RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.8 >> >> Select gem to uninstall: >> 1. rails-2.3.8 >> 2. rails-2.3.8 >> 3. All versions >>> 3 >> Remove executables: >> rails >> >> in addition to the gem? [Yn] >> Removing rails > > I think the above may be why rails -v no longer works, I think you > have removed the executable ''rails'' aswell as the gem rails 2.3.8. I > don''t know how this all works on a mac thoughI think I must concur with the others here that you have got things in rather a mess and the easiest thing would be to use rvm to sort it out. If however you have uninstalled the development tools (compilers and so an as Marmen fears) then you will need to get them back first. Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rob Th
2010-Dec-07 16:16 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
Colin Law wrote in post #966901:> I don''t know how this all works on a mac thoughThat makes two of us. At least two of us that know what we don''t know. Installing xcode is not an issue. It is easy. I pondered that question:> 1. rails-2.3.8 > 2. rails-2.3.8 > 3. All versions >> 3 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing railsIt just not make sense to me that if you are removing a version of software you would keep the executable. Right? I have Agile book and the O''reilly Learning book and can follow those to try an install fresh if I can just make sure I am working with a clean slate. Seem like as pepe mentioned there are lots of dependencies. I am not sure how this Mac or the other one got so many versions of rails on it. It just makes me nervous. I never let a mechanic touch my equipment unless I understand what he is going to do and most of the time I just do it myself. -- Posted via http://www.ruby-forum.com/. -- 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.
Rob Th
2010-Dec-07 16:20 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
Walter Davis wrote in post #966900:> On Dec 7, 2010, at 10:25 AM, Rob Th wrote: > >> Can you explain why after doing a de-install of 2.3.8, ruby -v says no >> ruby? See above. > > Try which ruby in Terminal to see if you don''t in fact have a Ruby > binary in your path. Then try locate ruby to find one. Correct your > path as necessary, and try again. > >> >> If I reinstall Mac OS do you think that would make this go away and I >> could do a new install with just ruby 1.8.7 and rails 2.2.2. > > I think if you re-image this machineWhat is re-image?> Once you do get this application up and running, > you''re probably going to want to develop something else in Rails 3, > and that requires at minimum 1.8.7 of Ruby. > > WalterNever, this is the one and only rails app ever. I do want to get 1.8.7 on this machine and rails 2.2.2 to match the source machine. I would actually like to eventually find a programmer to convert it off rails. -- Posted via http://www.ruby-forum.com/. -- 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.
> Never, this is the one and only rails app ever. I do want to get 1.8.7 > on this machine and rails 2.2.2 to match the source machine. > > I would actually like to eventually find a programmer to convert it off > rails.If you are thinking about getting a programmer anyway maybe it might be wiser if you get one now to get your RoR environment straight and your application running as it should. If what you are unhappy about is the trouble you''re having with it, you not being an expert, but the application is doing what it is supposed to at your satisfaction when the setup is correct I think converting the application might be a mistake. You probably will end up spending a lot more money rewriting the application than paying somebody to get your application environment straight. That''s your call, though, of course. -- 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.
Walter Lee Davis
2010-Dec-07 16:41 UTC
Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On Dec 7, 2010, at 11:20 AM, Rob Th wrote:>> I think if you re-image this machine > > What is re-image?Use the OS install disks to wipe the machine blank and re-install your target OS. Given that the Ruby libraries are part of the core OS, not just Xcode, this may be your only way forward now that you have nuked your Apple Ruby. Or, you could follow one or another of the fine Hivelogic install tutorials: google "hivelogic install ruby Leopard" (or Snow Leopard, if you''re using 10.6). Walter -- 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.
Colin Law
2010-Dec-07 16:46 UTC
Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On 7 December 2010 16:41, Walter Lee Davis <waltd-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote:> > On Dec 7, 2010, at 11:20 AM, Rob Th wrote: > >>> I think if you re-image this machine >> >> What is re-image? > > Use the OS install disks to wipe the machine blank and re-install your > target OS. Given that the Ruby libraries are part of the core OS, not just > Xcode, this may be your only way forward now that you have nuked your Apple > Ruby. Or, you could follow one or another of the fine Hivelogic install > tutorials: google "hivelogic install ruby Leopard" (or Snow Leopard, if > you''re using 10.6).I am not sure you have nuked ruby. You said in an earlier post that ruby -v failed, but I think you meant rails -v. If that is true then rvm should still be an option, provided you have not removed the development tools (or can get them back). Colin -- 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.
pepe wrote in post #966915:>> Never, this is the one and only rails app ever. I do want to get 1.8.7 >> on this machine and rails 2.2.2 to match the source machine. >> >> I would actually like to eventually find a programmer to convert it off >> rails. > > If you are thinking about getting a programmer anyway maybe it might > be wiser if you get one now to get your RoR environment straight and > your application running as it should. If what you are unhappy about > is the trouble you''re having with it, you not being an expert, but the > application is doing what it is supposed to at your satisfaction when > the setup is correct I think converting the application might be a > mistake. You probably will end up spending a lot more money rewriting > the application than paying somebody to get your application > environment straight. That''s your call, though, of course.This app is a web front end to a very large piece of other open source code that is written in Java. It is very database oriented and more than that I cannot say at this time... It should have been done in java, but it was not my call at that time. I want to get the app over to a mac to be able to demo the concept and to be a guideline (working prototype) for the eventual conversion. I have many, many years of software but I just do not get rails. I see no issue with SQL for example. I know rails is a religion to a lot of folks but for this app it is just not practical long term. Horses for courses. See how complicated this question got. I asked how can I get rid of all the other versions and simplify my environment and I got more complexity of rvm. Colin, correct I miss-typed Ruby is still there it is rails that does not show up in rails -v but gem list local thinks I still have it. And it looks like de-installing xcode does not remove ruby! Also, I never heard the term re-image in the context of Mac OS X. I suppose I am OK with ruby, it is the version I want. Maybe there is a directory that has all this rails and I can just delete it? Then reinstall. Can I just do a cmd-find rails and delete everything it finds? Also I have been looking for a programmer to convert this but it has not been easy and this is not my primary project. I just said, let me grab the app off the ubuntu before it goes away and smack here I am. -- Posted via http://www.ruby-forum.com/. -- 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.
Rob Th
2010-Dec-07 17:54 UTC
Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
Walter Davis wrote in post #966917:> On Dec 7, 2010, at 11:20 AM, Rob Th wrote: > >>> I think if you re-image this machine >> >> What is re-image? > > Use the OS install disks to wipe the machine blank and re-install your > target OS. > WalterOuch, this Mac has a lot more than ruby and rails on it. Cannot do that. I have a back up of course but what to restore to make sure I get rid of all rails, there has to be an easier way. If I know which directories/files to not restore to keep from restoring a version of rails, I should be able to just delete these directories/files. I cannot fine documentation as to where on a Mac the rails stuff goes. -- Posted via http://www.ruby-forum.com/. -- 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.
Greg Donald
2010-Dec-07 18:04 UTC
Re: Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On Tue, Dec 7, 2010 at 11:54 AM, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I cannot fine documentation as to where on a Mac the rails stuff goes.It doesn''t matter. You can leave everything where it is and alter your environment variables to use another version of ruby/rails installed where ever you like. You DO NOT need to re-image the machine just to alter the shell''s $PATH variable. export PATH="/path/to/my/ruby:$PATH" It''s that simple. -- Greg Donald destiney.com | gregdonald.com -- 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.
Colin Law
2010-Dec-07 18:06 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On 7 December 2010 17:51, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> > See how complicated this question got. I asked how can I get rid of all > the other versions and simplify my environment and I got more complexity > of rvm.Correct me if I am wrong but your fundamental problem is that somehow the rails environment is messed up. Your proposed solution is to delete it all and start again. No-one seems to know how to do this, though you do know how to remove individual gems (you did it for rails 2.3.8) so you could do this for each of the gems you do not want. You still have the problem that somehow rails -v does not work so somehow you have lost the rails startup script. As everyone keeps advising a much better solution is to completely ignore the current installation and use rvm. You can then install just the versions of everything that you want within rvm and run your app within that environment. It appears that you tried that and had some problems, but why not try again and ask for help here if you run into problems. It seems to me it is much better than risking the integrity of your whole machine. Colin -- 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.
Hassan Schroeder
2010-Dec-07 18:23 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On Tue, Dec 7, 2010 at 10:06 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Correct me if I am wrong but your fundamental problem is that somehow > the rails environment is messed up. Your proposed solution is to > delete it all and start again. No-one seems to know how to do this, > though you do know how to remove individual gems (you did it for rails > 2.3.8) so you could do this for each of the gems you do not want. You > still have the problem that somehow > rails -v > does not work so somehow you have lost the rails startup script.Uh, "somehow"?? It was deleted when the gem was uninstalled, as a previous post showed. ----------------------------- Select gem to uninstall: 1. rails-2.3.8 2. rails-2.3.8 3. All versions> 3Remove executables: rails in addition to the gem? [Yn] Removing rails Successfully uninstalled rails-2.3.8 ----------------------------- The easiest thing to do would be `sudo gem uninstall rails` to get rid of *all* the rails versions and then install the one you want. I would certainly do that before trying to manually remove the gems, though that''s trivial (use `gem env` to find where they are and delete). -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rob Th
2010-Dec-07 19:07 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
Hassan Schroeder wrote in post #966940:> On Tue, Dec 7, 2010 at 10:06 AM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > wrote: > >> Correct me if I am wrong but your fundamental problem is that somehow >> the rails environment is messed up. Your proposed solution is to >> delete it all and start again. No-one seems to know how to do this, >> though you do know how to remove individual gems (you did it for rails >> 2.3.8) so you could do this for each of the gems you do not want. You >> still have the problem that somehow >> rails -v >> does not work so somehow you have lost the rails startup script. > > Uh, "somehow"?? It was deleted when the gem was uninstalled, as a > previous post showed. > ----------------------------- > Select gem to uninstall: > 1. rails-2.3.8 > 2. rails-2.3.8 > 3. All versions >> 3 > Remove executables: > rails > > in addition to the gem? [Yn] > Removing rails > Successfully uninstalled rails-2.3.8 > ----------------------------- > > The easiest thing to do would be `sudo gem uninstall rails` to get rid > of *all* the rails versions and then install the one you want. > > I would certainly do that before trying to manually remove the gems, > though that''s trivial (use `gem env` to find where they are and delete). > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanI thought uninstalling rails 2.3.8 would uninstall that version then a different version would be "current". I paused at that question. I have to admit. BTW... gem list --local *** LOCAL GEMS *** actionmailer (2.3.5, 2.2.2, 1.3.6) actionpack (2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.5, 2.2.2, 1.15.6) activeresource (2.3.5, 2.2.2) activesupport (2.3.5, 2.2.2, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.0.1) rails (2.3.5, 2.2.2, 1.2.6) rake (0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) rvm (1.1.3) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4) Looks like several versions of rails are still hanging around! But... sudo gem uninstall rails ERROR: While executing gem ... (Gem::InstallError) cannot uninstall, check `gem list -d rails` And... gem list -d rails *** LOCAL GEMS *** rails (2.3.5, 2.2.2, 1.2.6) Author: David Heinemeier Hansson Rubyforge: http://rubyforge.org/projects/rails Homepage: http://www.rubyonrails.org Installed at (2.3.5): /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 (2.2.2): /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 (1.2.6): /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 Web-application framework with template engine, control-flow layer, and ORM. FYI So it looks like heading over to /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 and deleting gems/* may do it. In this directory there is an alias to /Library/Ruby/Site and one to /Library/Ruby/Gems, which has some interesting content. So, Mr Schroeder, given this: gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.5 - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8 - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS: - ruby - universal-darwin-10 - GEM PATHS: - /Library/Ruby/Gems/1.8 - /Users/rob/.gem/ruby/1.8 - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://gems.rubyforge.org/ What do I drag to the trash? Looks like the stuff in the three GEM PATHS? -- Posted via http://www.ruby-forum.com/. -- 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.
Hassan Schroeder
2010-Dec-07 19:21 UTC
Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On Tue, Dec 7, 2010 at 11:07 AM, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I thought uninstalling rails 2.3.8 would uninstall that version then a > different version would be "current".It would have if you''d answered no :-)> Looks like several versions of rails are still hanging around! > > But... > > sudo gem uninstall rails > ERROR: While executing gem ... (Gem::InstallError) > cannot uninstall, check `gem list -d rails`mmm, surprising. What happens if you try explicitly uninstalling e.g. 2.3.5 ? It would be preferable to removing directories willy-nilly, IMO. If that works, uninstall the others also, then re-install 2.2.2. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rob Th
2010-Dec-07 19:33 UTC
Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
Hassan Schroeder wrote in post #966954:> On Tue, Dec 7, 2010 at 11:07 AM, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> I thought uninstalling rails 2.3.8 would uninstall that version then a >> different version would be "current". > > It would have if you''d answered no :-) > >> Looks like several versions of rails are still hanging around! >> >> But... >> >> sudo gem uninstall rails >> ERROR: While executing gem ... (Gem::InstallError) >> cannot uninstall, check `gem list -d rails` > > mmm, surprising. What happens if you try explicitly uninstalling e.g. > 2.3.5 ? It would be preferable to removing directories willy-nilly, IMO. > > If that works, uninstall the others also, then re-install 2.2.2. > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassangem uninstall rails -v=2.3.5 ERROR: While executing gem ... (Gem::InstallError) cannot uninstall, check `gem list -d rails` gem list --local *** LOCAL GEMS *** actionmailer (2.3.5, 2.2.2, 1.3.6) actionpack (2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.5, 2.2.2, 1.15.6) activeresource (2.3.5, 2.2.2) activesupport (2.3.5, 2.2.2, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.0.1) rails (2.3.5, 2.2.2, 1.2.6) rake (0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) rvm (1.1.3) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4) -- Posted via http://www.ruby-forum.com/. -- 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.
Even odder. sudo gem uninstall rails -v 2.3.5 ERROR: While executing gem ... (Gem::InstallError) cannot uninstall, check `gem list -d rails` RobsiMac:~ rob$ sudo gem install rails -v 2.3.5 Successfully installed rails-2.3.5 1 gem installed Installing ri documentation for rails-2.3.5... Installing RDoc documentation for rails-2.3.5... RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.5 Successfully uninstalled rails-2.3.5 RobsiMac:~ rob$ rails -v Rails 2.3.5 -- Posted via http://www.ruby-forum.com/. -- 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.
Marnen Laibow-Koser
2010-Dec-07 19:41 UTC
Re: Which RoR to run on Mac OS X for a particular RoR app.
Rob Th wrote in post #966961:> Even odder. > > sudo gem uninstall rails -v 2.3.5 > ERROR: While executing gem ... (Gem::InstallError) > cannot uninstall, check `gem list -d rails` > RobsiMac:~ rob$ sudo gem install rails -v 2.3.5 > Successfully installed rails-2.3.5 > 1 gem installed > Installing ri documentation for rails-2.3.5... > Installing RDoc documentation for rails-2.3.5... > RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.5 > Successfully uninstalled rails-2.3.5 > RobsiMac:~ rob$ rails -v > Rails 2.3.5Compare the output of "gem env" and "sudo gem env". Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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.
Hassan Schroeder
2010-Dec-07 19:45 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On Tue, Dec 7, 2010 at 11:39 AM, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> > RobsiMac:~ rob$ sudo gem install rails -v 2.3.5 > Successfully installed rails-2.3.5 > 1 gem installed > RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.5 > Successfully uninstalled rails-2.3.5 > RobsiMac:~ rob$ rails -v > Rails 2.3.5So what happens now if you `sudo gem uninstall rails` ? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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.
Rob Th
2010-Dec-07 20:05 UTC
Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
Hassan Schroeder wrote in post #966968:> On Tue, Dec 7, 2010 at 11:39 AM, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> >> RobsiMac:~ rob$ sudo gem install rails -v 2.3.5 >> Successfully installed rails-2.3.5 >> 1 gem installed >> RobsiMac:~ rob$ sudo gem uninstall rails -v 2.3.5 >> Successfully uninstalled rails-2.3.5 >> RobsiMac:~ rob$ rails -v >> Rails 2.3.5 > > So what happens now if you `sudo gem uninstall rails` ? > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassangem list --local *** LOCAL GEMS *** actionmailer (2.3.5, 2.2.2, 1.3.6) actionpack (2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.5, 2.2.2, 1.15.6) activeresource (2.3.5, 2.2.2) activesupport (2.3.5, 2.2.2, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.0.1) rails (2.3.5, 2.2.2, 1.2.6) rake (0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) rvm (1.1.3) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4) RobsiMac:~ rob$ sudo gem uninstall rails Select gem to uninstall: 1. rails-2.2.2 2. rails-2.2.2 3. All versions>Ouch. -- Posted via http://www.ruby-forum.com/. -- 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.
Hassan Schroeder
2010-Dec-07 20:23 UTC
Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On Tue, Dec 7, 2010 at 12:05 PM, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> RobsiMac:~ rob$ sudo gem uninstall rails > > Select gem to uninstall: > 1. rails-2.2.2 > 2. rails-2.2.2 > 3. All versions> Ouch.So select 3 and keep going :-) You can always add back the version you want later. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rob Th
2010-Dec-07 21:23 UTC
Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
Hassan Schroeder wrote in post #966986:> On Tue, Dec 7, 2010 at 12:05 PM, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> RobsiMac:~ rob$ sudo gem uninstall rails >> >> Select gem to uninstall: >> 1. rails-2.2.2 >> 2. rails-2.2.2 >> 3. All versions > >> Ouch. > > So select 3 and keep going :-) > > You can always add back the version you want later. > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassansudo gem uninstall rails Password: Select gem to uninstall: 1. rails-2.2.2 2. rails-2.2.2 3. All versions> 3Remove executables: rails in addition to the gem? [Yn] y Removing rails Successfully uninstalled rails-2.2.2 Remove executables: rails in addition to the gem? [Yn] y Removing rails Successfully uninstalled rails-2.2.2 RobsiMac:~ rob$ rails -v -bash: /usr/bin/rails: No such file or directory RobsiMac:~ rob$ sudo gem install rails -v 2.2.2 Successfully installed rails-2.2.2 1 gem installed Installing ri documentation for rails-2.2.2... Installing RDoc documentation for rails-2.2.2... RobsiMac:~ rob$ rails -v Rails 2.3.5 Oh, no. Night of the Living Dead. Is there a way to run gem in verbose mode to see what is going on? -- Posted via http://www.ruby-forum.com/. -- 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.
Colin Law
2010-Dec-07 21:44 UTC
Re: Re: Re: Re: Which RoR to run on Mac OS X for a particular RoR app.
On 7 December 2010 21:23, Rob Th <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> in addition to the gem? [Yn] y > Removing rails > Successfully uninstalled rails-2.2.2 > RobsiMac:~ rob$ rails -v > -bash: /usr/bin/rails: No such file or directory > RobsiMac:~ rob$ sudo gem install rails -v 2.2.2 > Successfully installed rails-2.2.2 > 1 gem installed > Installing ri documentation for rails-2.2.2... > Installing RDoc documentation for rails-2.2.2... > RobsiMac:~ rob$ rails -v > Rails 2.3.5 > > Oh, no. Night of the Living Dead.I don''t know why you are so worried about other versions of rails that may be installed. If you look at environment.rb for the app you want to run you will see it requests a particular version of Rails. Any other versions installed will be ignored. They are entirely independent of each other. What you see when you type rails -v is pretty much irrelevant I think. It is not the version that the app will use, just the version that will be used if you create a new app (though even when you create a new app you can specify which version you want). Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> Is there a way to run gem in verbose mode to see what is going on?maybe gem (un)install your_gem_here -V? The flag -V (that''s the uppercase letter) tells the command to be ''verbose''. -- 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.
OK as a famous fictional lawman once said "a man is got to do what a man has got to do", or as we do when a hydro-cylindar pin gets stuck on the back hoe and we break out the big hammer and torch, I just use the wonderful "drag to trash" on all the gem folders I could find, installed sudo gem install rails -v 2.2.2 and look here: gem list --local *** LOCAL GEMS *** actionmailer (2.2.2) actionpack (2.2.2) activerecord (2.2.2) activeresource (2.2.2) activesupport (2.2.2) rails (2.2.2) rake (0.8.7) Did a quick rails hello222 and got the whole mess. script/server and up we go. script/server => Booting WEBrick... => Rails 2.2.2 application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2010-12-07 17:10:32] INFO WEBrick 1.3.1 [2010-12-07 17:10:32] INFO ruby 1.8.7 (2009-06-12) [universal-darwin10.0] [2010-12-07 17:10:32] INFO WEBrick::HTTPServer#start: pid=67167 port=3000 127.0.0.1 - - [07/Dec/2010:17:11:18 EST] "GET / HTTP/1.1" 200 7385 - -> / 127.0.0.1 - - [07/Dec/2010:17:11:18 EST] "GET /javascripts/effects.js HTTP/1.1" 200 38675 http://localhost:3000/ -> /javascripts/effects.js 127.0.0.1 - - [07/Dec/2010:17:11:18 EST] "GET /javascripts/prototype.js HTTP/1.1" 200 129738 http://localhost:3000/ -> /javascripts/prototype.js 127.0.0.1 - - [07/Dec/2010:17:11:18 EST] "GET /images/rails.png HTTP/1.1" 200 6646 http://localhost:3000/ -> /images/rails.png 127.0.0.1 - - [07/Dec/2010:17:11:18 EST] "GET /favicon.ico HTTP/1.1" 200 0 http://localhost:3000/ -> /favicon.ico 127.0.0.1 - - [07/Dec/2010:17:11:21 EST] "GET /rails/info/properties HTTP/1.1" 500 15464 http://localhost:3000/ -> /rails/info/properties Woohoo. Who said RoR is oblique?? localhost:3000 is responding. One remaining glitch. "About your application’s environment: MissingSourceFile in Rails/infoController#properties no such file to load -- sqlite3 RAILS_ROOT: /Users/rob/hello222 Is this a missing sqlite gem? -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> One remaining glitch. > > "About your application’s environment: > > MissingSourceFile in Rails/infoController#properties > > no such file to load -- sqlite3 > RAILS_ROOT: /Users/rob/hello222 > > Is this a missing sqlite gem?I believe it could be. Try loading the gem and see what happens, you can always remove it. Is your application using sqlite as a DB? -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Shoot. What the heck is this sudo gem install sqlite3-ruby -v 1.2.4 Password: Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can''t find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out RobsiMac:~ rob$ -- Posted via http://www.ruby-forum.com/. -- 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.
That probably means that you need a C compiler or DevKit so the install command can build the gem. On Dec 7, 6:27 pm, Rob Th <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Shoot. What the heck is this > > sudo gem install sqlite3-ruby -v 1.2.4 > Password: > Building native extensions. This could take a while... > ERROR: Error installing sqlite3-ruby: > ERROR: Failed to build gem native extension. > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > extconf.rb > mkmf.rb can''t find header files for ruby at > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h > > Gem files will remain installed in > /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection. > Results logged to > /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out > RobsiMac:~ rob$ > > -- > Posted viahttp://www.ruby-forum.com/.-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apparently Analagous Threads
- Stack Level Too Deep Error (can't seem to figure it out)
- Windows new installation - Always problems
- mysql gem install not happening on Mac OS Leopard - any inputs at all??
- "File not found: lib" installing rails-3.0.0.beta3 on my Mac
- accidentally created a rails app in the home folder