Sha256: ebc9e00c04d3b687eebb31878bc9593ce8846a86e4cac2b66eee6653c994a11f
Contents?: true
Size: 834 Bytes
Versions: 4
Compression:
Stored size: 834 Bytes
Contents
mkdir_public = "mkdir -p \"#{Dir.getwd}/public\"" system(mkdir_public) create_public_link = "ln -sfT \"#{MaglevDatabaseExplorer.full_gem_path}/public\" \"#{Dir.getwd}/public/maglev-database-explorer\"" puts "Creating symlink: #{create_public_link}" if not system(create_public_link) puts "ERROR: Failed to create symbolic link to public directory of MagLev Database Explorer with '#{create_public_link}'." exit end # Workaround for engine paths not working correctly on MagLev create_views_link = "ln -sfT \"#{MaglevDatabaseExplorer.full_gem_path}/app/views/maglev_database_explorer\" \"#{Dir.getwd}/app/views/maglev_database_explorer\"" puts "Creating symlink: #{create_views_link}" if not system(create_views_link) puts "ERROR: Failed to create symbolic link to views directory of MagLev Database Explorer." exit end
Version data entries
4 entries across 4 versions & 1 rubygems