[Locomotive-users] Starting from scratch, problems with first app
Jack Wu
wulabs at gmail.com
Thu Jul 20 20:48:30 GMT 2006
Ok. I decided to start from scratach.
I am following the apple tutorial here: http://developer.apple.com/tools/rubyonrails.html
I am using Locomotive 2.0.7 with bundle rails112rmagick_ppc.locobundle.
I am using OSX 10.3.9 on PPC G4.
I then did a 'gem install rails --include-dependencies'
here is the output:
---------
Attempting local installation of 'rails'
Local gem file not found: rails*.gem
Attempting remote installation of 'rails'
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.1.4
Successfully installed activerecord-1.14.3
Successfully installed actionpack-1.12.3
Successfully installed actionmailer-1.2.3
Successfully installed actionwebservice-1.1.4
Installing RDoc documentation for activerecord-1.14.3...
Installing RDoc documentation for actionpack-1.12.3...
Installing RDoc documentation for actionmailer-1.2.3...
Installing RDoc documentation for actionwebservice-1.1.4...
-------------
I then continued to followed the instructions in the Apple tutorial.
Currently I am right before the section titled 'Jump-Starting the Application'
This is the error I get when I run >script/server and try
to access the app via browser:
--------------
Jack-Wus-Computer:~/Sites/expenses] jackwu% script/server
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-07-20 13:38:26: (plugin.c.165) dlopen() failed for:
/Users/ryan/Desktop/building/max/framework/lib/mo
d_indexfile.so dlcompat: file "/Users/ryan/Desktop/building/max/
framework/lib/mod_indexfile.so" not found
2006-07-20 13:38:26: (server.c.583) loading plugins finally failed
Exiting
--------------
On the other hand,
If i use the loco GUI, I add this project to the list.
Then I click run. The first time it complains about
dispatch.fcgi/Ruby env variable. I select "change it".
After the app runs via the GUI, I can access it via the
browser and there are no errors in dev.log,
lighttpd.error.log, or fastcgi.crash.log.
More information about the Locomotive-users
mailing list