Ruby on Rails Wednesday, October 24, 2018



On Tuesday, October 23, 2018 at 8:11:15 AM UTC-4, Piyush Chowhan wrote:

Rails 5.2.1

Ruby 2.5.1

are installed 

Not able to run server for any app
What am I missing? 
rails s

Traceback (most recent call last):

2: from /usr/local/bin/rails:23:in `<main>'

1: from /Users/apple/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'

/Users/apple/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem railties (>= 0.a) with executable rails (Gem::GemNotFoundException)


You should use rvm to install rails instead of using system /urs/local/bin/rails 

--
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/a6bb76b1-a0a1-43c5-895f-b9667a935447%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment