<div dir="ltr">Hi,<div><br></div><div>I recommend to use RVM (<a href="https://rvm.io/">https://rvm.io/</a>) and then what's called a "gemset" for the dependencies of this specific project. I found that very helpful to keep different Ruby versions and dependencies of different project separated.</div><div><br></div><div>From the output you posted it seems bundler is missing. Install it via "gem install bundler". And then "rake setup[local]".</div><div><br></div><div>Just let me know if you have further problems with it.</div><div><br></div><div>--Gunnar</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-15 14:48 GMT+02:00 Hendrik Ebbers <span dir="ltr"><<a href="mailto:hendrik.ebbers@me.com" target="_blank">hendrik.ebbers@me.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all,<div><br></div><div>any idea how to install rake on a mac. Based on the readme for the bean <a href="http://validation.org" target="_blank">validation.org</a> repo I ended in this:</div><div><br></div><div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">Hendriks-MacBook-Pro-2:<a href="http://beanvalidation.org" target="_blank">beanval<wbr>idation.org</a> hendrikebbers$ rake check</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">/Users/hendrikebbers/git/<a href="http://beanvalidation.org/Rakefile:105:" target="_blank">beanv<wbr>alidation.org/Rakefile:105:</a> warning: Insecure world writable dir /usr/local in PATH, mode 040777</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(175,173,36);background-color:rgb(0,0,0)">Bundler gem not installed. Run 'gem install bundler first'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">Hendriks-MacBook-Pro-2:<a href="http://beanvalidation.org" target="_blank">beanval<wbr>idation.org</a> hendrikebbers$ rake preview</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(175,173,36);background-color:rgb(0,0,0)">bundle exec awestruct -d</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">/Users/hendrikebbers/git/<a href="http://beanvalidation.org/Rakefile:133:" target="_blank">beanv<wbr>alidation.org/Rakefile:133:</a> warning: Insecure world writable dir /usr/local in PATH, mode 040777</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">Using profile: development</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">Generating site: <a href="http://localhost:4242" target="_blank">http://localhost:4242</a></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)">bundler: failed to load command: awestruct (/Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bin/awestruct" target="_blank">bean<wbr>validation.org/.bundle/ruby/2.<wbr>0.0/bin/awestruct</a>)</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">LoadError: Could not open library 'libc.dylib': dlopen(libc.dylib, 5): image not found</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:133:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/ffi-1.9.10/lib/ffi/<wbr>library.rb:133:in</a> `block in ffi_lib'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:100:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/ffi-1.9.10/lib/ffi/<wbr>library.rb:100:in</a> `map'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:100:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/ffi-1.9.10/lib/ffi/<wbr>library.rb:100:in</a> `ffi_lib'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native/lib_c.rb:5:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native/lib_c.rb:5:in</a> `<module:LibC>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native/lib_c.rb:3:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native/lib_c.rb:3:in</a> `<module:Native>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native/lib_c.rb:2:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native/lib_c.rb:2:in</a> `<module:SassC>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native/lib_c.rb:1:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native/lib_c.rb:1:in</a> `<top (required)>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native.rb:32:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native.rb:32:in</a> `require_relative'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native.rb:32:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native.rb:32:in</a> `<module:Native>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native.rb:4:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native.rb:4:in</a> `<module:SassC>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc/native.rb:3:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc/native.rb:3:in</a> `<top (required)>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc.rb:5:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc.rb:5:in</a> `require_relative'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/gems/sassc-1.8.4/lib/sassc.rb:5:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/gems/sassc-1.8.4/lib/<wbr>sassc.rb:5:in</a> `<top (required)>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/_ext/pipeline.rb:3:in" target="_blank">beanv<wbr>alidation.org/_ext/pipeline.<wbr>rb:3:in</a> `require'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/_ext/pipeline.rb:3:in" target="_blank">beanv<wbr>alidation.org/_ext/pipeline.<wbr>rb:3:in</a> `load_pipeline'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bundler/gems/awestruct-0dbfd2ad2061/lib/awestruct/engine.rb:254:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bundler/gems/awestruct-<wbr>0dbfd2ad2061/lib/awestruct/<wbr>engine.rb:254:in</a> `eval'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bundler/gems/awestruct-0dbfd2ad2061/lib/awestruct/engine.rb:254:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bundler/gems/awestruct-<wbr>0dbfd2ad2061/lib/awestruct/<wbr>engine.rb:254:in</a> `load_pipeline'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bundler/gems/awestruct-0dbfd2ad2061/lib/awestruct/engine.rb:67:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bundler/gems/awestruct-<wbr>0dbfd2ad2061/lib/awestruct/<wbr>engine.rb:67:in</a> `run'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bundler/gems/awestruct-0dbfd2ad2061/lib/awestruct/cli/generate.rb:21:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bundler/gems/awestruct-<wbr>0dbfd2ad2061/lib/awestruct/<wbr>cli/generate.rb:21:in</a> `run'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bundler/gems/awestruct-0dbfd2ad2061/lib/awestruct/cli/invoker.rb:128:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bundler/gems/awestruct-<wbr>0dbfd2ad2061/lib/awestruct/<wbr>cli/invoker.rb:128:in</a> `invoke_generate'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bundler/gems/awestruct-0dbfd2ad2061/lib/awestruct/cli/invoker.rb:52:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bundler/gems/awestruct-<wbr>0dbfd2ad2061/lib/awestruct/<wbr>cli/invoker.rb:52:in</a> `invoke!'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bundler/gems/awestruct-0dbfd2ad2061/bin/awestruct:9:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bundler/gems/awestruct-<wbr>0dbfd2ad2061/bin/awestruct:9:<wbr>in</a> `<top (required)>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bin/awestruct:23:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bin/awestruct:23:in</a> `load'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)"> /Users/hendrikebbers/git/<a href="http://beanvalidation.org/.bundle/ruby/2.0.0/bin/awestruct:23:in" target="_blank">beanv<wbr>alidation.org/.bundle/ruby/2.<wbr>0.0/bin/awestruct:23:in</a> `<top (required)>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">rake aborted!</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">ERROR: Running Awestruct failed.</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">/Users/hendrikebbers/git/<a href="http://beanvalidation.org/Rakefile:133:in" target="_blank">beanv<wbr>alidation.org/Rakefile:133:in</a> `run_awestruct'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">/Users/hendrikebbers/git/<a href="http://beanvalidation.org/Rakefile:61:in" target="_blank">beanv<wbr>alidation.org/Rakefile:61:in</a> `block in <top (required)>'</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">Tasks: TOP => preview</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">(See full trace by running task with --trace)</div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">Hendriks-MacBook-Pro-2:<a href="http://beanvalidation.org" target="_blank">beanval<wbr>idation.org</a> hendrikebbers$ </div></div><div><br></div></div><br>______________________________<wbr>_________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br></blockquote></div><br></div>