similar to: Getting Error

Displaying 20 results from an estimated 7000 matches similar to: "Getting Error"

2005 Dec 22
11
first day using rails
Hi - this is my first day with Ruby on Rails. I''m starting out by working through the Helloworld (Hello Ruby) example program printed up in "Agile Web Development with Rails." My steps are as in the text: 1. ruby script/generate controller Say 2. edit the proper file and add the hello method 3. fire up the browser using address http://localhost:3000 4. fire up the
2010 Jun 02
2
Error on rake command
Hi, Have you an idea about this error message when i run the rake db:migrate command under Aptana ? rake aborted! NoMethodError: undefined method `ord'' for 0:Fixnum: SET SQL_AUTO_IS_NULL=0 Thanks Here My Config : Windows XP PRO SP2 Wamp 2.0 Aptana 2.0.4 RubyGems 1.3.5 Ruby 1.8.6 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to
2008 Sep 09
2
MissingSourceFile error
I created a rails application by "rails demo" command and generated a controller "script/generate controller Say". Then I created a file in app/view/say/hello.html.erb. I added a method "hello" in app/controllers/say_controller.rb. From a browser to access the link "http://localhost:3000/say/hello, I got this error: MissingSourceFile in SayController#index no
2006 Feb 20
3
Caching of classes non working or Howto?
Hello! I m new to rails. I m playing around with it on a SuSE 10.0 box with ruby 1.8.2 and gems and rails and postgres. rails xyz creates a nice rails application, with its directory and ruby script/server runs webrick nicely and lets me see the page on localhost:3000. I went with some tutorial to create a Hello page showing the time and a Bye-Link to link to an Bye page. cat
2010 Dec 06
1
Group chat plugin or gem
Hi All, Can anyone suggest me any rails plugin or gem for group chat implementation in Rails app. Thanks in Advance, Buvana -- 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
2009 Jul 13
6
first app on Dreamhost with Passenger : "rails needs to know your username and password" ?
I am trying to deploy my first rails app with Dreamhost. I ftp''d over my existing app, turned on Passenger and pointed it to my /public directory. When I go to ''www.mydomain.com'' I get the ''Ruby on Rails: Welcome aboard'' default page, including the following: Getting started Here’s how to get rolling: 1. Create your databases and edit
2009 Sep 27
3
Newbie Trouble with RubyOnRails Bible
Hello all, I am new to RoR and am working my way through Timothy Fisher''s Ruby On Rails Bible. I''m stuck on page 81. I have followed the steps leading to this page, i.e. cd rails_projects rails contactlist <creates all the directories> ruby script/server webrick <shows the Welcome Aboard page> open a cmd window and run mysql: create database contactlist_development;
2009 Mar 31
9
Application without database.yml
Hi, I have created one application. In that application I am not using any database. Whenever I starting rails server it is giving me an error for configuration of database.yml. What should I do for this? Thanks, Tushar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2006 Nov 29
1
How to add Postgresql user & pasword details
Hi Groups! I am running Ruby on Rails on Red Hat Es 3 with Postgresql. to do that I install PgSQL & Ruby from source code working properly. then Install rubygems from source code. working properly. then Install gems [for postgresql] from source code. install properly. install RAILS, working properly with apache server. *****showing the page -> Welcome aboard [with the link -> About
2009 Jul 12
1
fresh MSI installation prlblems
I have recently tried to download and use the Windows installer to get started with Ruby. Everything seems to install ok. I have it located in c:\Ruby and I have followed this exactly: http://rubyonrails.org/download I am able to startup Ruby and visit http://localhost:3000 and see my start page. This is where I am hitting two stumbling blocks. I see the Rails welcome aboard page, and I click
2017 Nov 01
3
Function to save results
Hi Eric,Thanks for the explanation. Is there a way to save the results automatically after the analysis gets over?. As I recently lost the results, because I didn't save the results. I don't want to run the sink or save command after the analysis is over rather run the command for saving the file before starting to run the analysis, so the file gets saved automatically after the script has
2017 Nov 01
2
Function to save results
Hi Eric,I tried as you suggested but I could not find the output in the text file I created (attr.txt) net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//regulationof_dopamine_signaling_submodule3.txt")sink("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//attr.txt") sink() attr <- getAttractors(net,
2017 Nov 01
0
Function to save results
Let's try a simple example. > # Create a script file of commands > # Note we must print the results of quantile explicitly > cat("x <- rnorm(50)\nprint(quantile(x))\nstem(x)\n", file="Test.R") > > # Test it by running it to the console > source("Test.R") 0% 25% 50% 75% 100% -2.4736219 -0.7915433
2017 Nov 01
0
Function to save results
Some comments: 1. sink() does not return a value. There is on point to set attr <- sink(...). Just give the command sink("C://....etc") 2. to complete the saving to the file you must give a second sink command with no argument: sink() So your code would be (pseudo-code, not actual code) sink( "filename" ) do something that prints output which will be captured by sink
2009 Oct 28
6
undefined method `^' for "e":String
I''m attempting to learn Ruby on Rails, but these errors aren''t helping. I''m currently trying to follow the lessons available on www.learningrails.com. I received this error after trying to visit a page generated by using the scaffold command. Actually, this is all I did up until the error: rails sample2 -d mysql mysqladmin -u root -p create sample2_development ruby
2017 Nov 01
0
Function to save results
Hi Priya, You did not follow the logic of the pseudo-code. The sink("filename"), sink() pair captures whatever output is generated between the first sink statement and the second sink statement. You need (possibly) to do: sink("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//attr.txt") net <- loadNetwork("C://Users//Priya//Desktop//Attractor
2009 Aug 05
2
MySQL noob question: Where can I find the database when I create one?
See my screenshot of the command here. http://a.imagehost.org/0843/mysqladmin.png When I type the following: mysqladmin create <database_name> --user=root --password=xxxxxxxx Is my command executed simply by pressing "Enter" after the command? Am I missing some syntax? If the command has been executed , what directory can I find this database? How does this relate to MySQL
2007 Sep 10
3
Can't reach a controller :(
When I try to see a controller I get a 404 error, this is what WEBrick says What could it be? Thanks for the help ;) => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2007-09-10 13:30:26] INFO WEBrick 1.3.1 [2007-09-10 13:30:26] INFO ruby 1.8.6 (2007-06-07) [i486-linux] [2007-09-10 13:30:26] INFO
2005 Sep 07
7
Asynchronous IO
Hi, I have installed Xen on Linux 2.6.11.10 <http://2.6.11.10> and i am trying to do Asynchronous Direct IO on SAS drives. The application which does the asynchronous direct io on SAS drive is running on Domain 0. Actually the IOPs what i get for a 512Bytes IO size is 67, but if i do the same operation on Linux 2.6.11.10 <http://2.6.11.10> native kernel, i get 267 IOPs.Cananyone
2017 Nov 01
1
Function to save results
Hi David,Thank you for the example.When I try to use the cat function, I get an error cat(attr<-getAttractors(net, type="asynchronous"))Error in cat(attr <- getAttractors(net, type = "asynchronous")) : argument 1 (type 'pairlist') cannot be handled by 'cat' Please let me know, if I have used the function in right way?. Thank you Priya ?