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

Resource RVM #202

Merged
merged 1 commit into from Mar 11, 2014
Merged

Resource RVM #202

merged 1 commit into from Mar 11, 2014

Conversation

Ilyes512
Copy link
Contributor

Resourcing RVM seemed to fix the permission issue's. I tried installing the fallowing gems:

...
ruby_gems             = [        # List any Ruby Gems that you want to install
  "jekyll",
  "bundler",
  "guard"
]
...

Both Jekyll and Bundler installed fine, but Guard threw an error:

RROR:  Error installing guard:
    ERROR: Failed to build gem native extension.

    /home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
Cannot allocate memory - /home/vagrant/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb 2>&1

Gem files will remain installed in /home/vagrant/.rvm/gems/ruby-2.1.0/gems/nio4r-1.0.0 for inspection.
Results logged to /home/vagrant/.rvm/gems/ruby-2.1.0/extensions/x86_64-linux/2.1.0/nio4r-1.0.0/gem_make.out

I could however just install it manually without any hiccups after logging in (vagrant ssh).
#185

@fideloper
Copy link
Owner

Can you try bumping up your RAM allocationg to the VM and re-provisioning? One thing is a memory error. The "failed to build gem native extension"...idk, google brings up a ton of Mac OS specific issues, which shouldn't be an issue in Vagrant....since it's Ubuntu.

Bundle lock might be a solution?, or gem install bundler --pre, as per the 2nd to last comment there.

@Ilyes512
Copy link
Contributor Author

It worked :) I extended it to 1024 and it's now installing all 3.

@fideloper
Copy link
Owner

Awesome. Maybe we need a note in the readme/docs on that.

Otherwise I'll pull that PR in soon!

On Monday, March 10, 2014, Ilyes notifications@github.com wrote:

It worked :) I extended it to 1024 and it's now installing all 3.

Reply to this email directly or view it on GitHubhttps://github.com//pull/202#issuecomment-37237519
.

@Ilyes512
Copy link
Contributor Author

Maybe change the default to 512mb instead? Not sure if that will do the trick in this case as well.

fideloper added a commit that referenced this pull request Mar 11, 2014
@fideloper fideloper merged commit d7fc296 into fideloper:develop Mar 11, 2014
@fideloper
Copy link
Owner

🎆 :feelsgood:

@Ilyes512 Ilyes512 deleted the fix-rvm branch March 11, 2014 00:30
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.

None yet

2 participants