bigcartel / dugway

Easily build and test Big Cartel themes.
https://developers.bigcartel.com/api/themes
MIT License
149 stars 22 forks source link

Documentation suggestion #150

Open nabrown opened 7 years ago

nabrown commented 7 years ago

On Mac OS Sierra the user does not have write permissions to /Library/Ruby/Gems/2.0.0 where Ruby gems are installed, resulting in the error "You don't have write permissions for the /Library/Ruby/Gems/2.0.0" when you execute gem install dugway. Instead of sudoing the command or changing permissions, if you have Homebrew you can run brew install ruby which installs a new instance of Ruby separate from the Mac OS. Then the dugway command works.

randomobject commented 6 years ago

Yes, yes, yes. This need to be in the docs. +1

nabrown commented 5 years ago

PS This also solved an issue I had (having not followed my own advice above, on a new computer) where sudoing the gem install and using the System Ruby version gave me this error:

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require': cannot load such file -- rack/commonlogger (LoadError)

I uninstalled, followed the directions in my first comment above, and was able to install and use Dugway without error.

Just noting here for future users, probably myself.

nabrown commented 5 years ago

Oops closed accidentally.