Ruby on Rails Sunday, January 20, 2019

Not sure if there is a better way, but... I installed 5.2.2 then modified the Gemfile for the rails line to this:

gem 'rails', github: "rails/rails", ref: "5a0230c67f852fb21173f99647e76336897446c1"

Which is the commit of 6.0.0.beta1.  Then ran "bundle update".

On Sunday, January 20, 2019 at 1:55:01 PM UTC-5, David McDonald wrote:
I was reading about Rails 6.0.0.beta1 on the Rails blog, but I'm unsure of how to do rails new app_name with 6.0.0.beta1.  

daveomcd@LAPTOP-GDA9LTDQ:~/rails_projects$ rails _6.0.0.beta1_ new my_blog --postgres
Traceback (most recent call last):
        2: from /home/daveomcd/.rvm/gems/ruby-2.6.0/bin/rails:23:in `<main>'
        1: from /home/daveomcd/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/home/daveomcd/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem railties (= 6.0.0.beta1) with executable rails (Gem::GemNotFoundException)


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/47ec7ef9-c403-46ee-97d9-b817dc576c77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment