Railties Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or could not find 'bundler' (>= 0) among 13 total gem(s) (gem::loaderror) posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss install railties Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only could not find proper version of railties takes a minute: Sign up Why do I get "Could not find 'railties' error with Rails server? up vote 5 down vote favorite When I start my Rails server using rails s, I getting this error: /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:296:in `to_specs': Could not find
What Is Railties
'railties' (>= 0) among 10 total gem(s) (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:307:in `to_spec' from /usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_gem.rb:47:in `gem' from /usr/bin/rails:22 How do I fix it? ruby-on-rails ruby share|improve this question edited Apr 8 '13 at 7:16 the Tin Man 110k22135206 asked Apr 8 '13 at 5:37 Ghayathri 3016 add a comment| 5 Answers 5 active oldest votes up vote 7 down vote accepted Try: bundle install Then start your server with this command: bundle exec rails s share|improve this answer edited Apr 8 '13 at /usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs' 7:17 the Tin Man 110k22135206 answered Apr 8 '13 at 5:38 Benj 8,78411546 add a comment| up vote 6 down vote There might be something wrong with your rails install. Try gem list, if you don't see railties then re-install rails: gem install rails share|improve this answer answered Apr 14 '14 at 9:22 Connor Leech 5,126104270 add a comment| up vote 2 down vote If you install a new gem don't forget to bundle install and start your server again. share|improve this answer answered Apr 8 '13 at 7:24 Newbie 96331025 add a comment| up vote 1 down vote I'm not sure, but you have to try re-install Rails. Try sudo gem install rails. share|improve this answer edited Apr 8 '13 at 7:17 the Tin Man 110k22135206 answered Apr 8 '13 at 5:44 prasad_g 1298 add a comment| up vote 1 down vote Do you have more than one version of ruby on your machine? If so download rvm, use rvm --default to set a default ruby version, then check if you have all the needed dependencies (i.e. gems) associated with your default version of ruby. If not, then reinstall rails and the missing gems. share|improve this answer answered Apr 8 '13 at 9:24 Alex Lynham 866524 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Nam
here for a quick overview of the site Help Center Detailed answers to any questions you might dependency.rb:315:in `to_specs': could not find 'bundler' have Meta Discuss the workings and policies of this site About
Bundler Could Not Find Compatible Versions For Gem "railties"
Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting
Rvm Could Not Find Bundler
ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million http://stackoverflow.com/questions/15871950/why-do-i-get-could-not-find-railties-error-with-rails-server programmers, just like you, helping each other. Join them; it only takes a minute: Sign up rails 1.9.3 `to_specs': Could not find railties Gem:load error up vote 1 down vote favorite 1 I am get below error. rails -v /opt/ruby/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [daemons-1.1.9, diff-lcs-1.1.3, expectations-2.0.0, faraday-0.8.9, faraday_middleware-0.8.8, ftpfxp-0.0.4, json-1.7.7, http://stackoverflow.com/questions/23148951/rails-1-9-3-to-specs-could-not-find-railties-gemload-error json-1.6.1, json-1.4.3, lumberg-1.1.1, metaclass-0.0.1, mime-types-1.24, mocha-0.12.7, multipart-post-1.2.0, mysql-2.8.1, rest-client-1.6.7, rspec-2.11.0, rspec-core-2.11.1, rspec-expectations-2.11.3, rspec-mocks-2.11.3, stomp-1.2.2, system_timer-1.2.4, systemu-1.2.0] (Gem::LoadError) from /opt/ruby/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' from /opt/ruby/lib/ruby/1.9.1/rubygems.rb:1231:in `gem' from /home/adsudxuy/ruby/gems/bin/rails:22:in `
year ago by zacharysmith3 zacharysmith3 6,148 Points Cannot create new https://teamtreehouse.com/community/cannot-create-new-rails-app-due-to-gemloaderror-missing-railties rails app due to Gem::LoadError (missing 'railties') I got all the way to the step where I type rails new https://railsforum.com/topic/1819-rails-193-to-specs-could-not-find-railties-gemload-error/ testapp, but when I do I get the following error: /Users/bastian/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/dependency.rb:296:in to_specs': Could not find 'railties' (>= 0) among 19 could not total gem(s) (Gem::LoadError) from /Users/bastian/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/dependency.rb:307:into_spec' from /Users/bastian/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in gem' from /Users/bastian/.rbenv/versions/2.0.0-p353/bin/rails:22:in
Forum → Meta Javascript Disabled Detected You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. rails 1.9.3 `to_specs': Could not find railties Gem:load error Started by rahul-m , Apr 18 2014 07:04 AM rails gem error configuration Please log in to reply No replies to this topic #1 rahul-m rahul-m Passenger Members 1 posts Posted 18 April 2014 - 07:04 AM I am get below error. rails -v/opt/ruby/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [daemons-1.1.9, diff-lcs-1.1.3, expectations-2.0.0, faraday-0.8.9, faraday_middleware-0.8.8, ftpfxp-0.0.4, json-1.7.7, json-1.6.1, json-1.4.3, lumberg-1.1.1, metaclass-0.0.1, mime-types-1.24, mocha-0.12.7, multipart-post-1.2.0, mysql-2.8.1, rest-client-1.6.7, rspec-2.11.0, rspec-core-2.11.1, rspec-expectations-2.11.3, rspec-mocks-2.11.3, stomp-1.2.2, system_timer-1.2.4, systemu-1.2.0] (Gem::LoadError) from /opt/ruby/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' from /opt/ruby/lib/ruby/1.9.1/rubygems.rb:1231:in `gem'from /home/adsudxuy/ruby/gems/bin/rails:22:in `