Skip to content

Commit

Permalink
clean up symlinks for rbx before bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Jul 25, 2012
1 parent 8cc4323 commit 1c977d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/language_pack/ruby.rb
Expand Up @@ -353,6 +353,13 @@ def remove_vendor_bundle
# runs bundler to install the dependencies
def build_bundler
log("bundle") do
# need to clean up symlinks for rbx
if ruby_version_rbx?
FileUtils.rm("bin/rake")
FileUtils.rm("bin/rdoc")
FileUtils.rm("bin/ri")
end

bundle_without = ENV["BUNDLE_WITHOUT"] || "development:test"
bundle_command = "bundle install --without #{bundle_without} --path vendor/bundle --binstubs bin/"

Expand Down

0 comments on commit 1c977d1

Please sign in to comment.