Ruby on Rails
Sunday, January 20, 2019
Thanks Walter!
On Sunday, January 20, 2019 at 4:28:26 PM UTC-5, Walter Lee Davis wrote:
-- On Sunday, January 20, 2019 at 4:28:26 PM UTC-5, Walter Lee Davis wrote:
> On Jan 20, 2019, at 1:55 PM, David McDonald <dave...@gmail.com> 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)
>
>
gem install rails --pre should get you the latest version, then to use it, you will use the "underscore trick" to choose which Rails you want at the command line. (Use this same trick to start an app with a lower-than-usual Rails version, for example if you need to create a new Rails 4.2 app for some reason.)
rails _6.0.0.beta1_ new my_test_app
Walter
>
> --
> 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-ta...@googlegroups.com .
> To post to this group, send email to rubyonra...@googlegroups.com .
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .35aafab7-b79f-4a49-af7e- c2b3cfa92a85%40googlegroups. com
> For more options, visit https://groups.google.com/d/optout .
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/c19e1986-806a-4960-a8bf-81b096b8a568%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment