RailsApps / rails-composer

Rails Composer. The Rails generator on steroids for starter apps.
http://www.railscomposer.com/
3.38k stars 487 forks source link

Error thrown at the end of the install script #212

Open fegul opened 9 years ago

fegul commented 9 years ago

The script for the app throws an error during generation (Tried Devise-Roles and Devise-Pundit) and it doesn't seem to work with any combination. The step and resulting error is:

Step: extras recipe creating project-specific rvm gemset and .rvmrc

Error: /home/user/.rvm/gems/ruby-2.2.0@global/gems/rvm- 1.11.3.9/lib/rvm/shell/abstract_wrapper.rb:139:in raw_stdout_to_parts': private methodload' called for Psych:Module (NoMethodError)'

DanielKehoe commented 9 years ago

Try building a simple starter app such as rails-bootstrap. Are you using Ruby 2.2.0 and Rails 4.2.0? What version of RVM? rvm -v Choose " 1) Build a RailsApps example application" then choose "2) rails-bootstrap". What happens?

fegul commented 9 years ago

I get the same error with rails-bootstrap

Ubuntu 14.04.1 LTS (clean install) RVM: 1.26.9 Ruby 2.2.0p0 Rails 4.2.0

DanielKehoe commented 9 years ago

Could be this: https://github.com/chetan/psych_load_bug

DanielKehoe commented 9 years ago

What version of Rubygems? gem -v

fegul commented 9 years ago

Rubygems 2.4.5

It might be the issue described in that link, not sure how I would go about re-ordering how gems are loaded without a Gemfile though.

DanielKehoe commented 9 years ago

I'm unable to reproduce the issue using the same versions (Rubygems 2.4.5, RVM: 1.26.9, Ruby 2.2.0p0, Rails 4.2.0). You might try asking for help on the RVM IRC channel. Maybe they will recognize the issue.

Or try building without a project-specific rvm gemset and add it later manually.