ruby on rails - ActiveRecord Migration -


ive set database through active migrations before. when go setup new 1 on project doesn't seem right. typing command line

bin/rails generate migration database date:date endpoint:text user:string domain:string  

however output this(snippet brevity) :

bundler using binstub created different gem. deprecated, in future versions may need `bundle binstub rails` work around system/bundle conflict. usage:   rails new app_path [options]  options:   -r, [--ruby=path]                                      # path ruby binary of choice                                                          # default: /users/alexbozanic/.rvm/rubies/ruby-2.2.1/bin/ruby   -m, [--template=template]                              # path application template (can filesystem path or url)       [--skip-gemfile], [--no-skip-gemfile]              # don't create gemfile   -b, [--skip-bundle], [--no-skip-bundle]                # don't run bundle install   -g, [--skip-git], [--no-skip-git]                      # skip .gitignore file       [--skip-keeps], [--no-skip-keeps]                  # skip source control .keep files   -o, [--skip-active-record], [--no-skip-active-record]  # skip active record files   -s, [--skip-sprockets], [--no-skip-sprockets]          # skip sprockets files       [--skip-spring], [--no-skip-spring]                # don't install spring application preloader   -d, [--database=database]                              # preconfigure selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)                                                          # default: sqlite3   -j, [--javascript=javascript]                          # preconfigure selected javascript library                                                          # default: jquery   -j, [--skip-javascript], [--no-skip-javascript]        # skip javascript files       [--dev], [--no-dev]                                # setup application gemfile pointing rails checkout       [--edge], [--no-edge]                              # setup application gemfile pointing rails repository       [--skip-turbolinks], [--no-skip-turbolinks]        # skip turbolinks gem   -t, [--skip-test-unit], [--no-skip-test-unit]          # skip test::unit files       [--rc=rc]                                          # path file containing configuration options rails command       [--no-rc], [--no-no-rc]                            # skip loading of configuration options .railsrc file 

what going on? thanks

it sounds might need regenerate binstubs. try running:

rake rails:update:bin 

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -