I got an error while running ruby script/server,
DRb::DRbConnError in HomeController#index
druby://localhost:3333 - #
Iam not able to understand where is the exact error, is there any gem missing or server issue.
I don't know what the ruby app you are trying to start is supposed to do but it seems to use a DRB server, which you would have to start before.
Related
I use windows, ruby 2.5, rails 5.1.7, I have a controller with get request, from Unirest or RestClient libs. When I trigger it, the RoR server closes, I see windows error about ruby.
The same request command processed in rails console fine.
That theme was not helped Ruby on Rails server crashes during a HTTPS POST request
UPDATED
Rubymine log error:
Process finished with exit code -1073741819 (0xC0000005)
Controller code:
u = RestClient.get('https://google.com/')
Windows error 0xC0000005 is memory access violation, it means that something is wrong with binaries - most probable native gem extensions or ruby itself,
so try bundle pristine to reinstall gems and if that does not help - cleanup and reinstall ruby.
I've ran into a error that haven't happened before and haven't found a real solution online. Everytime I try to run a rails command like rails server or rails generate scaffold I get the following error:
D:/myrailsapp/config/.../Gemfile not found
Any ideas how to fix this? I had it working after the error without doing anything and now I can't run it again.
It might be related to this https://github.com/RailsApps/rails-composer/issues/138
try running
gem update
I installed rails recently and I have been having quite a bit of trouble just trying to install everything, but it is finally done and now when I try to launch a rails server I always get an error and the server ends up stoping at that exact moment.
Here is what it says:
NoMethodError `new_with_config' for
ActionDispatch::Routing::RouteSet:Class.
I am using Rails version 5.0.0.1
Hello I'm trying to install the latest redmine (2.5)
And I already setup the environment using ruby 1.9.3 and rails 3.2.17
I already setup the passenger and it's already running
But when I'm trying to access it always return the 500 (Internal Error) page
and when I check in the production log, there is nothing printed in it.
Is there anybody here have any idea where I go wrong? or at least how to know what is the error?
Thank you!
You can try by making the permission 777 and try to check the log by typing tail -f log/production.log
You have to give full permission for the log file.
I am unable to start the server
/Users/sherwyn/.rvm/gems/ruby-2.0.0-p353/gems/json-1.8.1/lib/json/ext/parser.bundle: [BUG] Segmentation fault
But if i run zeus start and zeus server, it starts up without a hitch. Any ideas?
edit
which rails gives me /usr/bin/rails
and which ruby gives me /Users/sherwyn/.rvm/rubies/ruby-2.0.0-p353/bin/ruby
Is this correct?
If anyone wants the solution it's
bundle exec rails server
I have no idea why it works but
rails server
works fine afterwards
Yourr Gemset might not be compiled for the version of ruby you are using