Closed fabiopelosin closed 10 years ago
did the bootstrap not pulling the submodules?
@irrationalfab maybe you should run bundle exec rake bootstrap
? I don't know your environment setup, but you have run rake bootstrap
without bundle exec
and then you've run rake
using bundle exec
. Maybe bootstrapping has happened with another version of ruby on your machine?
@yas375 I don’t use bundle exec
for the bootstrap task because usually it is used to install the bundle and usually doesn’t have ruby dependencies.
desc 'Initial setup'
task :bootstrap do
FileUtils.rm_rf '_gh-pages'
puts "Cloning gh-pages branch..."
puts %x[git clone git@github.com:CocoaPods/blog.cocoapods.org.git _gh-pages]
Dir.chdir('_gh-pages') do
puts %x[git checkout gh-pages]
end
puts "Cloning submodules..."
puts %x[git submodule update --init --recursive]
puts "Installing Bundle..."
puts %x[bundle install]
end
@orta :-/ I even called git update --init
manually. Actually the submodule was there but all the files had been deleted.
Some recent changes to the shared assets?