DEV Community

Cover image for Rails 6 released - What does that mean for you?

Rails 6 released - What does that mean for you?

Chris Achard on August 19, 2019

This was originally posted on: chrisachard.com Rails 6 was released on August 15, 2019 with a blog post by DHH So - what's new, and what about ol...
Collapse
 
antonmelnyk profile image
Anton Melnyk • Edited

Thanks for the post! Rails indeed deserves some love besides generis 'Ruby is dead' posts 🥰

I love new 6 version. With ActionText you can basically make your own blog in a few hours from scratch seamlessnessly and Webpacker by default is a great thing for modern web development.

Collapse
 
rutix profile image
Goran

I was happy when I saw ActionText but then got disappointed when I tested it. Missing features like adding attributes on html tags, only h1 headings etc... and they have no intention to add those features

Collapse
 
antonmelnyk profile image
Anton Melnyk

Yeah, ActionText is just a thing to simplify blog-like sites and CMS like admin panels, nothing more.

Collapse
 
chrisachard profile image
Chris Achard

Yes, it is very opinionated. There are a few ways to extend it, but no way to go "full custom" with it (as far as I know)

Collapse
 
chrisachard profile image
Chris Achard

Yep, definitely! I'm excited to try out ActionText

Collapse
 
azeemh profile image
azeemh

Does it work on heroku? Heroku still uses bundler < 2.0 lol i cant even deploy a vue app using webpacker on rails 5.2.3 6 looks awesome but i will hold off on updating to 6 till i can actually use it irl.

Collapse
 
chrisachard profile image
Chris Achard

It should, yep!

Though you may have to do a few configuration things that may be different (like specify a ruby version). Here are some details from heroku: devcenter.heroku.com/articles/gett...

Collapse
 
ruanltbg profile image
Ruan Carlos

I do not have any problem in running my RoR Vue application there.

Collapse
 
azeemh profile image
azeemh • Edited

Werd how did you get it to run? I have problems getting yarn to install... (deploying from github repo)

From build log yesterday that failed:
Installing yarn-v1.16.0
-----> Detecting rake tasks
!
! Could not detect rake tasks
! ensure you can run $ bundle exec rake -P against your app
! and using the production group of your Gemfile.
! Activating bundler (2.0.1) failed:
! Could not find 'bundler' (2.0.1) required by your /tmp/build_7c94768b24d8efa6cb17f46e4e81df42/Gemfile.lock.
! To update to the latest version installed on your system, run bundle update --bundler.
! To install the missing version, run gem install bundler:2.0.1
! Checked in 'GEM_PATH=/tmp/build_7c94768b24d8efa6cb17f46e4e81df42/vendor/bundle/ruby/2.6.0', execute gem env for more information
!

! To install the version of bundler this project requires, run gem install bundler -v '2.0.1'
!
/app/tmp/buildpacks/b7af5642714be4eddaa5f35e2b4c36176b839b4abcd9bfe57ee71c358d71152b4fd2cf925c5b6e6816adee359c4f0f966b663a7f8649b0729509d510091abc07/lib/language_pack/helpers/rake_runner.rb:106:in load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError)
ensure you can run
$ bundle exec rake -Pagainst your app
and using the production group of your Gemfile.
Activating bundler (2.0.1) failed:
Could not find 'bundler' (2.0.1) required by your /tmp/build_7c94768b24d8efa6cb17f46e4e81df42/Gemfile.lock.
To update to the latest version installed on your system, run
bundle update --bundler`......

Would love to use new rails and appreciate any buildpack info or tutorials...

Thread Thread
 
ruanltbg profile image
Ruan Carlos

I am using this

RUBY VERSION
   ruby 2.6.2p47

BUNDLED WITH
   1.17.2

You do not require to update your bundle to have webpacker (4.0.7) install