jywarren / spectral-workbench

Web-based tools for collecting, analyzing, and sharing data from a DIY spectrometer
http://spectralworkbench.org
GNU General Public License v3.0
95 stars 12 forks source link

installation issues and creating an installation guide #206

Closed YvesAD closed 9 years ago

YvesAD commented 11 years ago

Hello, (I send this message both on the github "issue page" and via email.)

I am a physics teacher, bought the "desktop" spectrometer from publiclab recently and use spectral workbench for some time now.

I want to make a demonstration of spectral workbench in conditions where an internet connection is not available.

So I downloaded the zip from github and i tried to make it run on my old laptop. I have some problems running the web server version of spectral workbench on a local machine (ubuntu 10.10).

1) I tried the default ruby from ubuntu Maverick. 2) Then replaced it with a 1.9.2 from a ppa. 3) I compiled a ruby 1.9.2 (configure, make, make install) (It seems to be a problem of utf8 with 1.9.X) 4) and a 1.8.7. (configure, make, make install)

In every case, I "forced" a version of rails ("sudo gem install -v=2.3.15 rails") as the "config/environment.rb" is asking for that version. (after testing with the default version.)

I was never able to start spectral workbench. (The error messages are different from one version of ruby to another. I don't copy them here. The next paragraph will explain why.)

To make it short (at last!), It seems to me the problem is with the gems which are not the exact versions you used. Is it possible to know the exact configuration you use? (With someting like RVM maybe?)

I am not a ruby developper but quite an experienced unix/linux system administrator. So maybe this is trivial for a ruby on rails developper but I found the lack of installation documentation really painful! Is there a document somewhere I missed? Wouldn't it be worth it to create one?

Really hoping for an answer!

Yours. Yves


Yves Delhaye http://YvesDelhaye.be/

Le binaire divise l'humanité en 10:

Ceux qui le comprennent et les autres.

jywarren commented 11 years ago

Hi, Yves - it would definitely be worth it to create one. I've been focusing almost entirely on the new PublicLab.org website for the past 6 weeks, but have been planning to move back to SW to clean up and improve things. The codebase has evolved heavily over the past year and is not in a great state of cleanliness :-(

Can you post Gists of some of the errors you found? I'll try to help you get it running.

We've been trying to work on an offline version for some time but lack the developers/time/resources. I'm sorry - it is a fairly common request and there is an "offline" static version sitting in the /offline/ folder but it is still not functional (it uses a one-line python server to boot, to avoid JavaScript restrictions on local webcam access) due to JavaScript errors. Would that be an easier route?

On Mon, Apr 29, 2013 at 5:42 AM, YvesAD notifications@github.com wrote:

Hello, (I send this message both on the github "issue page" and via email.)

I am a physics teacher, bought the "desktop" spectrometer from publiclab recently and use spectral workbench for some time now.

I want to make a demonstration of spectral workbench in conditions where an internet connection is not available.

So I downloaded the zip from github and i tried to make it run on my old laptop. I have some problems running the web server version of spectral workbench on a local machine (ubuntu 10.10).

1) I tried the default ruby from ubuntu Maverick. 2) Then replaced it with a 1.9.2 from a ppa. 3) I compiled a ruby 1.9.2 (configure, make, make install) (It seems to be a problem of utf8 with 1.9.X) 4) and a 1.8.7. (configure, make, make install)

In every case, I "forced" a version of rails ("sudo gem install -v=2.3.15 rails") as the "config/environment.rb" is asking for that version. (after testing with the default version.)

