Thursday, December 19, 2013

[Rails] Re: Gem Install bundler fails

Colin Law wrote in post #1131073:
> On 19 December 2013 08:38, Pradeep Sethi <lists@ruby-forum.com> wrote:
>>
>> ☁ discourse [master] ⚡ gem install bundler
>> /Users/psethi/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/yaml.rb:84: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.
>
> What happened when you followed that advise?
>
> Colin

It keeps giving the same error even after installing libyaml &
reinstalling rubies. (not sure, if it is installing libyaml correctly)


Output
===
rvm reinstall all
Are you SURE you wish to 'reinstall' all rubies?
(anything other than 'yes' will cancel) > yes
Removing /Users/psethi/.rvm/src/ruby-1.9.3-p484 - please wait
Removing /Users/psethi/.rvm/rubies/ruby-1.9.3-p484 - please wait
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-1.9.3-p484.
Continuing with compilation. Please read 'rvm help mount' to get more
information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to
date.
Requirements installation successful.
Installing Ruby from source to:
/Users/psethi/.rvm/rubies/ruby-1.9.3-p484, this may take a while
depending on your cpu(s)...
ruby-1.9.3-p484 - #downloading ruby-1.9.3-p484, this may take a while
depending on your connection...
ruby-1.9.3-p484 - #extracting ruby-1.9.3-p484 to
/Users/psethi/.rvm/src/ruby-1.9.3-p484 - please wait
ruby-1.9.3-p484 - #configuring - please wait
ruby-1.9.3-p484 - #post-configuration - please wait
ruby-1.9.3-p484 - #compiling - please wait
ruby-1.9.3-p484 - #installing - please wait
Retrieving rubygems-2.1.11
Extracting rubygems-2.1.11 ... - please wait
Removing old Rubygems files...
$LANG was empty, setting up LANG=en_US, if it fails again try setting
LANG to something sane and try again.
Installing rubygems-2.1.11 for ruby-1.9.3-p484 - please wait
Error running 'env
GEM_PATH=/Users/psethi/.rvm/gems/ruby-1.9.3-p484:/Users/psethi/.rvm/gems/ruby-1.9.3-p484@global:/Users/psethi/.rvm/gems/ruby-1.9.3-p484:/Users/psethi/.rvm/gems/ruby-1.9.3-p484@global
GEM_HOME=/Users/psethi/.rvm/gems/ruby-1.9.3-p484
/Users/psethi/.rvm/rubies/ruby-1.9.3-p484/bin/ruby -d
/Users/psethi/.rvm/src/rubygems-2.1.11/setup.rb',
showing last 15 lines of
/Users/psethi/.rvm/log/1387453371_ruby-1.9.3-p484/rubygems.install.log
from /Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems.rb:208:in
`finish_resolve'
from /Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/rdoc.rb:14:in
`<top (required)>'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/core_ext/kernel_require.rb:55:in
`require'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/core_ext/kernel_require.rb:55:in
`require'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/uninstaller.rb:10:in
`<top (required)>'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/core_ext/kernel_require.rb:55:in
`require'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/core_ext/kernel_require.rb:55:in
`require'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/commands/setup_command.rb:474:in
`uninstall_old_gemcutter'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/commands/setup_command.rb:146:in
`execute'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/command.rb:305:in
`invoke_with_build_args'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/command_manager.rb:167:in
`process_args'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/command_manager.rb:137:in
`run'
from
/Users/psethi/.rvm/src/rubygems-2.1.11/lib/rubygems/gem_runner.rb:54:in
`run'
from setup.rb:45:in `<main>'
RubyGems 2.1.11 installed
Installation of rubygems did not complete successfully.
- please wait
ruby-1.9.3-p484 - #gemset created
/Users/psethi/.rvm/gems/ruby-1.9.3-p484@global
ruby-1.9.3-p484 - #importing gemset
/Users/psethi/.rvm/gemsets/global.gems - please wait
ruby-1.9.3-p484 - #generating global wrappers - please wait
ERROR: While executing gem ... (Gem::CommandLineError)
Unknown command wrappers
ruby-1.9.3-p484 - #gemset created
/Users/psethi/.rvm/gems/ruby-1.9.3-p484
ruby-1.9.3-p484 - #generating default wrappers - please wait
ERROR: While executing gem ... (Gem::CommandLineError)
Unknown command wrappers
ruby-1.9.3-p484 - #adjusting #shebangs for (gem irb erb ri rdoc testrb
rake).
Install of ruby-1.9.3-p484 - #complete
Ruby was built without documentation, to build it run: rvm docs
generate-ri
Making gemset ruby-1.9.3-p484 pristine. - please wait
☁ yaml-0.1.4 gem install bundler
ERROR: Loading command: install (LoadError)
dlopen(/Users/psethi/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/x86_64-darwin11.4.2/openssl.bundle,
9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from:
/Users/psethi/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/x86_64-darwin11.4.2/openssl.bundle
Reason: image not found -
/Users/psethi/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/x86_64-darwin11.4.2/openssl.bundle
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ef632a093b54659bf977fc47c0bad46b%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate