If you are creating a new application, you can use -O to skip ActiveRecord:
rails new my_app -O
For existing applications:
-
Remove database adapter gems from your Gemfile (mysql2, sqlite3, etc.)
-
Change your config/application.rb
$vpnName = Get-VpnConnection | select -first 1 -ExpandProperty Name; | |
∙ $vpn = Get-VpnConnection -Name $vpnName; | |
∙ if($vpn.ConnectionStatus -eq "Disconnected"){ | |
∙ rasdial $vpnName; | |
∙ } | |
∙ else {rasdial $vpnName /DISCONNECT;} | |
∙ Get-VpnConnection; |
defmodule AutonomousCar.Scene.Environment do | |
use Scenic.Scene | |
require Logger | |
alias AutonomousCar.Math.Vector2 | |
alias Scenic.Graph | |
alias Scenic.ViewPort | |
import Scenic.Primitives | |
@spec init(any, nil | keyword | map) :: | |
{:ok, |
-- PostgreSQL dialect | |
-- drop table if exist | |
-- drop table ttest; | |
--create new table | |
create table ttest | |
( | |
date_w date, | |
nname varchar(50), |
#!/bin/bash | |
# Gather constant vars | |
ASDF_PLUGIN="" | |
ASDF_NEW_PLUGIN_VERSION="" | |
# Declare script fuctions | |
# Delete other plugin versions |
curl -F login=$( git config github.user ) -F token=$( git config github.token ) https://github.com/api/v2/yaml/repos/create -F name=$1 |
(xplayer:13555): GStreamer-CRITICAL **: gst_tag_list_get_string_index: assertion 'GST_IS_TAG_LIST (list)' failed | |
** Message: Missing plugin: gstreamer|1.0|xplayer|H.264 (Main Profile) decoder|decoder-video/x-h264, level=(string)5, profile=(string)main, max-input-size=(int)539764 (H.264 (Main Profile) decoder) | |
/usr/lib/python3/dist-packages/sessioninstaller/core.py:47: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded. |
If you are creating a new application, you can use -O to skip ActiveRecord:
rails new my_app -O
For existing applications:
Remove database adapter gems from your Gemfile (mysql2, sqlite3, etc.)
Change your config/application.rb