gem - Installing/Running Spork-Rails on Rails 4 -
after installing spork-rails error when running 'spork':
andrews-mac-pro-4:lb_final chapmanf16$ spork /users/chapmanf16/.rvm/gems/ruby-2.0.0-p247/bin/spork:23:in load': cannot load such file - - /users/chapmanf16/.rvm/gems/ruby-2.0.0-p247/gems/spork-1.0.0rc3/bin/spork (loaderror) /users/chapmanf16/.rvm/gems/ruby-2.0.0-p247/bin/spork:23:in' /users/chapmanf16/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in eval' /users/chapmanf16/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in'
if run 'sudo spork' none of gems being located. following errors:
using rspec, rails preloading rails environment not find actionpack-4.0.0 in of sources
it literally can't find gems because if list versions of gem being mentioned , install version asking for, tell me next gem not install. i'm trying figure out why path gemfile not being recognized spark. have started learning ruby/rails past 3 days i'm out of element, not sure do. appreciated.
i posted question have on spark-rails github -https://github.com/sporkrb/spork-rails/issues/20
spork-rails rubygems doesn't support rails 4. try update gemfile github reference spork:
gem 'spork-rails', github: 'sporkrb/spork-rails'
and run bundle update
Comments
Post a Comment