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 trialDaniel Valderrama
1,818 PointsIm unable to install rails (v 5.0.0)
When I input the command 'gem install rails --version 5.0.0' I get the following error in the terminal:
ERROR: Loading command: install (LoadError) dlopen(/Users/DanielValderrama/.rbenv/versions/2.2.1/lib/ruby/2.2.0/x86_64-darwin15/openssl.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib Referenced from: /Users/DanielValderrama/.rbenv/versions/2.2.1/lib/ruby/2.2.0/x86_64-darwin15/openssl.bundle Reason: image not found - /Users/DanielValderrama/.rbenv/versions/2.2.1/lib/ruby/2.2.0/x86_64-darwin15/openssl.bundle ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass
Any ideas? Thanks in advance.
2 Answers
Daniel Valderrama
1,818 PointsOh, I actually resolved it by updating ruby and RVM to their latest versions. It worked after that.
Maciej Czuchnowski
36,441 PointsDaniel,
if you're using MacOS, please try the second answer in this StackOverflow issue: http://stackoverflow.com/questions/19168842/library-not-loaded-opt-local-lib-libssl-1-0-0-dylib-loaderror
namely - remove and install openssl