Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialThomas Brushel
11,713 PointsOkay so i'm stuck at 8:18 seconds when its time to install rails
I keep getting these error messages Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2 Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7 Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2 Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7 Error loading RubyGems plugin "/Users/MyuserName/.rvm/gems/ruby-2.3.0@global/gems/exec
Error loading RubyGems plugin "/Users/myUserName/.rvm/gems/ruby-2.3.0@global/gems/executable-hooks-1.3.2/lib/rubygems_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError) Error loading RubyGems plugin "/Users/myUserName/.rvm/gems/ruby-2.3.0@global/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError) ERROR: Error installing rails: rack requires Ruby version >= 2.2.2.
2 Answers
Andrew Stelmach
12,583 PointsTry doing what the stack trace says! "Try gem pristine executable-hooks --version 1.3.2
"
Thomas Brushel
11,713 PointsMark Moulton im currently running OS X EL CAPTION 10.11.5
Mark Moulton
4,876 PointsMark Moulton
4,876 PointsI was stuck on this one too. Make sure you have the latest version of Yosemite which is 10.10.5. Then type the command
rbenv install 2.3.1
That will install the latest version of ruby. After that, you shouldn't have a problem installing rails.