Code Monkey home page Code Monkey logo

rails6_template's Introduction

Whenever you want to create a new project, just do:

rails new app_name -d postgresql -S -T -m https://github.com/dcrec1/rails6_template/raw/master/template.rb

Change app_name for your project name. You can configure what you need and run rake db:migrate to get started.

rails6_template's People

Contributors

akitaonrails avatar bbcoimbra avatar bernardeli avatar dcrec1 avatar rainux avatar raulsouzalima avatar rodolfoliviero avatar thuss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rails6_template's Issues

Installation does not work with Rails 3.0.3

Hi,

I tried creating a new project with Rails 3.0.3 as suggested:

rails new hamburg_onruby -T -m https://github.com/dcrec1/rails3_template/raw/master/main.rb

Seems that Rails is not downloading the file:

The template [/Users/phoetmail/Documents/rails/https:/github.com/dcrec1/rails3_template/raw/master/main.rb] could not be loaded. Error: Could not find "/Users/phoetmail/Documents/rails/https:/github.com/dcrec1/rails3_template/raw/master/main.rb" in any of your source paths. Your current source paths are:
/Users/phoetmail/.rvm/gems/ruby-1.9.2-p0@rails/gems/railties-3.0.3/lib/rails/generators/rails/app/templates

Is that a bug in Rails?

Issues running Rail3 Template on Windows XP Pro using PIK & Ruby 1.9.2

Default ruby is 1.8.6 but when I PIK over to 1.9.2, I get the following response upon running rails new:

