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!
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 trial
How to install ruby gem wordmove on OS X 10.11? ERROR: While executing gem ... (Errno::EPERM)
ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/wordmove
This is part of the solution when you are receiving the "Operation not permitted" error.
<pre><code>``` $ mkdir -p $HOME/Software/ruby $ export GEM_HOME=$HOME/Software/ruby $ gem install wordmove [...] 1 gem installed $ export PATH=$PATH:$HOME/Software/ruby/bin $ wordmove --version
</code></pre> You will need to add the export commands to your .bashrc in the home directory.. or if you use tcsh or csh you will need to use : <pre><code>
setenv GEM_HOME $HOME/Software/ruby
set path=($HOME/Software/ruby/bin $path)
Thanks I will take a look... but just finishing off this permission issue fixed the result along with above.
This finished the issue and it works now.
wordmove --version 1.3.1
Luke Pettway16,591 Points
See if this Stack Overflow issue helps you any: http://stackoverflow.com/questions/32891965/error-while-executing-gem-errnoeperm-operation-not-permitted
It seems to be a permissions issue. Use sudo before gem install or try the other method recommended in the post.