Hi all, This is probably the closes to a "I''m a moron"-letter I have ever written but here goes... I have played with Ruby on Rails for a while and quite liked it and was very thrilled when I stumbled across Instiki. So, I downloaded it, read the README file and did as I was told: Step 1 -- done Step 2 -- results in this: C:\tmp\instiki-ar>ruby instiki.rb ./script/../config/environment.rb:68:in `initialize'': No such file or directory - C:/tmp/instiki-ar/config/database.yml (Errno::ENOENT) from ./script/../config/environment.rb:68:in `open'' from ./script/../config/environment.rb:68 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from ./script/server:42 from instiki.rb:3:in `load'' from instiki.rb:3 I have noticed that there is no "database.yml" as usually is the case (and that is what I understand the above error message is complaining about) but a "database.default.yml" instead. I then tried to rename this one to "database.yml" but to no avail. The server starts allright but when I go to "http://localhost:2500" I get a "MissingSourceFile in Wiki#index" error, with the following details: No such file to load -- sqlite3 /app/models/wiki.rb:82:in `setup?'' /app/controllers/wiki_controller.rb:17:in `index'' ./script/server:49 instiki.rb:3:in `load'' instiki.rb:3 OK, so this makes sense since I don''t have sqlite but I just can not get any further. I have tried to download sqlite but I have not managed to install it; I tried to switch database to MySQL but I can not get the schema right. So, I''m stuck, to be frank. Furthermore I have not a clue as to what to do. It seems to me that there are a number of steps missing between Step 2. Run "instiki", and Step 3. Chuckle... "There''s no step three!" (TM) I can accept that I am an idiot but please tell me what I am doing wrong. This is bugging me and I _really_ want to try out Instiki -- it seems way cool to me. Cheers, Karl-Koenig Koenigsson -- Karl-Koenig Koenigsson SCM Micronic Laser Systems AB "Video meliora proboque deteriora sequor"
Hi Karl-Koenig, Same thing happened to me. It seems that the "there is no step 3" mantra has been put on hold until further notice. Instiki-AR is beta software, so that''s not too surprising. I copied database.default.yml to database.yml. I then installed sqlite. Then, I ran script/create_db. Then, everything Just Worked. Check out Alexey''s email here: http://rubyforge.org/pipermail/instiki-users/2005-September/000302.html It contains instructions for setting up Instiki-AR to use MySQL. Enjoy! -Stu Glaser Karl-K?nig K?nigsson wrote:> Hi all, > > This is probably the closes to a "I''m a moron"-letter I have ever written but here goes... > > I have played with Ruby on Rails for a while and quite liked it and was very thrilled when I stumbled across Instiki. So, I downloaded it, read the README file and did as I was told: > > Step 1 -- done > Step 2 -- results in this: > > C:\tmp\instiki-ar>ruby instiki.rb > ./script/../config/environment.rb:68:in `initialize'': No such file or directory - C:/tmp/instiki-ar/config/database.yml (Errno::ENOENT) > from ./script/../config/environment.rb:68:in `open'' > from ./script/../config/environment.rb:68 > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' > from ./script/server:42 > from instiki.rb:3:in `load'' > from instiki.rb:3 > > I have noticed that there is no "database.yml" as usually is the case (and that is what I understand the above error message is complaining about) but a "database.default.yml" instead. > > I then tried to rename this one to "database.yml" but to no avail. The server starts allright but when I go to "http://localhost:2500" I get a "MissingSourceFile in Wiki#index" error, with the following details: > > No such file to load -- sqlite3 > > /app/models/wiki.rb:82:in `setup?'' > /app/controllers/wiki_controller.rb:17:in `index'' > ./script/server:49 > instiki.rb:3:in `load'' > instiki.rb:3 > > OK, so this makes sense since I don''t have sqlite but I just can not get any further. I have tried to download sqlite but I have not managed to install it; I tried to switch database to MySQL but I can not get the schema right. > > > So, I''m stuck, to be frank. Furthermore I have not a clue as to what to do. It seems to me that there are a number of steps missing between Step 2. Run "instiki", and Step 3. Chuckle... "There''s no step three!" (TM) > > I can accept that I am an idiot but please tell me what I am doing wrong. This is bugging me and I _really_ want to try out Instiki -- it seems way cool to me. > > > Cheers, > > > Karl-Koenig Koenigsson > > -- > Karl-Koenig Koenigsson > SCM Micronic Laser Systems AB > "Video meliora proboque deteriora sequor" > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
Stu Glaser wrote:>Same thing happened to me. It seems that the "there is no step 3" >mantra has been put on hold until further notice. >Indeed, Instiki-AR is not shrink-wrapped for No Step Three installation yet. It''s on a todo list. Meantime, you have to deploy it as a normal Rails application. Alex
hi, > So, I''m stuck, to be frank. Furthermore I have not a clue as to what to do. It seems to me that there are a number of steps missing between Step 2. Run "instiki", and Step 3. Chuckle... "There''s no step three!" (TM)> > I can accept that I am an idiot but please tell me what I am doing wrong. This is bugging me and I _really_ want to try out Instiki -- it seems way cool to me.Instiki is really way2cool (TM) :). AR-beta is just that, a beta. I suggest you try instiki 0.10.2 as its pretty stable. It has a windows, osx and linux versions and its pretty easy to get going. I installed my copy using ruby gems package manager. gem install instiki -r did the trick for me on windows with activestate ruby. It automatically installs all the deps. hope this helps. BKR