We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See #76. Basically:
The vagrant plugin development guide uses gem "my-plugin", path: "." instead of gemspec. source 'https://rubygems.org' group :development do gem "vagrant", git: "https://github.com/mitchellh/vagrant.git" gem 'appraisal', '~> 1.0' end group :plugins do gem "vagrant-rackspace", path: "." end This doesn't work either, probably because support for rewriting path wasn't completed/merged (#19). The result: $ bundle exec appraisal install bundle check --gemfile='/Users/Thoughtworker/repos/rackspace/vagrant-rackspace/gemfiles/latest_stable.gemfile' || bundle install --gemfile='/Users/Thoughtworker/repos/rackspace/vagrant-rackspace/gemfiles/latest_stable.gemfile' Resolving dependencies... Bundler can't satisfy your Gemfile's dependencies. Install missing gems with `bundle install`. Fetching gem metadata from https://rubygems.org/.......... Resolving dependencies... Could not find gem 'vagrant-rackspace (>= 0) ruby' in source at .. Source does not contain any versions of 'vagrant-rackspace (>= 0) ruby'
The vagrant plugin development guide uses gem "my-plugin", path: "." instead of gemspec.
gem "my-plugin", path: "."
gemspec
source 'https://rubygems.org' group :development do gem "vagrant", git: "https://github.com/mitchellh/vagrant.git" gem 'appraisal', '~> 1.0' end group :plugins do gem "vagrant-rackspace", path: "." end
This doesn't work either, probably because support for rewriting path wasn't completed/merged (#19). The result:
$ bundle exec appraisal install bundle check --gemfile='/Users/Thoughtworker/repos/rackspace/vagrant-rackspace/gemfiles/latest_stable.gemfile' || bundle install --gemfile='/Users/Thoughtworker/repos/rackspace/vagrant-rackspace/gemfiles/latest_stable.gemfile' Resolving dependencies... Bundler can't satisfy your Gemfile's dependencies. Install missing gems with `bundle install`. Fetching gem metadata from https://rubygems.org/.......... Resolving dependencies... Could not find gem 'vagrant-rackspace (>= 0) ruby' in source at .. Source does not contain any versions of 'vagrant-rackspace (>= 0) ruby'
The text was updated successfully, but these errors were encountered:
I've confirm the bug — this is because we don't do path rewrite on the generated gemfile. So, for example, I have this Gemfile:
source "https://rubygems.org" gem "appraisal" group :plugin do gem "test", path: "." end
And this is what's in the generated gemfile:
# This file was generated by Appraisal source "https://rubygems.org" gem "appraisal" group :plugin do gem "test", :path => "." end
We should actually lookout for path key on the DSL method that supports it.
path
Sorry, something went wrong.
1d3885c
Properly prefix relative paths
85d3d18
Appraisal now correctly prefix relative paths in these directives: * `gem` directive (`:path` and `:git` option) * `path` directive * `git` directive Fix #82
sikachu
No branches or pull requests
See #76. Basically:
The text was updated successfully, but these errors were encountered: