RadRails: An internal error occurred during: "Starting Server" - ruby-on-rails

I've decided to learn some Ruby on Rails, but unfortunately I can't get the testing server to work. When I try to fire it up I get this message: RadRails: An internal error occurred during: "Starting Server", and when I click OK in the message window the server's status is frozen at Starting. I get no other errors or messages.
I use the RadRails - EasyEclipse for Ruby and Rails IDE (latest version as far as I'm concerned) and I've followed these instructions to set everyting up: http://www.easyeclipse.org/site/distributions/ruby-rails.html.
The Apache server is up and running when I click the Manage Servers-tab in Bitnami Ruby Stack
Any help is appriciated.

Related

rails7 heroku deployment failure (internal server error)

trying to deploy my rails7 app to heroku The home screen is coming up but whenever I click on a link to another page I get a screen saying "sorry something went wrong". "if your the application owner check the logs". an in the logs it says
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
My Rails 7 app started up locally fine but failed on Heroku deployment because of class naming errors. Note that Rails 7 uses Zeitwerk as its autoloader. You can test this locally by running: bundle exec rake zeitwerk:check

Libglib-2.0.0 dll not found on windows every time when I try to run Rails server

I have installed all the bundles but while trying to run rails server getting error for libglib-2.0-0.dll not found. I have followed https://www.dll-files.com/download/b5970cca5b1ed27d99bc23796fa35584/libglib-2.0-0.dll.html?c=cXFJRlUrMWZTV0hiNGxjbGcya1FTZz09 but still it doesn't work

rails server does not start on windows

I'm newbie to ruby on rails, I have created project but when I start server (rails server / s ) it gives me error. which is image show you an error.
secondly when I run command "bundle install" it gives me another error which is image show you second error.
I think this might help you figure out the server openssl issue which appears to show up in the bundle install output as well.

Error when trying to view uploaded ruby on rails application on Heroku

I'm having problems with trying to view my first Ruby on Rails application on Heroku as a user called LHH has helped me with the first problem which has been about an error uploading but anyway, that has been fixed and now I'm having the problem where I cannot view the application as I am getting the following error.
"We're sorry, but something went wrong. If you are the application owner check the logs for more information"
Error - http://prntscr.com/aepg5c
I opened the log for the deploy that claims it was successful and this is the complete log in this screenshot - http://prntscr.com/aerjnv
I'm not really one to be using ruby on rails as this is my first application that worked and I don't use the Heroku toolkit so what I'm doing is linking it to github via the browser page and telling it where to get the files and the reason why I'm not using the command line is because for some odd reason the Heroku toolkit isn't working with my Windows 10 system.
Open your Gemfile.lock and remove
PLATFORMS
x86-mingw32
then add and try to push on heroku.
PLATFORMS
ruby
for more check here https://devcenter.heroku.com/articles/bundler-windows-gemfile

Capybara-Webkit "Unable to load URL"

I've been struggling with this issue for a few days and can't figure out what's causing the problem. The test suite runs fine on TravisCI, and locally when I restart my computer. After doing something locally though, I keep getting the same error message:
Unable to load URL: http://localhost.dev:3001/en/users/sign_in because of error loading http://localhost.dev:3001/en/users/sign_in: Unknown error (Capybara::Webkit::InvalidResponseError)
Here is the full webkit-debug trace:
Using the default profile...
..........Finished "EnableLogging" with response "Success()"
Wrote response true ""
Received "Visit"
Started "Visit"
Load started
"Visit" started page load
Started request to "http://localhost.dev:3001/en/users/sign_in"
Finished "Visit" with response "Success()"
Received 0 from "http://localhost.dev:3001/en/users/sign_in"
Page finished with false
Load finished
Page load from command finished
Wrote response false "{"class":"InvalidResponseError","message":"Unable to load URL: http://localhost.dev:3001/en/users/sign_in because of error loading http://localhost.dev:3001/en/users/sign_in: Unknown error"}"
F-Received "Reset"
Started "Reset"
undefined|0|SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent.
Finished "Reset" with response "Success()"
Wrote response true ""
Received "FindXpath"
Started "FindXpath"
Finished "FindXpath" with response "Success()"
Wrote response true ""
..........F--------
(::) failed steps (::)
Unable to load URL: http://localhost.dev:3001/en/users/sign_in because of error loading http://localhost.dev:3001/en/users/sign_in: Unknown error (Capybara::Webkit::InvalidResponseError)
This comes up anywhere in the app that I try to visit a path. From what I understand, the "Unknown error" is from qt, not capybara-webkit, but I'm not quite sure who would be best to ask. I am using DNSmasq for subdomains and we have multiple languages so localhost:3000 is redirected to www.localhost.dev:3000/en.
Current versions of things:
capybara 2.4.1
capybara-webkit 1.1.0
cucumber 1.3.14
cucumber-rails 1.4.0
pg 0.7.1
rails 4.0.0
ruby 2.1.2
dnsmasq 2.71
postgresql 9.3.5
qt 4.8.6 OSX - Mavericks 10.9.4
Edit 1: Also posted on the capybara-webkit repo: https://github.com/thoughtbot/capybara-webkit/issues/667
Edit 2: Here is the test log file: https://gist.github.com/GolfyMcG/060053eba51a9ba69722
As I posted in the related Github issue, I found the solution here:
https://apple.stackexchange.com/questions/26616/dns-not-resolving-on-mac-os
Had nothing to do with Capybara-webkit and everything to do with how I had my ElasticSearch instance spinning up with testing.

Resources