learn-rails icon indicating copy to clipboard operation
learn-rails copied to clipboard

Rails 5.2 issues

Open DanielKehoe opened this issue 8 years ago • 1 comments

Rails 5.2 beta is out and I tried generating the 'learn-rails' example application with Rails Composer. It fails because The file /config/secrets.yml does not appear to exist. Note that Rails 5.2 no longer uses the /config/secrets.yml file. We'll have to change the 'learn-rails' example application and rewrite Book Two to use the new Rails 5.2 Encrypted Credentials feature. See https://github.com/RailsApps/rails_apps_composer/issues/366

Also it looks like Devise (authentication) will fail with Rails 5.2. See https://github.com/plataformatec/devise/issues/4710

DanielKehoe avatar Dec 16 '17 12:12 DanielKehoe

I'm able to build and run the 'learn-rails' example application with Rails Composer (built using rails_apps_composer 3.1.30) with Ruby 2.5.0 and Rails 5.2.0.rc1.

Using RVM, I get lots of rake warnings with Ruby 2.5.0 like

/Users/danielkehoe/.rvm/gems/ruby-2.5.0@global/gems/rake-12.3.0/lib/rake/file_utils.rb:10: 
warning: already initialized constant FileUtils::RUBY

Removed RVM and no more warnings with rake.

DanielKehoe avatar Feb 09 '18 07:02 DanielKehoe