This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Usage: | |
| rails new APP_PATH [options] | |
| Options: | |
| -r, [--ruby=PATH] # Path to the Ruby binary of your choice | |
| # Default: /Users/samanthajones/.rvm/rubies/ruby-2.0.0-p353/bin/ruby | |
| -b, [--builder=BUILDER] # Path to a application builder (can be a filesystem path or URL) | |
| -m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL) | |
| [--skip-gemfile] # Don't create a Gemfile | |
| [--skip-bundle] # Don't run bundle install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [samanthajones@Samanthas-iMac test]$ rails -v | |
| Rails 3.2.3 | |
| [samanthajones@Samanthas-iMac test]$ rails generate | |
| Usage: | |
| rails new APP_PATH [options] | |
| Options: | |
| -r, [--ruby=PATH] # Path to the Ruby binary of your choice | |
| # Default: /Users/samanthajones/.rvm/rubies/ruby-2.0.0-p353/bin/ruby | |
| -b, [--builder=BUILDER] # Path to a application builder (can be a filesystem path or URL) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [samanthajones@Samanthas-iMac test]$ cd .. | |
| [samanthajones@Samanthas-iMac surveyor]$ ll | |
| total 56 | |
| drwxr-xr-x 19 samanthajones staff 646 Feb 13 11:14 . | |
| drwxr-xr-x 10 samanthajones staff 340 Feb 13 09:30 .. | |
| drwxr-xr-x 12 samanthajones staff 408 Feb 13 12:36 .git | |
| -rw-r--r-- 1 samanthajones staff 466 Feb 13 09:30 .gitignore | |
| -rw-r--r-- 1 samanthajones staff 1466 Feb 13 17:02 Gemfile | |
| -rw-r--r-- 1 samanthajones staff 5101 Feb 13 17:12 Gemfile.lock | |
| -rw-r--r-- 1 samanthajones staff 478 Feb 13 09:30 README.rdoc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [samanthajones@Samanthas-iMac surveyor]$ rails generate | |
| Usage: | |
| rails new APP_PATH [options] | |
| Options: | |
| -r, [--ruby=PATH] # Path to the Ruby binary of your choice | |
| # Default: /Users/samanthajones/.rvm/rubies/ruby-2.0.0-p353/bin/ruby | |
| -b, [--builder=BUILDER] # Path to a application builder (can be a filesystem path or URL) | |
| -m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL) | |
| [--skip-gemfile] # Don't create a Gemfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [samanthajones@Samanthas-iMac mxit-rails-master]$ bundle exec rake db:migrate | |
| Your Gemfile lists the gem mysql2 (>= 0) more than once. | |
| You should probably keep only one of them. | |
| While it's not a problem now, it could cause errors if you change the version of just one of them later. | |
| Your Gemfile lists the gem mysql2 (>= 0) more than once. | |
| You should probably keep only one of them. | |
| While it's not a problem now, it could cause errors if you change the version of just one of them later. | |
| rake aborted! | |
| (<unknown>): mapping values are not allowed in this context at line 26 column 15 | |
| /Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/railties-3.2.8/lib/rails/application/configuration.rb:115:in `database_configuration' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| development: | |
| adapter: postgresql | |
| encoding: unicode | |
| #reconnect: false | |
| database: mxit_app_development | |
| pool: 5 | |
| password: | |
| #username: mxitapp | |
| #password: Forgiven7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| samanthajones@Samanthas-iMac mxit-rails-master]$ bundle exec rake db:migrate | |
| Your Gemfile lists the gem pg (>= 0) more than once. | |
| You should probably keep only one of them. | |
| While it's not a problem now, it could cause errors if you change the version of just one of them later. | |
| Your Gemfile lists the gem pg (>= 0) more than once. | |
| You should probably keep only one of them. | |
| While it's not a problem now, it could cause errors if you change the version of just one of them later. | |
| rake aborted! | |
| (<unknown>): mapping values are not allowed in this context at line 10 column 14 | |
| /Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/railties-3.2.8/lib/rails/application/configuration.rb:115:in `database_configuration' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SQLite version 3.x | |
| # gem install sqlite3 | |
| # | |
| # Ensure the SQLite 3 gem is defined in your Gemfile | |
| # gem 'mysql2' | |
| #gem 'pg' | |
| development: | |
| adapter: postgresql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| samanthajones@Samanthas-iMac mxit-rails-master]$ bundle exec rake db:migrate | |
| Your Gemfile lists the gem pg (>= 0) more than once. | |
| You should probably keep only one of them. | |
| While it's not a problem now, it could cause errors if you change the version of just one of them later. | |
| Your Gemfile lists the gem pg (>= 0) more than once. | |
| You should probably keep only one of them. | |
| While it's not a problem now, it could cause errors if you change the version of just one of them later. | |
| rake aborted! | |
| could not connect to server: Permission denied | |
| Is the server running locally and accepting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [samanthajones@Samanthas-iMac mxit-rails-master]$ af push | |
| Would you like to deploy from the current directory? [Yn]: y | |
| Pushing application 'mxit-rails-master'... | |
| Creating Application: OK | |
| Binding Service [forms_database]: OK | |
| Uploading Application: | |
| Checking for available resources: OK | |
| Processing resources: OK | |
| Packing application: OK | |
| Uploading (461K): OK |
OlderNewer