These are the installation steps i used to get the application up and running

1) Download source code
git clone git://github.com/projectfedena/project_fedena.git

2) Correct file permissions
chmod 777 -R .

3) Install required gems
sudo gem install pdf-writer
sudo gem install prawn --version=0.6.3
sudo gem install declarative_authorization

4) Modify database.yml according to your settings

5) Create database and run migrations
rake db:create
rake db:migrate

6) Run server
script/server
This won't work.
Steps are incomplete.
What should be done after db:migrate ?
Running script/server showns only the default Rails screen.
Ok, the problem was , there is no auto routing to /user/login.

After ruby script/server..Web browser must be pointed to localhost:3000/user/login

i have problem step 5

root@rails:/opt# rake db:create
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2377:in `raw_load_rakefile'
(See full trace by running task with --trace)

root@rails:/opt# rake db:create --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2377:in `raw_load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

please help

thanks

| m | a | m | a | n |
plz, if you could post an installation tutorial with image, will be fine.I have a probleme in this step rake db:create ... couldn't create database for...
I have a problem
when I tried to open the local host
http://localhost:3000/

Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
Hi coemad,
May i know where do you see this error ? Please check:
1. Do you have the mysql gem installed ?
2. Did you run db:migrate withour errors ?
Let me know your Operating system and Mysql Server version.

Sooraj
Hello everybody .Please any one help i am having probel to install fedena 2.0 on windows.

1st step installed ruby 1.8.6
2nd step installed rails

but when after installing fedena 2.0 i try to run rake gems:install

rake aborted :- error generate kindly guide me.I will be thankful to you.

Pretty
Hi pretty,
Did you install Mysql Server ?. Please install Mysql server first and then run:
"gem install mysql prawn" (without quotes)
then run rake gems:install

Sooraj
Hi Soorajb

Still got error successfull installed prawn 0.8.4
2 gems installed
then lot of errors
no definition for next_result
no definition for field_name
these errors facing.can you give me your email.
pretty,
Which command did you run ? Please tell me the exact error message you get.
You will see these warning messages when you install mysql gem.


Sooraj
I have another question instead of installing separate can i use instantrails 2.0 (mysql,ruby and rails,appache) package like wamp.Will fedena 2.0 support.

My whole work Scenerio

1st c:\project install ruby Folder name-----> Rubby
open command window(rubby) C:\project> "gem install rails -v=2.3.5 --remote" (without quotes)
successfully installed

download and install MYSQL on C:\project (other thing can i also use zip version so could unzip mysql)
downloaded Fedena

Unzip it on C:\project\Fedena

Open command window C:\project\Fedena>"gem install mysql prawn"

(then error which i have told you above after successful installtion of prown 2 files)

Also tell me in config/database.yml (fedena db file) which changing i will do.

Thanks in advance .Waiting your reply.
Best Regards
Pretty


c:\project\Fedena>gem install mysql prawn
Successfully installed prawn-0.8.4
2 gems installed
Installing ri documentation for mysql-2.8.1-x86-mingw32...

No definition for next_result

No definition for field_name

No definition for field_table

No definition for field_def

No definition for field_type

No definition for field_length

No definition for field_max_length

No definition for field_flags

No definition for field_decimals

No definition for time_inspect

No definition for time_to_s

No definition for time_get_year

No definition for time_get_month

No definition for time_get_day

No definition for time_get_hour

No definition for time_get_minute

No definition for time_get_second

No definition for time_get_neg

No definition for time_get_second_part

No definition for time_set_year

No definition for time_set_month

No definition for time_set_day

No definition for time_set_hour

Such error generated
Hi pretty,

You will get this message when you install mysql gem. Please ignore them.
Proceed with rake gems:install.
Then, update mysql username and password in database.yml.
After that, run "rake db:create", this would create databases.
run "rake db:migrate", this would add the tables.
then run "ruby script/server".

Sooraj
Hi Soorajb

After running command c:\new\fedena>rake db:create -------> database created

c:\new\fedena>rake db:migrate ---------> error message generate

Error Message:-

C:\new\Fedena>rake db:migrate
(in C:/new/Fedena)
rake aborted!
can't activate , already activated prawn-0.8.4

(See full trace by running task with --trace)

Thanks for quick reply.
Best Regards

Pretty
Hi pretty,
As specified in environment.rb, it should have download prawn version =0.6.3.
Please uninstall prawn using command "gem uninstall prawn"
and reinstall prawn with version 0.6.3. This would fix all issues.
"gem install prawn -v=0.6.3"

Sooraj
Following error.

C:\New\fedena>rake db:migrate
(in C:/New/fedena)
rake aborted!
Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version`
varchar(255) NOT NULL) ENGINE=InnoDB

(See full trace by running task with --trace)
Hi Soorajb

I need your favour can you send me complete method including database.yml file basically i am installing it on local window machine i did work on ruby on rail but really dnt know why just struck up here.

I will be extremely thankful to you. My email id pritty1989()ymail.com

Best Regards
I installed database mysql without password so user name already root.


Fedena database.yml

development:
host: localhost
adapter: mysql
database: fedena
port: 3306
username: root
password:

test: &test
host: localhost
adapter: mysql
database: fedena_test
port: 3306
username: admin
password:

production:
host: localhost
adapter: mysql
database: fedena
port: 3306
username: admin
password:
cucumber:
<<: *test
---------------------------------------

run command rake db:create

error generate
C:\Fedena>rake db:create
(in C:/Fedena)
Couldn't create database for {"username"=>"root", "adapter"=>"mysql", "port"=>33
06, "host"=>"localhost", "password"=>nil, "database"=>"fedena"}, charset: utf8,
collation: utf8_unicode_ci (if you set the charset manually, make sure you have
a matching collation)


rake db:create

Come up this time with new error

error:- The bundled mysql.rb driver has been removed from rails 2.2.Please install mysql gem and try again:gem install mysql. rake aborted.

Just tell me in database.yme file changing and kindly tell me about my mistake.I didnt sleep whole night just trying to figure out but every time come out with different errors.

Extremely thankful to you @Soorajb for helping me.Now waiting your suggestions

Best regards
pretty