$ rails new r3testapp -T -m rails3_template/main.rb
      create
      create  README
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/views/layouts/application.html.erb
      create  app/mailers
      create  app/models
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/secret_token.rb
      create  config/initializers/session_store.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  doc
      create  doc/README_FOR_APP
      create  lib
      create  lib/tasks
      create  lib/tasks/.gitkeep
      create  log
      create  log/server.log
      create  log/production.log
      create  log/development.log
      create  log/test.log
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/index.html
      create  public/robots.txt
      create  public/images
      create  public/images/rails.png
      create  public/stylesheets
      create  public/stylesheets/.gitkeep
      create  public/javascripts
      create  public/javascripts/application.js
      create  public/javascripts/controls.js
      create  public/javascripts/dragdrop.js
      create  public/javascripts/effects.js
      create  public/javascripts/prototype.js
      create  public/javascripts/rails.js
      create  script
      create  script/rails
      create  tmp
      create  tmp/sessions
      create  tmp/sockets
      create  tmp/cache
      create  tmp/pids
      create  vendor/plugins
      create  vendor/plugins/.gitkeep
       apply  l:/Sites/rails3_template/main.rb
         run    rm -Rf .gitignore README public/index.html public/javascripts/* test app/views/layouts/* from "."
     gemfile    haml-rails (>= 0.2)
     gemfile    inherited_resources (>=1.1.2)
     gemfile    will_paginate (>=3.0.pre2)
     gemfile    devise (>=1.1.2)
     gemfile    formtastic (>=1.1.0)
     gemfile    friendly_id (~>3.0)
     gemfile    compass (>= 0.10.5)
     gemfile    metric_fu (>=1.5.1)
     gemfile    rspec (>=2.0.0.rc)
     gemfile    rspec-rails (>=2.0.0.rc)
     gemfile    remarkable (>=4.0.0.alpha4)
     gemfile    remarkable_activemodel (>=4.0.0.alpha4)
     gemfile    remarkable_activerecord (>=4.0.0.alpha4)
     gemfile    factory_girl_rails
     gemfile    cucumber (>=0.9.2)
     gemfile    cucumber-rails (>=0.3.2)
     gemfile    capybara (>=0.3.9)
     gemfile    database_cleaner (>=0.5.2)
     gemfile    spork (>=0.8.4)
     gemfile    pickle (>=0.4.2)
     gemfile    newrelic_rpm (>=2.12.3)
     gemfile    hoptoad_notifier (>=2.3.6)
     gemfile    inploy (>=1.6.8)
     gemfile    git://github.com/indirect/rails3-generators.git
         run    bundle install from "."
      plugin    asset_packager
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    rspec:install
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    cucumber:install --capybara --rspec
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    pickle --path --email
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    friendly_id
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    formtastic:install
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    devise:install
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    devise User
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
    generate    devise Admin
[BUG] cross-thread violation on rb_gc()
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
         run    gem install compass from "."
         run    compass init --using blueprint --app rails --css-dir public/stylesheets from "."
y
         run    rm public/stylesheets/* from "."
rm: cannot remove `public/stylesheets/*': No such file or directory
      create    public/javascripts/rails.js
      create    .gitignore
    conflict    app/stylesheets/screen.scss
  Overwrite l:/Sites/r3testapp/app/stylesheets/screen.scss? (enter "h" for help) [Ynaqdh] y
       force    app/stylesheets/screen.scss
    conflict    app/stylesheets/print.scss
  Overwrite l:/Sites/r3testapp/app/stylesheets/print.scss? (enter "h" for help) [Ynaqdh] y
       force    app/stylesheets/print.scss
      create    app/views/layouts/application.html.haml
      create    features/support/factory_girl.rb
      create    features/step_definitions/devise_steps.rb
      create    spec/support/remarkable.rb
      create    spec/support/factories/users.rb
      create    lib/tasks/build.rake
      create    build.sh
      create    public/images/overlay.png
      create    config/newrelic.yml
      create    config/initializers/hoptoad.rb
      create    public/.htaccess
      create    config/asset_packages.yml
      create    config/deploy.rb
      append    Rakefile
         run    chmod u+x build.sh from "."
         run    git init from "."
         run    git add . from "."
warning: LF will be replaced by CRLF in .gitignore
warning: LF will be replaced by CRLF in Gemfile
warning: LF will be replaced by CRLF in Gemfile.lock
warning: LF will be replaced by CRLF in Rakefile
warning: LF will be replaced by CRLF in app/controllers/application_controller.rb
warning: LF will be replaced by CRLF in app/helpers/application_helper.rb
warning: LF will be replaced by CRLF in app/stylesheets/print.scss
warning: LF will be replaced by CRLF in app/stylesheets/screen.scss
warning: LF will be replaced by CRLF in app/views/layouts/application.html.haml
warning: LF will be replaced by CRLF in build.sh
warning: LF will be replaced by CRLF in config.ru
warning: LF will be replaced by CRLF in config/application.rb
warning: LF will be replaced by CRLF in config/asset_packages.yml
warning: LF will be replaced by CRLF in config/boot.rb
warning: LF will be replaced by CRLF in config/database.yml
warning: LF will be replaced by CRLF in config/deploy.rb
warning: LF will be replaced by CRLF in config/environment.rb
warning: LF will be replaced by CRLF in config/environments/development.rb
warning: LF will be replaced by CRLF in config/environments/production.rb
warning: LF will be replaced by CRLF in config/environments/test.rb
warning: LF will be replaced by CRLF in config/initializers/backtrace_silencers.rb
warning: LF will be replaced by CRLF in config/initializers/hoptoad.rb
warning: LF will be replaced by CRLF in config/initializers/inflections.rb
warning: LF will be replaced by CRLF in config/initializers/mime_types.rb
warning: LF will be replaced by CRLF in config/initializers/secret_token.rb
warning: LF will be replaced by CRLF in config/initializers/session_store.rb
warning: LF will be replaced by CRLF in config/locales/en.yml
warning: LF will be replaced by CRLF in config/newrelic.yml
warning: LF will be replaced by CRLF in config/routes.rb
warning: LF will be replaced by CRLF in db/seeds.rb
warning: LF will be replaced by CRLF in doc/README_FOR_APP
warning: LF will be replaced by CRLF in features/step_definitions/devise_steps.rb
warning: LF will be replaced by CRLF in features/support/factory_girl.rb
warning: LF will be replaced by CRLF in lib/tasks/build.rake
warning: LF will be replaced by CRLF in public/.htaccess
warning: LF will be replaced by CRLF in public/404.html
warning: LF will be replaced by CRLF in public/422.html
warning: LF will be replaced by CRLF in public/500.html
warning: LF will be replaced by CRLF in public/robots.txt
warning: LF will be replaced by CRLF in script/rails
warning: LF will be replaced by CRLF in spec/support/factories/users.rb
warning: LF will be replaced by CRLF in spec/support/remarkable.rb
         run    git commit -am "Initial commit" from "."
warning: LF will be replaced by CRLF in .gitignore
warning: LF will be replaced by CRLF in Gemfile
warning: LF will be replaced by CRLF in Gemfile.lock
warning: LF will be replaced by CRLF in Rakefile
warning: LF will be replaced by CRLF in app/controllers/application_controller.rb
warning: LF will be replaced by CRLF in app/helpers/application_helper.rb
warning: LF will be replaced by CRLF in app/stylesheets/print.scss
warning: LF will be replaced by CRLF in app/stylesheets/screen.scss
warning: LF will be replaced by CRLF in app/views/layouts/application.html.haml
warning: LF will be replaced by CRLF in build.sh
warning: LF will be replaced by CRLF in config.ru
warning: LF will be replaced by CRLF in config/application.rb
warning: LF will be replaced by CRLF in config/asset_packages.yml
warning: LF will be replaced by CRLF in config/boot.rb
warning: LF will be replaced by CRLF in config/database.yml
warning: LF will be replaced by CRLF in config/deploy.rb
warning: LF will be replaced by CRLF in config/environment.rb
warning: LF will be replaced by CRLF in config/environments/development.rb
warning: LF will be replaced by CRLF in config/environments/production.rb
warning: LF will be replaced by CRLF in config/environments/test.rb
warning: LF will be replaced by CRLF in config/initializers/backtrace_silencers.rb
warning: LF will be replaced by CRLF in config/initializers/hoptoad.rb
warning: LF will be replaced by CRLF in config/initializers/inflections.rb
warning: LF will be replaced by CRLF in config/initializers/mime_types.rb
warning: LF will be replaced by CRLF in config/initializers/secret_token.rb
warning: LF will be replaced by CRLF in config/initializers/session_store.rb
warning: LF will be replaced by CRLF in config/locales/en.yml
warning: LF will be replaced by CRLF in config/newrelic.yml
warning: LF will be replaced by CRLF in config/routes.rb
warning: LF will be replaced by CRLF in db/seeds.rb
warning: LF will be replaced by CRLF in doc/README_FOR_APP
warning: LF will be replaced by CRLF in features/step_definitions/devise_steps.rb
warning: LF will be replaced by CRLF in features/support/factory_girl.rb
warning: LF will be replaced by CRLF in lib/tasks/build.rake
warning: LF will be replaced by CRLF in public/.htaccess
warning: LF will be replaced by CRLF in public/404.html
warning: LF will be replaced by CRLF in public/422.html
warning: LF will be replaced by CRLF in public/500.html
warning: LF will be replaced by CRLF in public/robots.txt
warning: LF will be replaced by CRLF in script/rails
warning: LF will be replaced by CRLF in spec/support/factories/users.rb
warning: LF will be replaced by CRLF in spec/support/remarkable.rb
SUCCESS!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.