Open fegul opened 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?
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
Could be this: https://github.com/chetan/psych_load_bug
What version of Rubygems? gem -v
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.
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.
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)'