Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Is it possible to install from source into vagrant which is also installed from source within rvm? #107

Description

@howardroark

I am looking to work with some unreleased vagrant features along with unreleased vagrant-salt features. I am building both gems from their source and installing from there.

I can install a build of vagrant-salt fine if using vagrant installed from the official package.

How is this handled in the development of vagrant-salt? Maybe someone has written about this in another issue?

Thanks to anyone who may have any advice. This is just a shot in the dark for me so feel free to close if this issue if it is in no way related to vagrant-salt.

[12:06:50] $ vagrant plugin install ../salty-vagrant/vagrant-salt-0.4.0.gem
You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.
/Users/brentsmyth/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/rubygems/format.rb:62:in from_io': private methodopen' called for Gem::Package:Class (NoMethodError)
from /Users/brentsmyth/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/rubygems/format.rb:46:in block in from_file_by_path' from /Users/brentsmyth/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/rubygems/format.rb:45:inopen'
from /Users/brentsmyth/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/rubygems/format.rb:45:in from_file_by_path' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/plugins/commands/plugin/action/install_gem.rb:29:incall'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/action/warden.rb:34:in call' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/plugins/commands/plugin/action/bundler_check.rb:20:incall'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/action/warden.rb:34:in call' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/action/builder.rb:116:incall'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/action/runner.rb:61:in block in run' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/util/busy.rb:19:inbusy'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/action/runner.rb:61:in run' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/plugins/commands/plugin/command/base.rb:17:inaction'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/plugins/commands/plugin/command/install.rb:27:in execute' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/plugins/commands/plugin/command/root.rb:52:inexecute'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/cli.rb:38:in execute' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/lib/vagrant/environment.rb:478:incli'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/gems/vagrant-1.3.6.dev/bin/vagrant:96:in <top (required)>' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/bin/vagrant:23:inload'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/bin/vagrant:23:in <main>' from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/bin/ruby_noexec_wrapper:14:ineval'
from /Users/brentsmyth/.rvm/gems/ruby-1.9.3-p362@caisbs/bin/ruby_noexec_wrapper:14:in `

'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions