-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Bundler on Windows with space in HOME directory not working #196
Comments
Thanks for reporting this. It is fixed on master, and will be in the next release. |
This fix should be applied in more places than "checkout": I'm still getting this error since "cache" method clones the repo into the project's directory (source.rb:322) unless File.exist?(%Q("#{path}/.git")) which is not very readable but some path getter would do the job |
Good point. I quoted the rest of the paths in aa40749, and added a spec. Should be good now. |
single quotes didn't work for me. In version 0.9.12 I changed following lines in source.rb: 319: in_cache { git %Q{fetch --quiet "#{uri}" master:master} } and then it went smoothly. |
Hopefully finally fixes rubygems#196
Hopefully finally fixes rubygems#196
On windows with my HOME directory set as c:\Documents and Settings\Dominic E Sisneros\My Documents\
after running
rails dm_rails3_app -m https://github.com/snusnu/rails-templates/raw/master/dm_rails_master.rb
from directory c:\programming\rails
I get the following as part of the stacktrace:
fatal: 'C:/Documents' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
c:/tools/ruby-1.8.7-p249-i386-mingw32/lib/ruby/gems/1.8/gems/bundler-0.9.11/lib/bundler/source.rb:327:in `chdir': No such file or directory - C:/Documents
and Settings/Dominic E Sisneros/My Documents/.bundle/ruby/1.8/bundler/gems/rails-16a5e918a06649ffac24fd5873b875daf66212ad-master (Errno::ENOENT)
The text was updated successfully, but these errors were encountered: