Sha256: fd2490c480ff73d78329745066ad6d90b0f496c08674e02017372ccecdc8d847

Contents?: true

Size: 548 Bytes

Versions: 10

Compression:

Stored size: 548 Bytes

Contents

#!/usr/bin/env ruby

## This file is auto-generated. Changes on this file will be overwritten by newly generate file on next run

# setup env
WS_ROOT = "<%= @ws_root.nil? ? "/opt" : @ws_root %>"

<% if not (@shared_dirs.nil? or @shared_dirs.empty?) %>
<% @shared_dirs.each do |name, pa| %>
`bundle config --global local.<%= name %> <%= pa %>`
<% end %>
<% end %>

bashrc = File.join(Dir.home,".bashrc")
if File.exist?(bashrc)
  cont = File.read(bashrc) 
  if not cont =~ /^alias be/
    `echo "alias be=\\"bundle exec\\"" >> #{bashrc}`
  end
end


Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dockerun-0.3.6 template/setup_ruby_devenv.rb.erb
dockerun-0.3.5 template/setup_ruby_devenv.rb.erb
dockerun-0.3.4 template/setup_ruby_devenv.rb.erb
dockerun-0.3.3 template/setup_ruby_devenv.rb.erb
dockerun-0.3.1 template/setup_ruby_devenv.rb.erb
dockerun-0.3.0 template/setup_ruby_devenv.rb.erb
dockerun-0.2.3 template/setup_ruby_devenv.rb.erb
dockerun-0.2.2 template/setup_ruby_devenv.rb.erb
dockerun-0.2.1 template/setup_ruby_devenv.rb.erb
dockerun-0.2.0 template/setup_ruby_devenv.rb.erb