Displaying 20 results from an estimated 9000 matches similar to: "still cannot install rails on windows"
2009 May 26
9
cookies are mandatory for Rails app?
is it true that Rails depend on cookies? It seems that flash is a part
of session, and session uses cookies... so when i disable cookie in
Firefox, what was working became
ActionController::InvalidAuthenticityToken
so is it true that for a RoR app to work, cookies are mandatory?
--
Posted via http://www.ruby-forum.com/.
2010 Jul 02
22
MySQL not Connected ...... *pull hair*
I''m trying to run " rake db:migrate " and im getting an error back:
------------------------------------------------------------------------
C:\wamp\www\demoproject>rake db:migrate
(in C:/wamp/www/demoproject)
rake aborted!
Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
(`version`
varchar(255) NOT NULL) ENGINE=InnoDB
(See full trace by running task
2009 Jun 30
2
First time problem
This is the first time I am Running ruby on rails.
When running the "blog" application I got the message
"We''re sorry, but something went wrong.
We''ve been notified about this issue and we''ll take a look at it
shortly."
Then I checked the CODE\blog\log\development.log and got this:
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys
I''d like to know how to change from using sqlite3 to mysql. I''m
running windows xp. What is the command that I must type under my
application folder? How to I log into the mysql database afterwards?
My database.yml file contents at the moment are:
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: sqlite3
2007 Sep 28
2
RoR uses something rather than erb or eRuby?
it seems that RoR doesn''t use erb or eRuby to generate its output for
rhtml?
the program erb and the description of eRuby at
http://www.eruby.info
both said that
<% print "foo bar" %> or <% puts "hello" %>
will be placed into the output...
but currently for RoR, it won''t...
only <%= expr %> is doing it and it cannot be print or
2008 Sep 02
14
SQL 3 Lite Error
Hello everyone,
In my controller, I put the following code:
render :text => "Hello World!"
It popped up with this error:
"
MissingSourceFile in BlogController#index
no such file to load -- sqlite3
RAILS_ROOT: C:/InstantRails/rails_apps/scblog
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2009 Aug 19
27
First App- Error 500
I''ve created a simple hello world app that doesnt appear to serve up
the view greeting.rhtml. :<
Any ideas ?
The error message is from development.log is...
# Logfile created on Tue Aug 18 16:49:55 -0400 2009/!\ FAILSAFE /!\
Tue Aug 18 16:50:34 -0400 2009
Status: 500 Internal Server Error
unknown error
PS . It does show the default web page ok at http://localhost:3000
just not
2011 Apr 20
6
rake db:create fails
Hello folks,
I´m here trying to find the way to solve my problem.
When i try to run
rake db:create or rake db:create:all
the process stops and the databases are not created.
I change the directives, putting --trace before the rake db:create and
the steps are
C:\appws\cookbook>rake db:create --trace
(in C:/appws/cookbook)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
2007 Jun 02
2
Unit tests breaks with sqlite
Hi,
I''m using an sqlite3 database with Rails and have some trouble running
unit tests
What I''ve done is
* rails my_app
* edited database.yml to use sqlite3 adapter, db/my_app_development
and db/my_app_test
* ruby script\generate model user
* edited model
class User < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name
end
*
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook
up a database.
"undefined method `model'' for ZingerController:Class" is the message I
get from the server.
I imagine I''ve left something out that is keeping me from connecting
to the database, but I''m not exactly sure what.
Your help is appreciated.
bests,
-rsr-
session dump:
2008 Jan 20
9
Ferret Gem Installation on Windows
Trying to install ferret on my windows XP environment. Using
InstantRails 2.0 with RoR 2.0.2, and NetBeans 6.0. I had successfully
installed and built RailsSpace in InstantRails 1.7, but am trying to
upgrade RailsSpace to RoR 2.0.2 using the code that Michael has kindly
provided for us on the website.
When I run the gem install ferret command, I get the following error:
C:\Documents and
2010 Dec 22
5
rvm, rails and sqlite
i need to use old version of ruby (1.8.7) and older version of rails
(2.1.0) so i decided to use rvm. however since i''m somewhat new to ruby
and rails i''m having issues. i created a gemset with rvm for my project,
installed rails 2.1.0 into it. after that i created a project and a
scaffolding for it. however i bumped onto an issue with sqlite3 (or
sqlite3-ruby). it seems to me
2008 Nov 03
2
Unable to install sqlite3
I am new to Ruby. Try out a web application, but when I tried to access
the page, it has the following error (see ERROR 1 below).
So I thought I may have not installed "sqlite3" and tried downloading
"sqlite_3-6-4.zip" and "sqlitedll_3-6-4.zip", unzipped it and place it
in ruby''s bin directory. Then I run the command:
gem install sqlite3-ruby
But found
2010 Jan 20
4
Rake Aborted wont Migrate mysql
Hello all, I''ve been trying to get ruby on rails to work with my local
install of mysql(its with wamp). Windows XP, Ruby 1.8.6, rails 2.3.5,
rubygems 1.3.5, mysql 5.2 something I believe.
I have ruby installed in:
C:\Ruby
and my mysql is installed in:
C:\wamp\bin\mysql\mysql5.1.30\bin
I''ve attempted to change my database.yml file to include the port 80,
and port 3036, the
2010 Jul 28
5
db:fixures:load does not call Model.save()
Hello,
$ ruby script/generate model balance plus:integer minus:integer
equal:integer
$ cat app/models/balance.rb
class Balance < ActiveRecord::Base
def save
self.equal = self.plus - self.minus
super
end
end
$ cat test/fixtures/balances.yml
_10-1:
plus: 10
minus: 1
$ rake db:fixtures:load
$ sqlite3 db/development.sqlite3
sqlite> select * from balances;
//=>
2010 Jul 22
13
Sqlite3 busy and yet server has no load nor concurrency
Hi,
Strange behavior here. On my dev machine code works, but on the
production machine I get the dreaded:
SQLite3::BusyException: database is locked INSERT INTO "comments" [...]
What kind of bug could yield such behavior? It''s impossible the database
times out, there are no concurrent requests coming in, and the db is
only 150kB. Is there a possible race condition? Caching
2009 Jun 19
4
sqlite3....Ugghhh`
Hi all,
I have been reading and trying all the google links/forums for 2 nights
now on how to fix my issue with getting sqlite3 installed so I can use
rails. Im running SLED 11. plese help! thank you!
$ uname -a
Linux linux-7lbv 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686
i686 i386 GNU/Linux
$ gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR:
2010 Aug 17
8
How to development Database for testing
Hi,
i want to use development database for my testing purpose.
The problem is with, when test cases are run, it deletes the data before
and after the test. but i dont want the data to be deleted.
how to do this.
--
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,
2009 May 24
1
is f.submit in a form_for newer than submit_tag?
some books or even the rails api uses
form_for ...
...
submit_tag ...
end
and i found that the Rails 2.3.2 Scaffold uses
f.submit "Go"
instead... and this is not in the rails api doc. Is this a new
addition and is it suppose to replace submit_tag?
--
Posted via http://www.ruby-forum.com/.
2009 May 26
1
how does form_for and validate_presence_of work hand in hand
when we have validate_presence_of :name in the model and then when we
put in the create action that we re-render ''new'', then the form_for will
populate the fields, and error_messages_for ''story'' will have the
correct error message.
this is really great, and and the same time, this looks like magic... i
found that many books don''t explain how the magic