Answer the question
In order to leave comments, you need to log in
Trouble starting rails server. What's the catch?
I'm starting to learn Ruby on Rails and I'm running into a bunch of gem problems... After installing the bundle, the rails server stopped running... Then the error itself:
C:\Users\JulyTab\Documents\Diplom\StudyWorld\StudyWorldPr>rails server
C:/RailsInstaller/ Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:81:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'less-rails'. (Bundler::GemReq
uireError)
Gem Load Error is: uninitialized constant V8::JSError
Backtrace for gem load error is:
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-2.6. 0/lib/less/java_script/v8_context.rb:61:in `rescue in lock'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-2.6.0/lib/less/java_script/v8_context.rb:60:in `lock'
C:/RailsInstaller/Ruby2. 1.0/lib/ruby/gems/2.1.0/gems/less-2.6.0/lib/less/java_script/v8_context.rb:19:in `initialize'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems /2.1.0/gems/less-2.6.0/lib/less/java_script/v8_context.rb:15:in `new'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/ less-2.6.0/lib/less/java_script/v8_context.rb:15:in `instance'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-2.6.0/lib /less/loader.rb:13:in `initialize'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-2.6.0/lib/less.rb:14:in ` new'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-2.6.0/lib/less.rb:14:in `'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-2.6.0/lib/less.rb:9:in `'
C:/RailsInstaller/Ruby2.1.0/lib/ruby /gems/2.1.0/gems/less-rails-2.7.1/lib/less/rails.rb:6:in `require'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/ gems/less-rails-2.7.1/lib/less/rails.rb:6:in `'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-rails-2.7. 1/lib/less-rails.rb:1:in `require'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/less-rails-2.7.1/lib/less-rails .rb:1:in `'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:78:in `require'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:78:in `block (2 levels ) in require'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:73:in `each'
C:/RailsInstaller/ Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:73:in `block in require'
C:/RailsInstaller/Ruby2.1.0 /lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:62:in `each'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/ gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:62:in `require'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0 /gems/bundler-1.12.0.pre.1/lib/bundler.rb:102:in `require'
C:/Users/JulyTab/Documents/Diplom/StudyWorld/StudyWorldPr/config/application.rb:7:in ` '
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `require'
C:/RailsInstaller/Ruby2. 1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:78:in `block in server'
C:/RailsInstaller/Ruby2.1.0/lib/ruby /gems/2.1.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `tap'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/ gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6 /lib/rails/commands/commands_tasks.rb:39:in `run_command!'
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `'
bin/rails:4:in `require'
bin/rails:
Bundler Error Backtrace:
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:77:in `block ( 2 levels) in require'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:73:in ` each'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:73:in `block in require'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:62:in `each'
from C:/ RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler/runtime.rb:62:in `require'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.12.0.pre.1/lib/bundler.rb:102:in `require'
from C:/Users/ JulyTab/Documents/Diplom/StudyWorld/StudyWorldPr/config/application.rb:7:in `'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib /rails/commands/commands_tasks.rb:78:in `require'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks .rb:78:in `block in server'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75 :in `tap'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `'
from bin/rails:4:in ` require'
from bin/rails:4:in `'
Help me figure it out (reinstalled the gems mentioned in the errors). Thanks in advance!
Answer the question
In order to leave comments, you need to log in
There was an error while trying to load the gem 'less-rails'. (Bundler::GemRequireError)
Gem Load Error is: uninitialized constant V8::JSError
I see that you are torturing the rail with Windows. I sincerely advise you to set up a Linux environment. Through Vagrant for example.
Otherwise, the shoals will not stop. You will spend a lot of time on the selection of gems that work normally with wines.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question