Displaying 20 results from an estimated 1000 matches similar to: "How to run the application Rubyonrails's on the server (localhost)"
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the
(/usr/local/src directory )
2) Then i installed rails from terminal by typing follwoing
sudo gem install rails --include-dependencies
3) Then i made a rails applcation from terminal as
rails new demo
then
cd demo
ruby
2011 Jun 14
5
Buttons's routing
Hey
My app has some buttons and i have route all to different action
in router.rb file but click on each button results in same action. why?
Am i missing to specify anything...)
Rails:3.0.7
Thanks in advance.
--
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
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like
rails new blog
and the content of the file "blog/config/boot.rb" are
require ''rubygems''
# Set up gems listed in the Gemfile.
gemfile = File.expand_path(''../../Gemfile'', __FILE__)
begin
ENV[''BUNDLE_GEMFILE''] = gemfile
require
2010 Oct 16
1
Unable to start rail application at localhost
i am new to ruby on rail. i installed it to my computer.After that i
created the rail application by typing in terminal
rail rubyapplication
It was create
in my home directory.Afterwared i did follwoing
cd /home/administrator
and
2011 Apr 25
30
NoMethodError in Book
I got a following error.
NoMethodError in Book#new
Showing /home/amrit/boook/app/views/book/_form.html.erb where line #1
raised:
undefined method `model_name'' for NilClass:Class
The content of _form.html.erb file are:
<%= form_for(@post) do |f| %>
<% if @post.errors.any? %>
<div id="error_explanation">
<h2><%=
2011 Jun 22
2
best references (tutorials & howtos) for an experienced Rails Developer to start building Facebook Apps with RoR?
Hi everyone,
what are your best references (tutorials & howtos) for an experienced Rails
Developer to start building Facebook Apps with RoR?
THANKS
+++++++++++
Pravin Mishra
--
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
2012 Feb 11
1
rake command shows the error
rails -v=2.3.8
gem -v= 1.4.2
ruby -v=1.8.7
When i issue the "rake" command ,it gives the following error .
(in /home/amrit/amrit/OSV/OpenStreetView)
/usr/bin/ruby1.8 -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"test/functional/main_controller_test.rb"
"test/functional/upload_controller_test.rb"
2011 Apr 18
6
whyt should i use mongrel_cluster ?
why should i use mongrel_cluster in my rails application?
What are its benefits for which i should install and configure it
?
is webrick server not enough for rails application?
Thanks
--
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
2011 Apr 30
8
"uninitialized constant PostsController::Post"
This time i read scaffold tutorial very carefully and finally try to
generate a form without using the scaffold(just used a controller and
view ).what i have done till now ,is as follow.Using rails 3.0.7.
"rails generate controller posts
index"
1) post_controller.rb
class PostsController < ApplicationController
def index
@post=Post.new
2006 Mar 28
2
error 500 page not showing on production (lighty)
Hi,
Do I need to configure something to get my custom public/500.html page
showing on my production server (lighttpd)? My custom 404 page is
showing but when I hit an exception I just see the default (Applcation
Error) message.
Also, is it possible to include some ERB in error404 and 500 pages?
Jeroen
2011 May 18
9
Address already in use - bind(2) (Errno::EADDRINUSE)
I made a new rails app and when i started the server ,it gave
following error message.
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from
2007 Dec 06
3
number_to_currency
I am using the number to currency function because i live in the uk and
the company want me to only show values of the pound of course.I have
created all my application using ruby script/generate
scaffold_resource.... I have come across with a problem... this code is
in my applcation:
def number_to_currency(number, options = {})
options = options.stringify_keys
precision, unit, separator,
2018 Aug 06
1
Re: [PATCH nbdkit] protocol: Implement NBD_OPT_GO.
On Mon, Aug 06, 2018 at 05:31:54PM +0300, Nir Soffer wrote:
> On Mon, Aug 6, 2018 at 5:06 PM Eric Blake <eblake@redhat.com> wrote:
>
> > On 08/06/2018 02:54 AM, Richard W.M. Jones wrote:
> > > On Sun, Aug 05, 2018 at 12:11:04AM +0300, Nir Soffer wrote:
> > >> But we have a bug - server configure to allow access to "export",
> > >> but
2008 Dec 22
2
Download lustre 1.6.6
i am unable to download lustre 1.6.6 , links does seems to be broken but its
not working
--
Regards--
Rishi Pathak
Pune-Maharastra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20081222/e72e8bc2/attachment-0001.html
2009 Oct 18
2
How to create MULTILEVELS in a dataset??
Dear R users
I have a data set which has five variables. One depenedent variable y, and 4
Independent variables (education-level, householdincome, countrygdp and
countrygdpsquare). The first two are data corresponding to the individual
and the next two coorespond to the country to which the individual belongs
to. My data set does not make this distinction between individual level and
country
2009 Jul 11
2
Heckman Selection Model/Inverse Mills Ratio
I have so far used the following command
glm(formula = s ~ age + gender + gemedu + gemhinc + es_gdppc +
imf_pop + estbbo_m, family = binomial(link = "probit"))
My question is
1. How do i discard the non significant selection variables (one out of the
seven variables above is non-significant) and calculate the Inverse Mills
Ratio of the significant variables
2. I need the inverse
2009 Jul 01
2
getOptions("max.print") in R
I am typing the following on the command prompt:
>variab = read.csv(file.choose(), header=T)
>variab
It lists 900,000 ( this is the total number of observations in "variab" )
minus 797124 observations and prompts the following message
[ reached getOption("max.print") -- omitted 797124 entries ]]
Is there a way to see the entire set of data, ie all of 900,000 obs, and
2009 Jul 12
2
Heckman Selection MOdel Help in R
Hi Saurav!
On Sun, Jul 12, 2009 at 6:06 PM, Pathak,
Saurav<s.pathak08 at imperial.ac.uk> wrote:
> I am new to R, I have to do a 2 step Heckman model, my selection equation is
> below which I was successful in running but I am unable to proceed further,
>
>
>
> I have so far used the following command
>
> glm(formula = s ~ age + gender + gemedu + gemhinc + es_gdppc +
2008 Dec 24
6
Bug when using /dev/cciss/c0d2 as mdt/ost
I am trying to build lustre-1.6.6 against the pre-patched kernel downloaded
from SUN.
But as written in Operations manual, it creates rpms for
2.6.18-92.1.10.el5_lustrecustom. Is there a way to ask it not to append
custom as extraversion.
Running kernel is 2.6.18-92.1.10.el5_lustre.1.6.6smp.
--
Regards--
Rishi Pathak
National PARAM Supercomputing Facility
Center for Development of Advanced
2011 May 06
1
scaffold didn't work
i am using rails -v 3.0.7.when i tried "rails generate scaffold try
name:string number:decimal" , it gave following error message
invoke active_record
/usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 7, col
2: ` pool: 5'' (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in `load''
from