I was never able to start spectral workbench. (The error messages are different from one version of ruby to another. I don't copy them here. The next paragraph will explain why.)

To make it short (at last!), It seems to me the problem is with the gems which are not the exact versions you used. Is it possible to know the exact configuration you use? (With someting like RVM maybe?)

I am not a ruby developper but quite an experienced unix/linux system administrator. So maybe this is trivial for a ruby on rails developper but I found the lack of installation documentation really painful! Is there a document somewhere I missed? Wouldn't it be worth it to create one?

Really hoping for an answer!

Yours.

Yves

Yves Delhaye http://YvesDelhaye.be/

Le binaire divise l'humanité en 10: Ceux qui le comprennent et les autres.

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206 .

YvesAD commented 11 years ago

Hello Jeffrey,

First, thanks for your kind answer. I did, indeed, try to run the "offline" but saw it wasn't working yet. I don't mind running the webserver (I used to run a few apache servers in an other life as sysad.) And actually I plan to use it at school: It will be a nice tool for my teenagers to do a spectrometry lab.

I reinstalled ruby (removing everything from the manual installs and "apt-get install ruby"+"apt-get install rubygems") and rails ("sudo gem install -v=2.3.15 rails")on my machine and got it running: the demo "rails new" produced a server on "http://0.0.0.0:3000" with a "It worked" page once I runned "script/server". I will copy the config and the errors messages from "SW" below.

First a few technical questions as I am trying to reproduce your configuration:

Anyway, now when i run the "startup" script, it runs on http://127.0.0.1:3000/ I got a error from passenger about database missing.

Error message: "No such file or directory - ... /spectral-workbench-master/webserver/config/database.yml" (I just edited the PATH to make it more readable.) If I try to copy ("cp config/database.yml.example config/database.yml") and edit "config/database.yml": development: adapter: sqlite3 database: db/production.db

production: adapter: sqlite3 database: db/production.db

test: adapter: sqlite3 database: db/test.db

I added the "db/" to the path of the databases.

And then restart the server, I have this error in the "passenger" page: Error message: no such file to load -- openid (MissingSourceFile)

The first "backtrace" from passenger being: file "/usr/lib/ruby/1.8/rubygems/custom_require.rb" line "31" in "/usr/lib/ruby/1.8/rubygems/custom_require.rb"

I copy here the said file on lines 30 &31: " def require(path) # :doc: gem_original_require path " But here i am lacking the practice! I just tried sqlite and ruby a few times a long time ago and haven't got the expertise.

YvesAD commented 11 years ago

Same effect if I remove the "db/" from the database.yml file. (And sorry, I am new on github: I closed the issue by mistake and had to reopen it!)

jywarren commented 11 years ago

no prob - database.yml should be in the same directory as database.yml.example, so you got that right.

Then from the root directory, have you tried running "rake gems:install" which will install your gems (ruby plugins?) That will help - openid is one of the required gems. Tell me what happens next!

YvesAD commented 11 years ago

I tried "rake gems:install", got an error, did a manual install of openid ("sudo gen install openid") and rerun "rake gems:install". (should I run it with sudo? Here is the result of the command with "--trace" ... $:~/ ... /spectral-workbench-master/webserver$ rake --trace gems:install DEPRECATION WARNING: Rake tasks in vendor/plugins/restful-authentication/tasks are deprecated. Use lib/tasks instead. (called from /var/lib/gems/1.8/gems/rails-2.3.15/lib/tasks/rails.rb:10) * Invoke gems:install (first_time) * Invoke gems:base (first_time) * Execute gems:base * Invoke environment (first_time) \ Execute environment rake aborted! no such file to load -- openid /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire' /var/lib/gems/1.8/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:182:in `require' ... Here I suppress the next lines as they don't seem more relevant. ... Tasks: TOP => environment

I even rebooted the computer! (Which is a sign of how desesperate I am! ;- ) )

jywarren commented 11 years ago

yikes! sorry this is frustrating... it can be in any rails app, and this one is particularly messy. What happens when you type "gem list"? I think if we can get past it not recognizing (or not having installed) openid, we'll be making better progress.

On Tue, Apr 30, 2013 at 1:50 PM, YvesAD notifications@github.com wrote:

I tried "rake gems:install", got an error, did a manual install of openid ("sudo gen install openid") and rerun "rake gems:install". (should I run it with sudo? Here is the result of the command with "--trace" ... $:~/ ... /spectral-workbench-master/webserver$ rake --trace gems:install DEPRECATION WARNING: Rake tasks in vendor/plugins/restful-authentication/tasks are deprecated. Use lib/tasks instead. (called from /var/lib/gems/1.8/gems/rails-2.3.15/lib/tasks/rails.rb:10) * Invoke gems:install (first_time) * Invoke gems:base (first_time) * Execute gems:base * Invoke environment (first_time) \ Execute environment rake aborted!

no such file to load -- openid /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire' /var/lib/gems/1.8/gems/activesupport-2.3.15/lib/active_support/dependencies.rb:182:in `require' ... Here I suppress the next lines as they don't seem more relevant. ... Tasks: TOP => environment

I even rebooted the computer! (Which is a sign of how desesperate I am! ;- ) )

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17243034 .

YvesAD commented 11 years ago

Here it is: $:~/ ... /spectral-workbench-master/webserver$ gem list

* LOCAL GEMS *

actionmailer (3.2.13, 2.3.15) actionpack (3.2.13, 2.3.15) activemodel (3.2.13) activerecord (3.2.13, 2.3.15) activeresource (3.2.13, 2.3.15) activesupport (3.2.13, 2.3.15) archive-tar-minitar (0.5.2) arel (3.0.2) builder (3.0.4) bundler (1.3.5) coffee-rails (3.2.2) coffee-script (2.2.0) coffee-script-source (1.6.2) daemon_controller (1.1.2) erubis (2.7.0) execjs (1.4.0) fastthread (1.0.7) ffi (1.0.11) hike (1.2.2) i18n (0.6.1, 0.6.0) journey (1.0.4) jquery-rails (2.2.1) json (1.7.7, 1.5.4) mail (2.5.3) mime-types (1.23) multi_json (1.7.2) net-scp (1.0.4) net-ssh (2.1.4) openid (0.0.1) passenger (3.0.19) polyglot (0.3.3) rack (1.4.5, 1.1.6) rack-cache (1.2) rack-ssl (1.3.3) rack-test (0.6.2) rails (2.3.15) railties (3.2.13) rake (10.0.4) rdoc (3.12.2) sass (3.2.8) sass-rails (3.2.6) sprockets (2.2.2) sqlite3 (1.3.7) thor (0.18.1) tilt (1.3.7) treetop (1.4.12) tzinfo (0.3.37) uglifier (2.0.1) virtualbox (0.9.2) $:~/ ... /spectral-workbench-master/webserver$

jywarren commented 11 years ago

Ah! Try running "gem install ruby-openid -v 2.2.2"

We should add that to the /config/environment.rb file... i think it was in there but causing trouble so it was removed. If this works, we have to fix that, it's impossible to figure out otherwise!

jywarren commented 11 years ago

https://github.com/jywarren/spectral-workbench/blob/master/webserver/config/environment.rb

jywarren commented 11 years ago

so alternatively, try uncommenting line 20 of environment.rb and running rake gems:install, but maybe it'd be simpler to manually install that gem first.

YvesAD commented 11 years ago

Ok, I runned "sudo gem install ruby-openid -v 2.2.2"

And got this message: Error message: no such file to load -- rack/openid (MissingSourceFile)

Same thing with rake: rake aborted! no such file to load -- rack/openid Which is different from the "no such file to load -- openid" I had before.

I try to uncomment environment.rb and run rake gems:install but have the same error "no such file to load -- rack/openid".

YvesAD commented 11 years ago

While at it, I installed "by hand" the followings (from reading environment.rb): sudo gem install aws-s3 paperclip recaptcha redcarpet will_paginate

BUT a little google later, i found this: http://stackoverflow.com/questions/7596577/no-such-file-to-load-rack-openid

So I left line 20 of enverinnoment.rb commented and did " sudo gem install rack-openid" and now I have to do a " sudo /var/lib/gems/1.8/bin/rake --trace gems:install" (otherwise I don't have write access to the "/var/lib/gems/1.8" directory.

But now I have this error: ERROR: Error installing paperclip: paperclip requires Ruby version >= 1.9.2.

But it installed will_paginate. So do I need to upgrade to ruby 1.9.2? It seems so.

If I try to start the webserver, I have this error from "passenger":

Ruby on Rails application could not be started The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message can be found below. To solve this problem, please follow any instructions in the error message. Error message: Missing these required gems: paperclip >= 0 You're running: ruby 1.8.7.299 at /usr/bin/ruby1.8 rubygems 1.3.7 at /home/yves/.gem/ruby/1.8, /var/lib/gems/1.8 Run rake gems:install to install the missing gems.

What annoys me is the "rubygems 1.3.7 at /home/yves/.gem/ruby/1.8". It might be a leftover from my previous 'RVM" install.

Well, it's getting late here in old europe, I'll go to sleep on that.

jywarren commented 11 years ago

I'm glad you figured out "sudo gem install rack-openid"

there is an older version of paperclip i was using that doesn't require 1.9.2 -- paperclip (2.7.0)

try gem install paperclip -v 2.7.0

jywarren commented 11 years ago

Almost there... sorry i am not responding super promptly... am running around town doing errands. I'm sure it'd be going faster if I could be responding in real time :-(

YvesAD commented 11 years ago

Don't worry about "real time": I have to read bedtime stories for my son, fetch my teenagers daughters at parties, feed all of them, run errands for my wife who is traveling a lot those days ... and work! Anyway, I did "sudo gem install paperclip -v 2.7.0" and after that rake ... complaned about cocaine! So I did "sudo gem install cocaine", got "Successfully installed cocaine-0.5.1", run "rake" again and got the same message "rake aborted! no such file to load -- cocaine". If I try to run the server with "./startup" I have the same error from "passenger". (I will also start a installation file with the log of what happened until now.)

Related to this project: I started a project at school with the mapping balloon kit and an android phone. It is in french but you will find the info here: http://www.sjpa.be/spip/spip.php?rubrique155 (And the python source code for both gps and photomapping for android my pupils are working on.) It is the same pupils I want to introduce to spectrometry with SW.

jywarren commented 11 years ago

It's great to hear of your plans and your activities to date -- very exciting!

I believe you need an older version of cocaine... Here is my entire gem list:

actionmailer (3.2.13, 2.3.15) actionpack (3.2.13, 2.3.15) activemodel (3.2.13, 3.2.11) activerecord (3.2.13, 2.3.15) activeresource (3.2.13, 2.3.15) activesupport (3.2.13, 3.2.11, 2.3.15) addressable (2.2.8) arel (3.0.2) aws-s3 (0.6.3) builder (3.0.4) bundler (1.2.3) cocaine (0.2.1) daemon_controller (1.1.1) davetroy-geohash (1.1.0) erubis (2.7.0) faraday (0.8.4) fastthread (1.0.7) geokit (1.6.5) georuby (2.0.0) git (1.2.5) github (0.7.2) haml (3.1.7) highline (1.6.15) hike (1.2.1) hpricot (0.8.6) httparty (0.10.0) httpauth (0.2.0) i18n (0.6.1) image_science (1.2.4) journey (1.0.4) json (1.7.6) json_pure (1.7.6, 1.5.4) jwt (0.1.5) launchy (2.0.5) mail (2.5.3, 2.4.4) mime-types (1.19) mini_magick (3.4) multi_json (1.5.0) multi_xml (0.5.2) multipart-post (1.1.5) mysql (2.9.0) mysql2 (0.3.11) nokogiri (1.5.6) oauth (0.4.7) oauth-plugin (0.4.1) oauth2 (0.8.0) paperclip (2.7.0) passenger (3.0.19) polyglot (0.3.3) rack (1.4.5, 1.4.4, 1.1.5) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.2) rails (3.2.13, 2.3.15) rails_autolink (1.0.9) railties (3.2.13, 3.2.11) rake (10.0.3) rdiscount (2.0.7.1) rdoc (3.12) recaptcha (0.3.4) redcarpet (2.2.2) RedCloth (4.2.9) rmagick (2.13.1) ruby-openid (2.2.2) rubygems-bundler (1.1.0) RubyInline (3.12.0) rvm (1.11.3.5) sanitize (2.0.3) sprockets (2.2.2) spruz (0.2.13) sqlite3 (1.3.7) subexec (0.2.2) text-format (1.0.0) text-hyphen (1.0.0) thor (0.16.0) tilt (1.3.3) treetop (1.4.12) tzinfo (0.3.35) will_paginate (2.3.16, 2.3.15) xml-simple (1.1.2) yaml_db (0.2.3) ZenTest (4.8.3)

YvesAD commented 11 years ago

I will spend the evening trying to manually install all the gems with the correct version. I also suspect a PATH problem: as a user, rake is in my PATH but not with sudo or as root. There seems to be a similar problem (LIBRARY_PATH) with "cocaine".

For the android phone, you have to install SL4A (just google it to find it) and the python "bundle" asociated with it. You can download the python photo and gps codes here: http://www.sjpa.be/spip/IMG/zip/take_100_pictures.py.zip http://www.sjpa.be/spip/IMG/zip/GpsAndroid_1.py.zip

It is very crude (no error handling etc) but it works and don't forget it was written by 16 years old who started programming a few weeks before!

jywarren commented 11 years ago

Ok -- good luck! In theory rake should automate that but as you've discovered its not always that simple. If we could get the environment.rb file properly written that'd be wonderful. On May 1, 2013 10:22 AM, "YvesAD" notifications@github.com wrote:

I will spend the evening trying to manually install all the gems with the correct version. I also suspect a PATH problem: as a user, rake is in my PATH but not with sudo or as root. There seems to be a similar problem (LIBRARY_PATH) with "cocaine".

For the android phone, you have to install SL4A (just google it to find it) and the python "bundle" asociated with it. You can download the python photo and gps codes here: http://www.sjpa.be/spip/IMG/zip/take_100_pictures.py.zip http://www.sjpa.be/spip/IMG/zip/GpsAndroid_1.py.zip

It is very crude (no error handling etc) but it works and don't forget it was written by 16 years old who started programming a few weeks before!

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17283604 .

YvesAD commented 11 years ago

Hello, following your gems list, i wrote a small shell script. (run it with ". ./gem2install.sh under unix/linux)

sudo gem install actionmailer -v 3.2.13 sudo gem install actionmailer -v 2.3.15 sudo gem install actionpack -v 3.2.13 sudo gem install actionpack -v 2.3.15 sudo gem install activemodel -v 3.2.11 sudo gem install activemodel -v 3.2.13 sudo gem install activerecord -v 3.2.13 sudo gem install activerecord -v 2.3.15 sudo gem install activeresource -v 3.2.13 sudo gem install activeresource -v 2.3.15 sudo gem install activesupport -v 3.2.13 sudo gem install activesupport -v 3.2.11 sudo gem install addressable -v 2.2.8 sudo gem install arel -v 3.0.2 sudo gem install aws-s3 -v 0.6.3 sudo gem install builder -v 3.0.4 sudo gem install bundler -v 1.2.3 sudo gem install cocaine -v 0.2.1 sudo gem install daemon_controller -v 1.1.1 sudo gem install davetroy-geohash -v 1.1.0 sudo gem install erubis -v 2.7.0 sudo gem install faraday -v 0.8.4 sudo gem install fastthread -v 1.0.7 sudo gem install geokit -v 1.6.5 sudo gem install georuby -v 2.0.0 sudo gem install git -v 1.2.5 sudo gem install github -v 0.7.2 sudo gem install haml -v 3.1.7 sudo gem install highline -v 1.6.15 sudo gem install hike -v 1.2.1 sudo gem install hpricot -v 0.8.6 sudo gem install httparty -v 0.10.0 sudo gem install httpauth -v 0.2.0 sudo gem install i18n -v 0.6.1 sudo gem install image_science -v 1.2.4 sudo gem install journey -v 1.0.4 sudo gem install json -v 1.7.6 sudo gem install json_pure -v 1.7.6 sudo gem install json_pure -v 1.5.4 sudo gem install jwt -v 0.1.5 sudo gem install launchy -v 2.0.5 sudo gem install mail -v 2.5.3 sudo gem install mail -v 2.4.4 sudo gem install mime-types -v 1.19 sudo gem install mini_magick -v 3.4 sudo gem install multi_json -v 1.5.0 sudo gem install multi_xml -v 0.5.2 sudo gem install multipart-post -v 1.1.5 sudo gem install mysql -v 2.9.0 sudo gem install mysql2 -v 0.3.11 sudo gem install nokogiri -v 1.5.6 sudo gem install oauth -v 0.4.7 sudo gem install oauth-plugin -v 0.4.1 sudo gem install oauth2 -v 0.8.0 sudo gem install paperclip -v 2.7.0 sudo gem install passenger -v 3.0.19 sudo gem install polyglot -v 0.3.3 sudo gem install rack -v 1.4.5 sudo gem install rack -v 1.4.4 sudo gem install rack -v 1.1.5 sudo gem install rack-cache -v 1.2 sudo gem install rack-openid -v 1.3.1 sudo gem install rack-ssl -v 1.3.2 sudo gem install rack-test -v 0.6.2 sudo gem install rails -v 3.2.13 sudo gem install rails -v 2.3.15 sudo gem install rails_autolink -v 1.0.9 sudo gem install railties -v 3.2.13 sudo gem install railties -v 3.2.11 sudo gem install rake -v 10.0.3 sudo gem install rdiscount -v 2.0.7.1 sudo gem install rdoc -v 3.12 sudo gem install recaptcha -v 0.3.4 sudo gem install redcarpet -v 2.2.2 sudo gem install RedCloth -v 4.2.9 sudo gem install rmagick -v 2.13.1 sudo gem install ruby-openid -v 2.2.2 sudo gem install rubygem installs-bundler -v 1.1.0 sudo gem install RubyInline -v 3.12.0 sudo gem install rvm -v 1.11.3.5 sudo gem install sanitize -v 2.0.3 sudo gem install sprockets -v 2.2.2 sudo gem install spruz -v 0.2.13 sudo gem install sqlite3 -v 1.3.7 sudo gem install subexec -v 0.2.2 sudo gem install text-format -v 1.0.0 sudo gem install text-hyphen -v 1.0.0 sudo gem install thor -v 0.16.0 sudo gem install tilt -v 1.3.3 sudo gem install treetop -v 1.4.12 sudo gem install tzinfo -v 0.3.35 sudo gem install will_paginate -v 2.3.16 sudo gem install will_paginate -v 2.3.15 sudo gem install xml-simple -v 1.1.2 sudo gem install yaml_db -v 0.2.3 sudo gem install ZenTest -v 4.8.3

I 'm runing the install now. I will let you know how things are going.

YvesAD commented 11 years ago

Some error messages: ... Successfully installed i18n-0.6.1 1 gem installed Installing ri documentation for i18n-0.6.1... Installing RDoc documentation for i18n-0.6.1... ERROR: Error installing image_science: ZenTest requires RubyGems version >= 1.8, < 2.1. Try 'gem update --system' to update RubyGems itself. Successfully installed journey-1.0.4 1 gem installed ... Successfully installed mysql2-0.3.11 1 gem installed Installing ri documentation for mysql2-0.3.11... Installing RDoc documentation for mysql2-0.3.11... Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb checking for libxml/parser.h... yes

checking for libxslt/xslt.h... no

libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.

* extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib --with-libxslt-config --without-libxslt-config --with-pkg-config --without-pkg-config --with-libxml-2.0-config --without-libxml-2.0-config --with-libiconv-config --without-libiconv-config

Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection. Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out

...

jywarren commented 11 years ago

OK, so probably something like "sudo apt-get install libxslt" ? and "gem update --system" ?

you are very patient. Thanks for your hard work!

On Thu, May 2, 2013 at 6:11 AM, YvesAD notifications@github.com wrote:

Some error messages: ... Successfully installed i18n-0.6.1 1 gem installed Installing ri documentation for i18n-0.6.1... Installing RDoc documentation for i18n-0.6.1... ERROR: Error installing image_science: ZenTest requires RubyGems version >= 1.8, < 2.1. Try 'gem update --system' to update RubyGems itself. Successfully installed journey-1.0.4 1 gem installed ... Successfully installed mysql2-0.3.11 1 gem installed Installing ri documentation for mysql2-0.3.11... Installing RDoc documentation for mysql2-0.3.11... Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb checking for libxml/parser.h... yes checking for libxslt/xslt.h... no libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.

* extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --with-iconv-dir --without-iconv-dir --with-iconv-include --without-iconv-include=${iconv-dir}/include --with-iconv-lib --without-iconv-lib=${iconv-dir}/lib --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib --with-libxslt-config --without-libxslt-config --with-pkg-config --without-pkg-config --with-libxml-2.0-config --without-libxml-2.0-config --with-libiconv-config --without-libiconv-config

Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.6 for inspection. Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.6/ext/nokogiri/gem_make.out

...

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17336887 .

YvesAD commented 11 years ago

Thanks to you Jeffrey, it's fun actually! I looked at your GOSC page (thanks for the "gentleman" on issue #209 by the way.). When we're done with this install thing, i will be interested in the android apps for photos and gps. It seems we have some shared interests there.

YvesAD commented 11 years ago

I thought it was "sudo apt-get install libxslt-ruby" BUT: Reading http://nokogiri.org/tutorials/installing_nokogiri.html i discovered it was : apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 sudo apt-get install libxslt-dev libxml2-dev

And then sudo gem install nokogiri

YvesAD commented 11 years ago

ARRGGG: Still the same error when I start the server: Error message: no such file to load -- cocaine (MissingSourceFile)

Ok, back to path problem!

jywarren commented 11 years ago

I found this issue, maybe worth trying? http://stackoverflow.com/questions/12762515/paperclip-gem-validation-error-filename-is-not-recognized-by-the-identify

add this to the environment.rb file:

gem 'cocaine', '0.3.2'

On Thu, May 2, 2013 at 7:15 AM, YvesAD notifications@github.com wrote:

ARRGGG: Still the same error when I start the server: Error message: no such file to load -- cocaine (MissingSourceFile)

Ok, back to path problem!

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17340234 .

YvesAD commented 11 years ago

Ok, I added gem 'cocaine', '0.3.2' in environment (just under the "Rails::Initializer.run do |config|" line) Then "sudo gem install cocaine -v 0.3.2" (But it's 0.2.1 in your gems list!) and sudo env PATH=$PATH rake gems:instal (the "env PATH=$PATH" to ensure sudo finds rake.)

What I see then in the browser opened onn 127.0.0.1:3000 under the title "Action Controller: Exception caught" is " SQLite3::SQLException: no such table: spectrums: SELECT * FROM "spectrums" WHERE (author != 'anonymous') ORDER BY created_at DESC LIMIT 100 " So obviously I have to create the database. Any script for that? (And you are saying I am patient! What should I call you?? "master of zen"? ;-) Thanks for keeping answering me!) In the "db" directory I see a "seeds.rb" file which is quite obvious but not implemented. Do you have a exemple db I could use to start with?

jywarren commented 11 years ago

wow, this is really getting there now, fingers crossed. Run:

rake db:migrate

then try booting it again!

On Thu, May 2, 2013 at 7:57 AM, YvesAD notifications@github.com wrote:

Ok, I added gem 'cocaine', '0.3.2' in environment (just under the ...line) Then "sudo gem install cocaine -v 0.3.2" (But it's 0.2.1 in your gems list!) and sudo env PATH=$PATH rake gems:instal (the "env PATH=$PATH" to ensure sudo finds rake.)

What passenger shows me in the browser opened onn 127.0.0.1:3000 is " SQLite3::SQLException: no such table: spectrums: SELECT * FROM "spectrums" WHERE (author != 'anonymous') ORDER BY created_at DESC LIMIT 100 " So obviously I have to create the database. Any script for that? (And you are saying I am patient! What should I call you "master of zen"? ;-) Thanks for keeping answering me!)

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17342850 .

YvesAD commented 11 years ago

YES!!!!! It works! I will modify the DB as to record things localy later but it's time for a glass of champagne! (Well, wish I had some!)

jywarren commented 11 years ago

amazing! super! congrats!

On Thu, May 2, 2013 at 8:14 AM, YvesAD notifications@github.com wrote:

YES!!!!! It works! I will modify the DB as to record things localy later but it's time for a glass of champagne! (Well, wish I had some!)

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17343875 .

YvesAD commented 11 years ago

Now the hardest part: document that! Luckily I have to go fetch my son at school. I will procrastinate tomorrow! (No seriously, i'll write some doc this evening.) One more question to see if I got it right: If I want to access the DB, can I access it with "irb"? I will read some more doc anyway.

jywarren commented 11 years ago

You can access a ruby console with irb, but to load all of Rails, it's better to do "script/console" from the root dir. Then you get the whole application booted in a console. Amazing, documentation would be wonderful!

On Thu, May 2, 2013 at 8:28 AM, YvesAD notifications@github.com wrote:

Now the hardest part: document that! Luckily I have to go fetch my son at school. I will procrastinate tomorrow! (No seriously, i'll write some doc this evening.) One more question to see if I got it right: If I want to access the DB, can I access it with "irb"? I will read some more doc anyway.

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17344822 .

YvesAD commented 11 years ago

I just finished a log/installation file. I send it to you with email.

jywarren commented 11 years ago

Fantastic - could you post it as a Gist at gist.github.com?

On Thu, May 2, 2013 at 12:13 PM, YvesAD notifications@github.com wrote:

I just finished a log/installation file. I send it to you with email.

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-17358320 .

YvesAD commented 11 years ago

It's done: https://gist.github.com/YvesAD/5520784

It still needs a lot of cleaning. For once I will try to reinstall everything on a virtual machine to check it.

I will work on the database later and also create a gist when it's done.

dckim commented 10 years ago

Any success on getting a copy that one can install? Please let me know. Thanks!

yellowhuang007 commented 10 years ago

Dear jywarren,

when I open "http://localhost:3000/" on the server with FIREFOX,there got an" Error message: cannot load such file -- capture_helper." The whole webpage's information was affixed as the following.Would you please give me some suggestion? Thanks ! BR, YELLOW

A source file that the application requires, is missing.

It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
A required library may not installed. Please install all libraries that this application requires.

Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.

Error message: cannot load such file -- capture_helper Exception class: LoadError Application root: /home/jiangchuan/Desktop/spectral-workbench-master/webserver Backtrace:

File Line Location

0   /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb     55  in `require'
1   /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb     55  in`require'
2   /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  184     in `require'
3   /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  291     in`require_or_load'
4   /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  250     in `depend_on'
5   /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  162     in`require_dependency'
6   /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/actionpack-2.3.15/lib/action_controller/helpers.rb   197     in `default_helper_module!'
7   /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/actionpack-2.3.15/lib/action_controller/helpers.rb   212     in`inherited_with_helper'
8   /home/jiangchuan/Desktop/spectral-workbench-master/webserver/app/controllers/capture_controller.rb  2   in `'
9   /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb     55  in`require'
10  /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb     55  in `require'
11  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  184     in`require'
12  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  291     in `require_or_load'
13  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  250     in`depend_on'
14  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb  162     in `require_dependency'
15  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb  414     in`block (2 levels) in load_application_classes'
16  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb  413     in `each'
17  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb  413     in`block in load_application_classes'
18  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb  411     in `each'
19  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb  411     in`load_application_classes'
20  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb  197     in `process'
21  /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb  113     in`run'
22  /home/jiangchuan/Desktop/spectral-workbench-master/webserver/config/environment.rb  9   in `'
23  /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb     36  in`require'
24  /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb     36  in `require'
25  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb  222     in`preload_application'
26  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb  181     in `block in initialize_server'
27  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/utils.rb  563     in`report_app_init_status'
28  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb  174     in `initialize_server'
29  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb    204     in`start_synchronously'
30  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb    180     in `start'
31  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb  149     in`start'
32  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb  219     in `block (2 levels) in spawn_rails_application'
33  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb     132     in`lookup_or_add'
34  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb  214     in `block in spawn_rails_application'
35  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb     82  in`block in synchronize'
36  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb     79  in `synchronize'
37  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb     79  in`synchronize'
38  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb  213     in `spawn_rails_application'
39  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb  132     in`spawn_application'
40  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb  275     in `handle_spawn_application'
41  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb    357     in`server_main_loop'
42  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb    206     in `start_synchronously'
43  /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/helper-scripts/passenger-spawn-server   99  in`'
jywarren commented 10 years ago

Hi, sorry, i missed this while traveling. I responded in the separate issue you posted: https://github.com/jywarren/spectral-workbench/issues/245

On Wed, Feb 19, 2014 at 1:17 AM, yellowhuang007 notifications@github.comwrote:

Dear jywarren,

when I open "http://localhost:3000/" on the server with FIREFOX,there got an" Error message: cannot load such file -- capture_helper." The whole webpage's information was affixed as the following.Would you please give me some suggestion? Thanks ! BR, YELLOW

A source file that the application requires, is missing.

It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded. A required library may not installed. Please install all libraries that this application requires.

Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.

Error message: cannot load such file -- capture_helper Exception class: LoadError Application root: /home/jiangchuan/Desktop/spectral-workbench-master/webserver Backtrace:

File Line Location

0 /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb 55 in require' 1 /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb 55 inrequire' 2 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 184 in require' 3 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 291 inrequire_or_load' 4 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 250 in depend_on' 5 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 162 inrequire_dependency' 6 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/actionpack-2.3.15/lib/action_controller/helpers.rb 197 in default_helper_module!' 7 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/actionpack-2.3.15/lib/action_controller/helpers.rb 212 ininherited_with_helper' 8 /home/jiangchuan/Desktop/spectral-workbench-master/webserver/app/controllers/capture_controller.rb 2 in ' 9 /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb 55 inrequire' 10 /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb 55 in require' 11 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 184 inrequire' 12 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 291 in require_or_load' 13 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 250 independ_on' 14 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/activesupport-2.3.15/lib/active_support/dependencies.rb 162 in require_dependency' 15 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb 414 inblock (2 levels) in load_application_classes' 16 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb 413 in each' 17 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb 413 inblock in load_application_classes' 18 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb 411 in each' 19 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb 411 inload_application_classes' 20 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb 197 in process' 21 /home/jiangchuan/.rvm/gems/ruby-2.1.0/gems/rails-2.3.15/lib/initializer.rb 113 inrun' 22 /home/jiangchuan/Desktop/spectral-workbench-master/webserver/config/environment.rb 9 in ' 23 /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb 36 inrequire' 24 /home/jiangchuan/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb 36 in require' 25 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb 222 inpreload_application' 26 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb 181 in block in initialize_server' 27 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/utils.rb 563 inreport_app_init_status' 28 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb 174 in initialize_server' 29 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb 204 instart_synchronously' 30 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb 180 in start' 31 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/classic_rails/application_spawner.rb 149 instart' 32 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb 219 in block (2 levels) in spawn_rails_application' 33 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb 132 inlookup_or_add' 34 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb 214 in block in spawn_rails_application' 35 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb 82 inblock in synchronize' 36 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb 79 in synchronize' 37 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb 79 insynchronize' 38 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb 213 in spawn_rails_application' 39 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb 132 inspawn_application' 40 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/spawn_manager.rb 275 in handle_spawn_application' 41 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb 357 inserver_main_loop' 42 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/lib/phusion_passenger/abstract_server.rb 206 in start_synchronously' 43 /home/jiangchuan/.passenger/standalone/3.0.19-x86-ruby2.1.0-linux-gcc4.6.3-1002/support/helper-scripts/passenger-spawn-server 99 in'

Reply to this email directly or view it on GitHubhttps://github.com/jywarren/spectral-workbench/issues/206#issuecomment-35469662 .

jywarren commented 9 years ago

I believe this is vastly improved now that we're on the Rails 3.2 version; closing. Thanks! @YvesAD if you have a chance to try installing the new version, much appreciated! And more improvements are coming with a switch to Bower static asset management.

YvesAD commented 9 years ago

Hello,

I'll try a new local install in about two weeks (school holidays then, exam & reports before!).

Yours Yves

%%%%%%%%%%%%%%%%%% http://YvesDelhaye.be Never believe an atom. They make up everything! %%%%%%%%%%%%%%%%%% Le 2 févr. 2015 03:36, "Jeffrey Warren" notifications@github.com a écrit :

Closed #206 https://github.com/jywarren/spectral-workbench/issues/206.

— Reply to this email directly or view it on GitHub https://github.com/jywarren/spectral-workbench/issues/206#event-228251147 .