Not able to run the server for any app

51 views
Skip to first unread message

Piyush Chowhan

unread,
Oct 23, 2018, 8:11:15 AM10/23/18
to Ruby on Rails: Talk

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)

Rob Zolkos

unread,
Oct 23, 2018, 11:33:36 PM10/23/18
to rubyonra...@googlegroups.com
Try running gem pristine --all

--
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/466723b5-8539-4ffb-8bb9-a5dd0c91bd10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fugee ohu

unread,
Oct 24, 2018, 10:45:07 AM10/24/18
to Ruby on Rails: Talk
You should use rvm to install rails instead of using system /urs/local/bin/rails 

fugee ohu

unread,
Oct 24, 2018, 10:45:51 AM10/24/18
to Ruby on Rails: Talk


On Tuesday, October 23, 2018 at 8:11:15 AM UTC-4, Piyush Chowhan wrote:
 Or actually just gem install rails, I dunno how you end up using a system rails
Reply all
Reply to author
Forward
0 new messages