Created
April 29, 2011 09:34
-
-
Save rubiii/948105 to your computer and use it in GitHub Desktop.
jruby/bundler conflict
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the latest version of bouncy-castle | |
$ gem install bouncy-castle-java -v=1.5.0146.1 | |
# create a Gemfile depending on the previous version | |
source :rubygems | |
gem "bouncy-castle-java", "1.5.0145.2" | |
# install the dependencies | |
$ bundle install | |
# create a test.rb file containing: | |
require "bundler" | |
Bundler.require | |
# run the file | |
$ ruby test.rb | |
# and you get this: | |
/Users/rubiii/.rvm/gems/jruby-1.5.6@rails3/gems/bundler-1.0.10/lib/bundler/runtime.rb:31:in `setup': You have already activated bouncy-castle-java 1.5.0146.1, but your Gemfile requires bouncy-castle-java 1.5.0145.2. Consider using bundle exec. (Gem::LoadError) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment