Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrantfile and plain provisioning script #8

Closed
wants to merge 7 commits into from

Conversation

apelade
Copy link

@apelade apelade commented Apr 26, 2014

See also #7

Provisioning script heavily from the image provisioning script in same dir but left off the global gem install and vim emacs for initial add. Skipped a few things that we could add back in:

  • skipped editor default configs - people will be able to use their host to access with any editor.
  • skipped global gem installs: gem install xyzgem, just calling bundle install in rottenpotatoes so far.
  • probably want to do that default setup to help all the people.
  • do we want the jslint part? Left that in, may be in a video or the book?
  • travis for this is missing, that would be some big downloads, travis cache is only supported on private repos

@tansaku tansaku mentioned this pull request May 1, 2014
@tansaku
Copy link
Contributor

tansaku commented May 1, 2014

thanks for this and sorry for not noticing the preceding pull request. I know have a stronger feel for vagrant after getting an LS vagrant install working. Would love to coordinate with you further on this - am testing yours and VMTroopers Vagrant installs today ...

@tansaku
Copy link
Contributor

tansaku commented May 1, 2014

I ran this and got this issue:

Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p545/gems/pg-0.17.0 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p545/extensions/x86-linux/1.9.1/pg-0.17.0/gem_make.out
An error occurred while installing pg (0.17.0), and Bundler cannot continue.
Make sure that gem install pg -v '0.17.0' succeeds before bundling.
/usr/local/rvm/gems/ruby-1.9.3-p545@global/gems/bundler-1.5.3/lib/bundler/spec_set.rb:92:in block in materialize': Could not find pg-0.17.0 in any of the sources (Bundler::GemNotFound) from /usr/local/rvm/gems/ruby-1.9.3-p545@global/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:inmap!'
from /usr/local/rvm/gems/ruby-1.9.3-p545@global/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:in materialize' from /usr/local/rvm/gems/ruby-1.9.3-p545@global/gems/bundler-1.5.3/lib/bundler/definition.rb:133:inspecs'
from /usr/local/rvm/gems/ruby-1.9.3-p545@global/gems/bundler-1.5.3/lib/bundler/definition.rb:178:in specs_for' from /usr/local/rvm/gems/ruby-1.9.3-p545@global/gems/bundler-1.5.3/lib/bundler/definition.rb:167:inrequested_specs'
from /usr/local/rvm/gems/ruby-1.9.3-p545@global/ge

bundle install then failed on:

vagrant@precise32:/vagrant/vm-setup/rottenpotatoes$ bundle install

Errno::EACCES: Permission denied - /usr/local/rvm/gems/ruby-1.9.3-p545/gems/pg-0.17.0/.gemtest
An error occurred while installing pg (0.17.0), and Bundler cannot continue.
Make sure that gem install pg -v '0.17.0' succeeds before bundling.

was that working on yours?

@apelade
Copy link
Author

apelade commented Feb 18, 2016

sorry dk, old

@apelade apelade closed this Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants