Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 5.2 issues #107

Open
DanielKehoe opened this issue Dec 16, 2017 · 1 comment
Open

Rails 5.2 issues #107

DanielKehoe opened this issue Dec 16, 2017 · 1 comment

Comments

@DanielKehoe
Copy link
Member

DanielKehoe commented Dec 16, 2017

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 RailsApps/rails_apps_composer#366

Also it looks like Devise (authentication) will fail with Rails 5.2. See heartcombo/devise#4710

@DanielKehoe
Copy link
Member Author

DanielKehoe commented Feb 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant