Error while bundling Rails application (missing gems?) -


note: first attempt ruby , rails!

once i've installed tried create new app with

rails new rubyapp 

the command created , bundler started. while running stopped @

errno::eacces: permission denied - /library/ruby/gems/1.8/build_info/coffee-script-source-1.6.2.info error occurred while installing coffee-script-source (1.6.2), , bundler cannot continue. make sure `gem install coffee-script-source -v '1.6.2'` succeeds before bundling. 

well.. no problem.. let's install this..

sudo gem install -p http://myproxy:8080 coffee-script-source -v '1.6.2' installing ri documentation coffee-script-source-1.6.2 1 gem installed 

good. try again.

bundle install 

and stopped here:

errno::eacces: permission denied - /library/ruby/gems/1.8/build_info/execjs-1.4.0.info error occurred while installing execjs (1.4.0), , bundler cannot continue. make sure `gem install execjs -v '1.4.0'` succeeds before bundling. 

!!!

needless i've installed this, tried again , same error came different "gems".

my question is: is there command find if i've need installed without doing these steps tons of times (also because they're pretty slow..)?

i've tried bundling sudo maybe it's not working proxy.. : /

thanks in advance

just still looking (i presume fixed in end) running command sudo chown myuser:myuser /library/ruby/gems/1.8/build_info/ (where /library/ruby/gems/1.8/build_info/ directory referenced in error) fixed this.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -