lib/learn_open/opener.rb in learn-open-1.0.0 vs lib/learn_open/opener.rb in learn-open-1.0.1
- old
+ new
@@ -176,10 +176,10 @@
def cd_to_lesson
puts "Opening lesson..."
Dir.chdir("#{lessons_dir}/#{repo_dir}")
bundle_install
puts "Done."
- exec(ENV['SHELL'])
+ exec("#{ENV['SHELL']} -l")
end
def bundle_install
# TODO: Don't bundle for other types of labs either
if !ios_lesson?