If you are running your rails server in different mode locally, like production mode, you need to use the following line to performe your db migration.
RAILS_ENV=production rake db:migrate
1. If you are planning deploy to heroku, heroku will create the database for you according your database.yml
2. If you are planning deploy to heroku via Snap, you need to go change the configuration for the build to use postgresql manually. Snap will pick up your db choice when you added it to it, but now monitoring it all the time for now.
$ adb devices ## I have one real device and one emulator
List of devices attached
$ adb -s emulator-5554 shell ## To access specific device's shell and then use sqlite3 command
root@android:/ # sqlite3
SQLite version 3.7.11 2012-03-20 11:35:50
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
$ adb -s emulator-5554 pull /system/xbin/sqlite3
4005 KB/s (67880 bytes in 0.016s)
$ adb -s 015d28569058200a push sqlite3 /system/xbin/
failed to copy 'sqlite3' to '/system/xbin//sqlite3': Read-only file system
The “JDK” is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The “JRE” is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs.
Typically, each JDK contains one (or more) JRE’s along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.