webrick

WEBrick rails server won't start

你说的曾经没有我的故事 提交于 2019-12-13 01:27:03
问题 Could you please recommend a fix? Remedies I have tried based on other SE questions: run bundle install run gem cleanup run bundle exec rails server run sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib remove root password (to match database.yml config file) Installed: OSX 10.8.3 Ruby 2.0.0p0 Rails 3.2.13 mysql2 gem 0.3.11 'mysql2' in Gemfile Mysql 14.14 5.6.11 To Reproduce: Starting Location: ~/Sites/simple_cms Run "rails server" I then get the

Reporting errors in launching rails webrick server

筅森魡賤 提交于 2019-12-12 04:19:51
问题 I have an application which runs on rails 2.3.2 and now i upgraded my version of rails to 3.0.3 After i try to start the application server by typing rails server I get a list of arguments that i should pass to the command. This suggests the server did not start successfully. However, where can i get a list of the errors encountered in starting rails server ? Also, i am using RVM for managing rails versions. However, even after changing the current running version of rails, radrails is still

What terminal command stops webrick server besides Ctrl-C?

做~自己de王妃 提交于 2019-12-11 23:56:11
问题 We are using Redmine. The mysql adapter segfaults in the mornings when the first Redmine operation is attempted, e.g. clicking on the Projects menu. Redmine works perfectly after Webrick is manually restarted. The problem is that the mysql gem was compiled against MySQL 5.0, but we are using a later MySQL version. This is what I learned on the official Redmine issue tracker. For the moment, I am not going to attempt to recompile against our version. I have a vbscript script that can restart

Unable to start server in rails with mysql db

依然范特西╮ 提交于 2019-12-11 13:27:24
问题 I get the following msg when using rails s or rail server in a terminal window. I am in the app root directory. Any ideas? /Users/paul/.rvm/gems/ruby-2.0.0-p247/gems/mysql2-0.3.13/lib/mysql2.rb:8:in `require': dlopen(/Users/paul/.rvm/gems/ruby-2.0.0-p247/gems/mysql2-0.3.13/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError) Referenced from: /Users/paul/.rvm/gems/ruby-2.0.0-p247/gems/mysql2- 0.3.13/lib/mysql2/mysql2.bundle Reason: image not found - /Users/paul

WEBrick rails server is not working

丶灬走出姿态 提交于 2019-12-11 10:33:28
问题 My operating system is Windows 10 Today I have installed Ruby (ruby 2.2.3p173 (2015-08-18 revision 51636) [x64-mingw32]) and rails gem (rails 4.2.4) I am following a proceedure set out in a series of tutorial videos about rails. I have the following version of myqsl 2 installed (and reinstalled in case it was a dirty install) mysql2-0.4.1-x64-mingw32 This question pertains to a application called simple_cms created in the following fashion as per instructions on the tutorials rails new simple

WeBrick does not bootup, gives an error white accessing new rails app

馋奶兔 提交于 2019-12-11 09:18:17
问题 I'm getting an error when I try to boot up WeBrick. When I type rails server , I get the following error: C:\Users\xxxx\Documents\Sites\simple_cms>rails s => Booting WEBrick => Rails 4.2.4 application starting in development on http://localhost:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server Exiting C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/helpers.rb:40:in `<module:Helpers>': uninitialized constant ActionView::Helpers:

Trouble starting rails server Webrick

血红的双手。 提交于 2019-12-11 06:33:07
问题 Just starting to get into RoR development and I am struggling with getting the Webrick server to start. I am in my rails project's folder. Then I enter rails server or rails s and it looks like the server is going to start then it says Exiting with a bunch of other stuff listed below it. Anyone know what is wrong?? Here is what terminal spits out... wyep:simple_cms designer1$ rails s => Booting WEBrick => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 => Call with -d

Access WEBrick server from outside

五迷三道 提交于 2019-12-11 02:17:35
问题 I want to be able to access my development server from a machine outside of my home. I have tried to run rvmsudo rails server -p 80 , but when I try to access my computer with my IP, I get to the configuration page of my router... Any ideas? 回答1: Have you set up port forwarding on your router? What is the make and model of your router? See there answers for more help: Setting up the Webrick to serve to internet my rails app cant do port forwarding ro my webrick server to access it from the

rails app fast on server, but slow when accessed from another machine

最后都变了- 提交于 2019-12-10 15:14:35
问题 I have a Rails app hosted on a server machine (running Webrick). When I log onto this machine and access the app (via localhost:3000), the app runs smoothly. But when I try to access the app from another machine (via hostname:3000), the app runs super slowly. I'm not sure how to go about debugging the problem; is there any reason why this would be the case? I also have things like a SQL server database hosted on the same server machine, and accessing the database from other machines works

Page not working Attempt to unlock a mutex which is locked by another thread

百般思念 提交于 2019-12-10 15:12:40
问题 I want to start my app and it's still "loading". It worked in the morning, but now it doesn't . I tryied with other ports, switching to a stable branch, restarting computer, but nothing seems to work. On other apps, it's working. If I stop de server this is the error I see(in the browser) Attempt to unlock a mutex which is locked by another thread WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) at localhost:3000 回答1: Had the same problem lately. It looks like there are two view partials calling each