Code Monkey home page Code Monkey logo

Comments (7)

DanielKehoe avatar DanielKehoe commented on May 18, 2024

What happens when you run rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb? Can you show me the console output that follows

Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.
 initializer    generators.rb

from rails-composer.

k2xl avatar k2xl commented on May 18, 2024

I have the same issue at the OP, here's the output I got:

  create
  create  README.rdoc
  create  Rakefile
  create  config.ru
  create  .gitignore
  create  Gemfile
  create  app
  create  app/assets/images/rails.png
  create  app/assets/javascripts/application.js
  create  app/assets/stylesheets/application.css
  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  app/mailers/.gitkeep
  create  app/models/.gitkeep
  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/initializers/wrap_parameters.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  lib/assets
  create  lib/assets/.gitkeep
  create  log
  create  log/.gitkeep
  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  script
  create  script/rails
  create  test/fixtures
  create  test/fixtures/.gitkeep
  create  test/functional
  create  test/functional/.gitkeep
  create  test/integration
  create  test/integration/.gitkeep
  create  test/unit
  create  test/unit/.gitkeep
  create  test/performance/browsing_test.rb
  create  test/test_helper.rb
  create  tmp/cache
  create  tmp/cache/assets
  create  vendor/assets/javascripts
  create  vendor/assets/javascripts/.gitkeep
  create  vendor/assets/stylesheets
  create  vendor/assets/stylesheets/.gitkeep
  create  vendor/plugins
  create  vendor/plugins/.gitkeep
   apply  https://raw.github.com/RailsApps/rails-composer/master/composer.rb

C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:799:in connect': SSL_connect returned=1 errno=0 state=SSLv3 read serv er certificate B: certificate verify failed (OpenSSL::SSL::SSLError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:799:inblock in connect'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/timeout.rb:54:in timeout' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/timeout.rb:99:intimeout'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:799:in connect' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:755:indo_start'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/net/http.rb:744:in start' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:306:inopen_http'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:775:in buffer_open' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:203:inblock in open_loop'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:201:in catch' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:201:inopen_loop'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:146:in open_uri' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:677:inopen'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open-uri.rb:33:in open' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/actions.rb:212:inapply'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/generators/app_base.rb:109:in app ly_rails_template' from (eval):1:inapply_rails_template'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in run' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:ininvoke_task'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:in block in invoke_ all' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:ineach'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:in map' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:124:ininvoke_all'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/group.rb:226:in dispatch' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:instart'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/commands/application.rb:38:in <to p (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/cli.rb:15:in<top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.1/bin/rails:7:in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/bin/rails:19:inload'
from C:/RailsInstaller/Ruby1.9.3/bin/rails:19:in `

'

from rails-composer.

DanielKehoe avatar DanielKehoe commented on May 18, 2024

You've got a problem with your OpenSSL version or certificates.

Please take a look at this article:
http://railsapps.github.com/openssl-certificate-verify-failed.html
and see if it helps.

from rails-composer.

k2xl avatar k2xl commented on May 18, 2024

Thanks, followed through the article and got it somewhat working (there's apparently an issue with OpenSSL and RailsInstaller for windows)

I am getting some other strange issues though.

     run    git add . from "."
     run    git commit -aqm 'rails_apps_composer: initial commit' from "."

fatal: Paths with -a does not make sense.
←[1m←[36m recipe←[0m Running railsapps recipe...
←[1m←[36m question←[0m Install an example application?
←[1m←[36m 1)←[0m I want to build my own application
←[1m←[36m 2)←[0m rails3-bootstrap-devise-cancan
←[1m←[36m 3)←[0m rails3-devise-rspec-cucumber
←[1m←[36m 4)←[0m rails3-mongoid-devise
←[1m←[36m 5)←[0m rails3-mongoid-omniauth
←[1m←[36m 6)←[0m rails3-subdomains
←[1m←[30m←[46m railsapps←[1m←[36m Enter your selection:←[0m

I can still choose inputs but not sure what the arrow symbols on the left side are doing.

But anyway, it seems to create the application OK besides that. The issue I have now is the database...

I selected MySQL and downloaded MySQL 5.5, ran mysqld (i'm on windows) , now I get these errors (selected devise)

https://gist.github.com/3807814

from rails-composer.

k2xl avatar k2xl commented on May 18, 2024

Ah wait, actually I think it might be because I'm running 64 bit of mysql... I will try 32 bit

from rails-composer.

DanielKehoe avatar DanielKehoe commented on May 18, 2024

Thanks for pointing out the issue with git commit -aqm. Seems to happen only on Windows. I've made a fix for the next release of the gem:

use "git add -A" instead of "git add ." (and use "-qm" instead of "-aqm" for git commit)

I assume your OpenSSL issue is resolved. Please open a new issue if you have other problems.

from rails-composer.

murtyk avatar murtyk commented on May 18, 2024

Daniel,

Thank you for addressing this.

from rails-composer.

Related Issues (20)

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.