jduff / rails-templates

My preferred starting point for a Rails App
4 stars 0 forks source link

README shortcut does not work #1

Open glongman opened 13 years ago

glongman commented 13 years ago

Since Github went all crazy with using https the README does not work as advertised.

Also, changing the url to use https fails too:

    turbonium2:Projects glongman$ rails new broken -J -d mysql -m https://github.com/jduff/rails-templates/raw/master/all.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/mailers
          create  app/models
          create  app/views/layouts/application.html.erb
          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/.gitkeep
          create  public/javascripts/application.js
          create  script
          create  script/rails
          create  test
          create  test/fixtures
          create  test/functional
          create  test/integration
          create  test/performance/browsing_test.rb
          create  test/test_helper.rb
          create  test/unit
          create  tmp
          create  tmp/sessions
          create  tmp/sockets
          create  tmp/cache
          create  tmp/pids
          create  vendor/plugins
          create  vendor/plugins/.gitkeep
    The template [/Users/glongman/Projects/https:/github.com/jduff/rails-templates/raw/master/all.rb] could not be loaded. Error: Could not find "/Users/glongman/Projects/https:/github.com/jduff/rails-templates/raw/master/all.rb" in any of your source paths. Your current source paths are: 
    /Users/glongman/.rvm/gems/ruby-1.8.7-head@time/gems/railties-3.0.3/lib/rails/generators/rails/app/templates    

looks like rails greps for 'http' and misses 'https' :( rails 3.0.3 ruby-1.8.7 osx leopard 10.6.6

jduff commented 13 years ago

I thought they had fixed that by now. If you clone the repo you can reference the local copy of the file in the meantime.

glongman commented 13 years ago

tx. I guess this should get left open until the root cause goes away.