dimanche 13 septembre 2015

rails ruby project not running in rubymine

so, when I start my rails project in rubymine and i run it with the green button, I get this error message:

/usr/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/Josh/RubymineProjects/untitled/bin/rails server -b 0.0.0.0 -p 3000 -e development

/Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:347:in block in verify_gemfile_dependencies_are_found!': Could not find gem 'sass-rails (~> 5.0) ruby' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound) from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:325:ineach' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:325:in verify_gemfile_dependencies_are_found!' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:198:instart' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:182:in resolve' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:200:inresolve' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in specs' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:185:inspecs_for' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:174:in requested_specs' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/environment.rb:18:inrequested_specs' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:13:in setup' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler.rb:127:insetup' from /Users/Josh/.gem/ruby/2.0.0/gems/bundler-1.10.6/lib/bundler/setup.rb:18:in <top (required)>' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:128:inrequire' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:128:in rescue in require' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:39:inrequire' from /Users/Josh/RubymineProjects/untitled/config/boot.rb:3:in <top (required)>' from /Users/Josh/RubymineProjects/untitled/bin/rails:3:inrequire_relative' from /Users/Josh/RubymineProjects/untitled/bin/rails:3:in <top (required)>' from -e:1:inload' from -e:1:in `'

Process finished with exit code 1

Any idea why this is happening or how it should be fixed? Im using rails version 4.2, and ruby 2.0 on a macbook pro.

Aucun commentaire:

Enregistrer un commentaire