similar to: Trouble starting WEBrick server

Displaying 20 results from an estimated 20000 matches similar to: "Trouble starting WEBrick server"

2013 Sep 04
7
Shift from mongrel to webrick
Hi Everyone I have installed mongrel gem and in my dev I can able to run my app on mongrel but If I want to shift to webrick how can I shift easily with out uninstalling the mongrel gem Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send
2013 Oct 29
3
rake db:migrate debacle
Hi there - I''m a ruby newbie and am stuck on the Getting Started with Rails app. See output below. Problem arose when I ran the rake db:migrate command. I also tried the ''rake db:migrate RAILS_ENV=development'' command which may be obvious. Any ideas on how to fix this? Many thanks!! $ ruby -v ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin10.8.0]
2012 Jul 07
18
Problem processing text file after uploading
I''ve got a web-app currently partially working. The user uploads a .txt, .docx or .doc file to the server. Currently the model handles those files, saves some metadata (the extention and orig filename) then saves the file to the hard drive. Next it converts the doc and docx files to plain text and saves the output to a txt file. My problem is I want to copy the plain text contents of
2012 Sep 04
5
Associations and Math between Models
I''ve setup two models, 1 and 2, that are associated by has_and_belongs_to_many. I''m trying to get an attribute from model_1 to use in a method in model_2. When I use the code below, I get an error saying ''undefined method model_1_id''. What am I missing? Thanks! Model_2.rb Class Model_2 < ActiveRecord::Base ... has_and_belongs_to_many :model_1 def
2012 Oct 16
8
<form> tag is self-closing before input fields .. (HAML generator used)
The form is inside a table, enclosing a <tr> = form_tag admins_backoffice_dashboards_path, :remote =>"true" do %tr.search %th= link_to t(:clear), "#", :id => :clearFilter %th= select_tag :role, options_from_collection_for_select(Role.global, :id, :name, :selected => @role_id ) %th= text_field_tag :email, nil, :value
2012 Sep 21
9
Using PostgreSQL with RoR on windows. Help!
So I just got involved in a huge team project with RoR and PostgreSQL. But I can''t find anywhere on the internet to find a proper way to put them together. I did find one but it is for iOS :-/ http://railscasts.com/episodes/342-migrating-to-postgresql?view=asciicast I have them both installed and the gem package for postgres also. the database.yml is already configured. I just
2011 Jul 21
5
Freezing one gem in Rails 3
Hi, I''m working on an app for a colleague. He has written his own pagination class, but it is buggy and not very DRY. Therefore I replaced it with the well-known "will_paginate" gem, and that works just great. The only problem is, that although this works on my machine, my colleague (for whatever reason) refuses to install any additional gems on his machine (I guess this is
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
I''m running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125. I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a ActiveRecord::ConnectionNotEstablished error. Rails 3.2.3 works, 3.1.0 not. Any ideas? Just to show you it''s nothing fancy.... Gem file is only: source ''https://rubygems.org'' gem
2013 Jan 27
2
Help displaying text
Apologies in advance ...this may be a really dumb question but here goes. @formatted_question[:a] contains text with HTML markup. I want to display it in a field so I can control its vertical and horizontal size on the page. When it is displayed on the page now, rather than interpreting the HTML, it is output into the text field as a string with all HTML tags showing. What am I doing wrong??
2013 May 12
15
Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?
Hi Group, I''ve got mysql database installed and the server running on a Mac Pro with latest mountain lion setup 10.8.3. I''m able to use mysql tools like mysql, mysqladmin to converse with it. :} I use RVM''s scripts to fetch gems. I''ve visited RVM''s website but their advise to get "mysql gem loaded" does the same thing as below aborted
2012 Dec 25
3
ERROR : An error occurred while installing mysql2 (0.3.11), and Bundler cannot continue.
I am a php programmer, learning ruby on rails I am using ubuntu 10.10. i am not so fine with linux. i have installed ruby, gems etc. I want to make app with using mysql. I have used *$ rails new clogs_web_app -d mysql* to make app but the process stops with this statement *Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.* it give me error : * An error occurred
2010 Jan 09
9
Problem with Sessions
Hi, Using Netbeans 6.7.1, Rails Gem Version 2.3.2 MySQL Server 5.1 I am currently doing the depot application from the pragmatic programmer book (agile web development with rails) everything has been fine up until the point of creating sessions. I know they are using an earlier version of Ruby and the gems version is 2.2.2. As soon as I put the necessary code in the website no longer works and
2012 Jul 21
3
Attributes in classes db/migrate or app/models
Hello, I''ve got some experience in Java, and recently, I''ve begun to practice with Rails. One of the things that has surprised to me, after I''ve read some books, it''s that classes hasn''t got attributes; the attributes are in the files db/migrate/*. After that, the ORM makes the mapping with de Database. But the attributes aren''t in the files
2011 Dec 02
20
Need Some Guides on Solr with Rails.
Hi Everyone, I am pretty new to Rails. I have very little idea about everything. But for my new project i have been asked to do some research on Solr search and implement it on Rails. Please provide me some link on tutorials and guides about Solr on Rails. Trouble is... have to do it by tomorrow. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are
2013 Jan 25
4
Usage of ram for Sunspot Search engine
Hi all, I am using Sunspot Search Engine in my app. When I deployed my app in production It it bit slower side. My Server Details: ram 256 Ubuntu 11.10 How can I check why my app is slow in production can any one help me out to solve this issue. Cheers, Kp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2011 Jul 16
9
rake aborted!
hi , I have started to learn ruby on rails and I''m an absolute beginner . when I try to rake a database like "rake db:schema:dump " I get this message : "rake aborted ! unknown database ''cms_development'' " although I have modified my database.yml and have created my database before. I''ll be appreciated if someone can help me with this thanks
2011 Aug 07
9
How can I disable Rails 3.1's ActiveRecord Query Caching?
Hey guys, As most of you know, Rails 3.1 introduces query caching for ActiveRecord. Great change all-in-all, but for those of us with IT department mandates for using MySQL (yeah, yeah, I know...), it''s kind of a mixed bag. I need to disable query caching in a project I''m building based on 3.1. I''ve tried a couple different approaches, both without any success. I
2012 Jun 13
7
Cmd line interface for ruby on rails app
Hi, I have a rails app running which provides an interface to create/update data stored in a DB. How do i develop a cmd line interface to do the same i.e i should be able to retrieve/update data to a DB. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2013 May 28
5
Storing Rails controller callback data in session
http://stackoverflow.com/questions/16770090/storing-rails-controller-callback-data-in-session The idea is: - Perform some time consuming action in background. - Have the results from that action be propagated back to the controller using a callback. - Store the result in an in memory session store. - Have the result in session be used and available from that point onward.
2012 Jan 01
4
Chronic parsing date range in console but not in application in rails 3
Hey all, Chronic will parse a date range in console: Chronic.parse(1/1/2011 - 1/1/2012, :guess => false) => 2012-01-01 12:00:00 -0500..2012-01-01 12:00:01 -0500 However, when I use logger to check if it''s parsing in application, it is not: logger.info "The value of history date is #{history_date}" => The value of history date is 1/1/2011 - 1/1/2012