Bug 975135 - Cannot bundle install, due to libyaml not being picked up
Summary: Cannot bundle install, due to libyaml not being picked up
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-bundler
Version: 19
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-17 16:50 UTC by Nick Harvey
Modified: 2013-06-17 18:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-17 18:07:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nick Harvey 2013-06-17 16:50:31 UTC
Description of problem: I get the following error when running 'bundle install'

Using libv8 (3.16.14.1) from https://github.com/cowboyd/libv8.git (at master) 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /usr/bin/ruby extconf.rb 
creating Makefile
/usr/share/ruby/yaml.rb:6:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:110:in `require': cannot load such file -- psych.so (LoadError)
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:110:in `rescue in require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:35:in `require'
	from /usr/share/gems/gems/psych-2.0.0/lib/psych.rb:1:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:110:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:110:in `rescue in require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:35:in `require'
	from /usr/share/ruby/yaml.rb:7:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /home/Nick/.gem/ruby/bundler/gems/libv8-6054e0fac780/ext/libv8/location.rb:1:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:45:in `require'
	from extconf.rb:4:in `<main>'


Gem files will remain installed in /home/Nick/.gem/ruby/bundler/gems/libv8-6054e0fac780 for inspection.
Results logged to /home/Nick/.gem/ruby/bundler/gems/libv8-6054e0fac780/ext/libv8/gem_make.out

An error occurred while installing libv8 (3.16.14.1), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.16.14.1'` succeeds before bundling.



Version-Release number of selected component (if applicable):
rubygem-bundler-1.3.1-1.fc19.noarch 


How reproducible: always


Steps to Reproduce:
1.cd into rails git repo
2. run 'bundle install'
3.

Actual results: Bundle will fail regardless of pacakges isntalled


Expected results: bundle should complete


Additional info:

I've installed libtool and libyaml and their devel packages. I've also installed rvm and ran: 

rvm pkg install libyaml
rvm reinstall 2.0

and no success

I also tried grabbing the upstream source for libyaml and compiling it locally but that didn't work either.

Comment 1 Nick Harvey 2013-06-17 18:07:10 UTC
FIXED: 
added the following to my gemfile outside of my groups assets section

gem 'psych'


Note You need to log in before you can comment on or make changes to this bug.