Trying to install rails 3 on a new macbook pro. $ rails -v Could not find bcrypt-ruby-2.1.2 in any of the sources Try running `bundle install`. $ bundle install . . Installing bcrypt-ruby (2.1.2) with native extensions /Library/Ruby/ Site/1.8/rubygems/installer.rb:483:in `build_extensions'': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /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/bcrypt- ruby-2.1.2 for inspection. ------ Has anyone else had this problem with bcrypt? -- 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.
Try running gem clean up to see if there is a dependeci problem 2010/10/2, nobosh <bhellman1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> Trying to install rails 3 on a new macbook pro. > > $ rails -v > Could not find bcrypt-ruby-2.1.2 in any of the sources > Try running `bundle install`. > > > $ bundle install > . > . > > Installing bcrypt-ruby (2.1.2) with native extensions /Library/Ruby/ > Site/1.8/rubygems/installer.rb:483:in `build_extensions'': ERROR: > Failed to build gem native extension. > (Gem::Installer::ExtensionBuildError) > > /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/bcrypt- > ruby-2.1.2 for inspection. > > > ------ > > Has anyone else had this problem with bcrypt? > > -- > 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. > >-- Enviado desde mi dispositivo móvil -- 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.
Turns out I needed to install xcode on the mac - that fixed it On Oct 2, 9:54 am, radhames brito <rbri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try running gem clean up to see if there is a dependeci problem > > 2010/10/2, nobosh <bhellm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > > > > Trying to install rails 3 on a new macbook pro. > > > $ rails -v > > Could not find bcrypt-ruby-2.1.2 in any of the sources > > Try running `bundle install`. > > > $ bundle install > > . > > . > > > Installing bcrypt-ruby (2.1.2) with native extensions /Library/Ruby/ > > Site/1.8/rubygems/installer.rb:483:in `build_extensions'': ERROR: > > Failed to build gem native extension. > > (Gem::Installer::ExtensionBuildError) > > > /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/bcrypt- > > ruby-2.1.2 for inspection. > > > ------ > > > Has anyone else had this problem with bcrypt? > > > -- > > 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. > > -- > Enviado desde mi dispositivo móvil-- 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.