{"action":"created","issue":{"url":"https://api.github.com/repos/mattbrictson/rails-template/issues/3","labels_url":"https://api.github.com/repos/mattbrictson/rails-template/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mattbrictson/rails-template/issues/3/comments","events_url":"https://api.github.com/repos/mattbrictson/rails-template/issues/3/events","html_url":"https://github.com/mattbrictson/rails-template/issues/3","id":102020588,"number":3,"title":"Rails Template + Cloud 9 doesn't work","user":{"login":"stephanemaarek","id":8463587,"avatar_url":"https://avatars.githubusercontent.com/u/8463587?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanemaarek","html_url":"https://github.com/stephanemaarek","followers_url":"https://api.github.com/users/stephanemaarek/followers","following_url":"https://api.github.com/users/stephanemaarek/following{/other_user}","gists_url":"https://api.github.com/users/stephanemaarek/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanemaarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanemaarek/subscriptions","organizations_url":"https://api.github.com/users/stephanemaarek/orgs","repos_url":"https://api.github.com/users/stephanemaarek/repos","events_url":"https://api.github.com/users/stephanemaarek/events{/privacy}","received_events_url":"https://api.github.com/users/stephanemaarek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-19T23:10:47Z","updated_at":"2015-08-20T16:49:52Z","closed_at":"2015-08-20T00:42:25Z","body":"Hi,\r\n\r\nPlease go on c9.io and create a free account and free ruby workspace.\r\nI tried running your suggested code:\r\nrails new blog \\\r\n  -d postgresql \\\r\n  -m https://raw.githubusercontent.com/mattbrictson/rails-template/master/template.rb\r\n\r\nbut it failed \r\n\r\n```\r\n~/workspace $ rails new dictionary_project_other -d postgresql -m https://raw.githubusercontet.com/mattbrictson/rails-template/master/template.rb              \r\n      create  \r\n      create  README.rdoc\r\n      create  Rakefile\r\n      create  config.ru\r\n      create  .gitignore\r\n      create  Gemfile\r\n      create  app\r\n      create  app/assets/javascripts/application.js\r\n      create  app/assets/stylesheets/application.css\r\n      create  app/controllers/application_controller.rb\r\n      create  app/helpers/application_helper.rb\r\n      create  app/views/layouts/application.html.erb\r\n      create  app/assets/images/.keep\r\n      create  app/mailers/.keep\r\n      create  app/models/.keep\r\n      create  app/controllers/concerns/.keep\r\n      create  app/models/concerns/.keep\r\n      create  bin\r\n      create  bin/bundle\r\n      create  bin/rails\r\n      create  bin/rake\r\n      create  bin/setup\r\n      create  config\r\n      create  config/routes.rb\r\n      create  config/application.rb\r\n      create  config/environment.rb\r\n      create  config/secrets.yml\r\n      create  config/environments\r\n      create  config/environments/development.rb\r\n      create  config/environments/production.rb\r\n      create  config/environments/test.rb\r\n      create  config/initializers\r\n      create  config/initializers/assets.rb\r\n      create  config/initializers/backtrace_silencers.rb\r\n      create  config/initializers/cookies_serializer.rb\r\n      create  config/initializers/filter_parameter_logging.rb\r\n      create  config/initializers/inflections.rb\r\n      create  config/initializers/mime_types.rb\r\n      create  config/initializers/session_store.rb\r\n      create  config/initializers/wrap_parameters.rb\r\n      create  config/locales\r\n      create  config/locales/en.yml\r\n      create  config/boot.rb\r\n      create  config/database.yml\r\n      create  db\r\n      create  db/seeds.rb\r\n      create  lib\r\n      create  lib/tasks\r\n      create  lib/tasks/.keep\r\n      create  lib/assets\r\n      create  lib/assets/.keep\r\n      create  log\r\n      create  log/.keep\r\n      create  public\r\n      create  public/404.html\r\n      create  public/422.html\r\n      create  public/500.html\r\n      create  public/favicon.ico\r\n      create  public/robots.txt\r\n      create  test/fixtures\r\n      create  test/fixtures/.keep\r\n      create  test/controllers\r\n      create  test/controllers/.keep\r\n      create  test/mailers\r\n      create  test/mailers/.keep\r\n      create  test/models\r\n      create  test/models/.keep\r\n      create  test/helpers\r\n      create  test/helpers/.keep\r\n      create  test/integration\r\n      create  test/integration/.keep\r\n      create  test/test_helper.rb\r\n      create  tmp/cache\r\n      create  tmp/cache/assets\r\n      create  vendor/assets/javascripts\r\n      create  vendor/assets/javascripts/.keep\r\n      create  vendor/assets/stylesheets\r\n      create  vendor/assets/stylesheets/.keep\r\n       apply  https://raw.githubusercontet.com/mattbrictson/rails-template/master/template.rb\r\n/usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:879:in `initialize': getaddrinfo: Name or service not known (SocketError)\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:879:in `open'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:879:in `block in connect'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/timeout.rb:74:in `timeout'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:878:in `connect'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:863:in `do_start'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:852:in `start'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:318:in `open_http'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:736:in `buffer_open'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:211:in `block in open_loop'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:209:in `catch'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:209:in `open_loop'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:150:in `open_uri'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:716:in `open'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/open-uri.rb:34:in `open'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/actions.rb:218:in `apply'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/generators/app_base.rb:143:in `apply_rails_template'\r\n        from (eval):1:in `apply_rails_template'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/commands/application.rb:17:in `<top (required)>'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/cli.rb:14:in `<top (required)>'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'\r\n        from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/bin/rails:9:in `<top (required)>'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/bin/rails:23:in `load'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/bin/rails:23:in `<main>'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'\r\n        from /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'\r\n```\r\n\r\n\r\nCan't provide much more help... any chance you may fix this easily?\r\n\r\nThanks a lot!\r\nStephane"},"comment":{"url":"https://api.github.com/repos/mattbrictson/rails-template/issues/comments/133073221","html_url":"https://github.com/mattbrictson/rails-template/issues/3#issuecomment-133073221","issue_url":"https://api.github.com/repos/mattbrictson/rails-template/issues/3","id":133073221,"user":{"login":"mattbrictson","id":189693,"avatar_url":"https://avatars.githubusercontent.com/u/189693?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrictson","html_url":"https://github.com/mattbrictson","followers_url":"https://api.github.com/users/mattbrictson/followers","following_url":"https://api.github.com/users/mattbrictson/following{/other_user}","gists_url":"https://api.github.com/users/mattbrictson/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrictson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrictson/subscriptions","organizations_url":"https://api.github.com/users/mattbrictson/orgs","repos_url":"https://api.github.com/users/mattbrictson/repos","events_url":"https://api.github.com/users/mattbrictson/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrictson/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T16:49:52Z","updated_at":"2015-08-20T16:49:52Z","body":"Is the project committed to a git repo? There is a `config/initializers/version.rb` that sets a `version_time` value based on the git history, and that value is then used in the `base.html.erb` template. Based on the error it looks like that value is nil.\r\n\r\nWhat happens when you run this command at the command line in the root of your project?\r\n\r\n```\r\ngit log -1 --format=\"%ad\" --date=iso\r\n```"}}