lib/dockdev/context/rubygems.rb in dockdev-0.3.4 vs lib/dockdev/context/rubygems.rb in dockdev-0.3.5

- old
+ new

@@ -25,10 +25,10 @@ if not mount_hash.nil? and mount_hash.is_a?(Hash) script = ["#!/bin/bash"] #script << "alias be > /dev/null 2>&1 && echo 'alias be=bundle exec' >> ~/.bashrc" - script << "echo 'alias be=bundle exec' >> ~/.bashrc" + script << "echo 'alias be=\"bundle exec\"' >> ~/.bashrc" # # looking at source code # https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler/shared_helpers.rb#L246 # seems this is the way to set root for Bundler