Displaying 20 results from an estimated 2000 matches similar to: "ruby server chrashes"
2012 Oct 01
12
Can I have Ruby on Rails without json
Hello,
On my Chakra linux machine the json gem would not get compiled,
I already made a issue for that.
But for continuing my project can I have ruby on rails without the json gem
?
And if so, how can I do this ?
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2012 Oct 11
4
what;s the right url in this case
Hello,
I have this models
class Berichten < ActiveRecord::Base
attr_accessible :bericht, :user
belongs_to :user
belongs_to :Category
end
class User < ActiveRecord::Base
attr_accessible :email, :name
has_many :berichten
end
class Category < ActiveRecord::Base
attr_accessible :id :name
has_many :berichten
end
What I wonder is what the right url is when I want to place a
2012 Sep 21
3
(koans) another problem (syntax error)
Hello,
I now trying to solve this one :
# Triangle Project Code.
# Triangle analyzes the lengths of the sides of a triangle
# (represented by a, b and c) and returns the type of triangle.
#
# It returns:
# :equilateral if all sides are equal
# :isosceles if exactly 2 sides are equal
# :scalene if no sides are equal
#
# The tests for this method can be found in
#
2012 Nov 02
6
cannot load such file -- 1.9/http11
Hello,
I have installed the mongrel 1.2.0-pre2 gem into my project.
But when I do rake db:test:prepare I see this output :
cannot load such file -- 1.9/http11
Anyone a idea how to solve this ?
Roelof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20121102/2c908445/attachment.html>
2006 Aug 18
3
setting a value of text_field from a controller
Hi,
I need to set up an initial value from controller. In my views I''ve
something like
<%= text_field "object", "name" %>
and would like to do something like this from controller
def index
@object[:name] = ''default value''
end
but still got an error. Object doesn''t have database model (and will not
have)
Thank you
PS: now using
2013 May 18
3
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3.
I''m careful to create separate gemsets for each project, so when I run
bundle install, it only installs gems for that gemset. This way gems
dont creep into the wrong projects. Now I just pulled a project from
github. I made sure I was in the correct gemset, and then I run bundle
install and it works fine. but then when I use rake to create the
database "rake db:create". I get
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a
separate partition. I installed Ubuntu 12.04 (Alpha) on the root
partition, leaving the home partition unchanged. I now find that some
things don''t work, I think due to the fact that the system has been
updated and versions of libraries have changed. For example I get:
$ rails c
2008 Oct 23
0
XEN 3.3: xend chrashes beim Start der DomU
Hi,
I try to start a DomU with
xm create endian -c
and got the following error message
Xend has probably crashed! Invalid or missing HTTP status code.
I''ve tested the DomU with nearly the same system at VMWare (Windows) and it works normaly, but on my server I get this error message.
I useing gentoo as Dom0. I tried also a gentoo DomU with the same result.
Thanks.
2011 May 20
3
Div style changes
Rails is not changing my divs styles.
I made a new layout and set a div''s style to style="width:2000" but it
does not change the width. Any ideas?
--
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 to
2012 Jan 22
4
undefined method `gsub!' for 2012-01-22 17:00:00 -0500..2012-01-23 00:00:00 -0500:Chronic::Span
Hey all,
I am getting this error:
NoMethodError (undefined method `gsub!'' for 2012-01-22 17:00:00
-0500..2012-01-23 00:00:00 -0500:Chronic::Span):
in this code:
date_range = Chronic.parse(the_date, :guess =>
false)
reports.sum_distance_by_date(date_range).each do |d|
u[:m] << d
end
def
2011 Jun 21
2
Find by parameter
Hi,
I''m trying to do a query on controller for get list by a boolean value
I do
@movies = Movie.where(:active => 1)
This value is already on form and it is being written on database, but when
I write a block, I still picked up the list of all videos
Can anyone see what I''m doing wrong?
Thanks!
--
*Fernando Aureliano*
--
You received this message because you are
2011 Sep 21
5
bundle install rmagick error in unix
I have Rails 3 and Ruby 1.9.2
Installing rmagick (2.13.1) with native extensions
/opt/local/lib/ruby/site_ruby/1.9/rubygems/installer.rb:551:in `rescue
in block in build_extensions'': ERROR: Failed to build gem native
extension. (Gem::Installer::ExtensionBuildError)
/opt/local/bin/ruby19 extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for
2013 May 14
1
rvm/capistrano
When I ran cap deploy:setup, the following actually installed rvm,
ruby and the online_store gemset on my staging server:
set :rvm_ruby_string, ''ruby-1.9.3-p0@online_store''
set :rvm_autolibs_flag, "read-only"
set :rvm_type, :system
set :rvm_install_with_sudo, true
before ''deploy:setup'', ''rvm:install_rvm'' # install RVM
before
2010 Jun 21
9
[BUG] Segmentation fault
First of all, I use RVM and I installed ruby-1.9.2-head, which I used
to create a new rails3 gemset. Then I changed to that gemset with rvm
use 1.9.2-head@rails3 and I ran bundle install over the following
Gemfile:
source ''http://rubygems.org''
gem ''rails'', ''3.0.0.beta4''
gem ''sqlite3-ruby'', :require =>
2010 Dec 05
14
Remove bundler
Can you remove bundler without any problem – for rails?
--
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 to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2009 May 07
13
what database field type should i use ??
in a database table if there is a field which has a certain set of
fixed values. for example
staus => {Single, Married, Divorced }
OR
state => {California, Albama, Olaska ...}
so what should be preferred way out of the following for storing the
values
1. Keep the field as "string(Rails)" VARCHAR(MySQL) itself ....and
while showing the field just show the field value.
2. Keep
2011 May 21
2
How do you create a sub-layout or a partial that wraps a lot of custom html?
Basically I''d like to create a layout inside of a layout using erb.
Something like this:
<%= render :partial => ''support'' do %>
<div id="helpDocumentView">
<h3><%= @help_document.question %></h3>
<%= @help_document.content %>
<div id="helpDocumentHelpful" data-help-document-id="<%=
2011 May 16
1
You cannot have more than one Rails::Application (RuntimeError)
I installed RVM and am getting a kinds of errors. I have managed to get
most things back to normal but I get this error now in one of my apps.
/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/application.rb:63:in
`inherited'': You cannot have more than one Rails::Application
(RuntimeError)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
2012 Feb 01
10
Very strange problem: Ton's of ruby process just running simple command "rails --version" or "rails
Very strange problem: Ton''s of ruby process just running simple command
"rails --version" or "rails new test1""
I have very strange problem. I try to run this simple command
"rails new test1" --> this suppose to be create a new rails site.
"rails --version" --> even this I got ton''s of ruby process
but I got a lot of ruby
2011 Mar 07
3
.rvmrc file not working?
hello,
i am trying to install gemsets but my .rvmrc file not working so i
have create gem sets with the command rvm gemset create rails3 but
when i am using rvm info its not showing the gemsets in the
environment.. this is the content of .rvmrc file
rvm 1.9.2@rails3 --create..help me guys..
thanks
nishant
--
You received this message because you are subscribed to the Google Groups "Ruby