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

Can't install Rubinius #61

Closed
andoriyu opened this issue Oct 2, 2014 · 1 comment
Closed

Can't install Rubinius #61

andoriyu opened this issue Oct 2, 2014 · 1 comment

Comments

@andoriyu
Copy link

andoriyu commented Oct 2, 2014

tl;dr

install from console — works, install from puppet — no.

tl
** Execute gems:install
/usr/local/rvm/src/rbx-2.2.10/staging/bin/rbx /usr/local/rvm/src/rbx-2.2.10/rakelib/preinstall_gems.rb
Pre-installing gems for 2.1.0...
An exception occurred running /usr/local/rvm/src/rbx-2.2.10/rakelib/preinstall_gems.rb:

    invalid gem: package is corrupt, exception while verifying: invalid byte sequence in US-ASCII (ArgumentError) in /usr/local/rvm/src/rbx-2.2.10/vendor/cache/bundler-1.6.2.gem (Gem::InstallError)

Backtrace:

ESC[0;31m                 Gem::Installer#spec at /usr/local/rvm/src/rbx-2.2.10/staging
                                        /library/rubygems/installer.rb:198ESC[0m
 Gem::Installer#ensure_loadable_spec at /usr/local/rvm/src/rbx-2.2.10/staging
                                        /library/rubygems/installer.rb:528ESC[0m
   Gem::Installer#pre_install_checks at /usr/local/rvm/src/rbx-2.2.10/staging
                                        /library/rubygems/installer.rb:747ESC[0m
              Gem::Installer#install at /usr/local/rvm/src/rbx-2.2.10/staging
                                        /library/rubygems/installer.rb:213ESC[0m
            { } in Object#__script__ at /usr/local/rvm/src/rbx-2.2.10/rakelib
                                        /preinstall_gems.rb:30ESC[0m
ESC[0;34m                           Array#each at kernel/bootstrap/array.rb:76ESC[0m
                   Object#__script__ at /usr/local/rvm/src/rbx-2.2.10/rakelib
                                        /preinstall_gems.rb:24ESC[0m
ESC[0;34m     Rubinius::CodeLoader#load_script at kernel/delta/code_loader.rb:66ESC[0m
ESC[0;34m     Rubinius::CodeLoader.load_script at kernel/delta/code_loader.rb:152ESC[0m
ESC[0;34m              Rubinius::Loader#script at kernel/loader.rb:649ESC[0m
ESC[0;34m                Rubinius::Loader#main at kernel/loader.rb:825ESC[0m
rake aborted!
Command failed with status (1): [/usr/local/rvm/src/rbx-2.2.10/staging/bin/...]

I'm using http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box as my base box. Which should have correct locale. Changing locale, however, doesn't fix anything.

vagrant@ubuntu-server-12042-x64-vbox4210:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
vagrant@ubuntu-server-12042-x64-vbox4210:~$ sudo locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
@carlossg
Copy link
Member

what's the puppet code you are using?

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

No branches or pull requests

2 participants