![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I just upgraded to snow leopard and I'm trying to get the 64 bit version of mysql and ruby going. I ran through the steps here... http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/ mysql is running properly and when I run which ruby I get... /usr/local/bin/ruby Which should be right. However, when I go to install rubygems... sudo /usr/local/bin/ruby setup.rb I get a segmentation fault. No matter what I try to do I get a segmentation fault. My app was running just fine before the upgrade to snow leopard and now none of my rake commands work, nothing but segmentation faults. I'm stumped. Thanks in advance. -E |
|
-- Posted via http://www.ruby-forum.com/. |
#3
| |||
| |||
|
|
On Thu, Nov 5, 2009 at 6:07 PM, Eric Ee rails-mailing-list (AT) andreas-s (DOT) net>wrote: Which should be right. However, when I go to install rubygems... sudo /usr/local/bin/ruby setup.rb I get a segmentation fault. No matter what I try to do I get a segmentation fault. My app was running just fine before the upgrade to snow leopard and now none of my rake commands work, nothing but segmentation faults. I'm stumped. Thanks in advance. -E If you have Snow Leopard, then you should have following these instructions to install Rubygems: sudo gem update --system Also, you can find further details here: http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard Good luck, -Conrad |
#4
| |||
| |||
|
|
Thanks Conrad, However, I also get a segmentation fault when I run sudo gem update --system Did you install the latest version of developer tools for Snow Leopard? |
|
Conrad Taylor wrote: On Thu, Nov 5, 2009 at 6:07 PM, Eric Ee rails-mailing-list (AT) andreas-s (DOT) net>wrote: Which should be right. However, when I go to install rubygems... sudo /usr/local/bin/ruby setup.rb I get a segmentation fault. No matter what I try to do I get a segmentation fault. My app was running just fine before the upgrade to snow leopard and now none of my rake commands work, nothing but segmentation faults. I'm stumped. Thanks in advance. -E If you have Snow Leopard, then you should have following these instructions to install Rubygems: sudo gem update --system Also, you can find further details here: http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard Good luck, -Conrad -- Posted via http://www.ruby-forum.com/. |
#5
| |||
| |||
|
|
On Thu, Nov 5, 2009 at 6:57 PM, Eric Ee rails-mailing-list (AT) andreas-s (DOT) net>wrote: Thanks Conrad, However, I also get a segmentation fault when I run sudo gem update --system Did you install the latest version of developer tools for Snow Leopard? -Conrad |
#6
| |||
| |||
|
|
Yes, I've got the snow leopard DVD. Went into optional installs and installed Xcode.mpkg before I started any of this. Got a nice checkmark saying it installed properly. still getting segmentation faults with just about everything. The lastest version of Developer Tools can be obtained from here if you're |
|
Conrad Taylor wrote: On Thu, Nov 5, 2009 at 6:57 PM, Eric Ee rails-mailing-list (AT) andreas-s (DOT) net>wrote: Thanks Conrad, However, I also get a segmentation fault when I run sudo gem update --system Did you install the latest version of developer tools for Snow Leopard? -Conrad -- Posted via http://www.ruby-forum.com/. |
#7
| |||
| |||
|
|
On Thu, Nov 5, 2009 at 7:14 PM, Eric Ee <rails-mailing-list (AT) andreas-s (DOT) net>wrote: Yes, I've got the snow leopard DVD. Went into optional installs and installed Xcode.mpkg before I started any of this. Got a nice checkmark saying it installed properly. still getting segmentation faults with just about everything. The lastest version of Developer Tools can be obtained from here if you're in the iPhone Developer Program: http://developer.apple.com/iphone/ Otherwise, you'll need to get the latest from here: Xcode 3.2.1 Developer DVD (Disk Image)<http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/103/wa/download?path=%2FDeveloper_Tools%2Fxcode_3.2.1_dev eloper_tools%2Fxcode321_10m2003_developerdvd.dmg&w osid=2QzeQVKfw1kK2e5zVlJgLtXGp1q Next, what the version of Ruby that you're using? Also, when you type `gem -v`, what appears on the screen? -Conrad |
| Conrad Taylor wrote: On Thu, Nov 5, 2009 at 6:57 PM, Eric Ee rails-mailing-list (AT) andreas-s (DOT) net>wrote: Thanks Conrad, However, I also get a segmentation fault when I run sudo gem update --system Did you install the latest version of developer tools for Snow Leopard? -Conrad -- Posted via http://www.ruby-forum.com/. |
#8
| |||
| |||
|
|
On Thu, Nov 5, 2009 at 7:28 PM, Conrad Taylor <conradwt (AT) gmail (DOT) com wrote: Next, what the version of Ruby that you're using? Also, when you type `gem -v`, what appears on the screen? -Conrad Also, can you send the output of the following commands? which gem which ruby -Conrad |
#9
| |||
| |||
|
|
Sure thing. Thank you. Seriously. gem -v Illegal instruction (yikes) which gem /usr/local/bin/gem which ruby /usr/local/bin/ruby Conrad Taylor wrote: On Thu, Nov 5, 2009 at 7:28 PM, Conrad Taylor <conradwt (AT) gmail (DOT) com wrote: Next, what the version of Ruby that you're using? Also, when you type `gem -v`, what appears on the screen? -Conrad Also, can you send the output of the following commands? which gem which ruby -Conrad -- Posted via http://www.ruby-forum.com/. |
#10
| |||
| |||
|
|
OK, let's do the following for now: 1). Remove /use/local/bin from your PATH. 2). Open a new shell window 3). Update Rubygems sudo gem update --system 4). Install Rails sudo gem install rails Let me know what happen. -Conrad Sent from my iPhone On Nov 5, 2009, at 7:38 PM, Eric Ee <rails-mailing-list (AT) andreas-s (DOT) net |
![]() |
| Thread Tools | |
| Display Modes | |
| |