DEV Community

Discussion on: Rails 6 released - What does that mean for you?

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
 
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

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...