Fix ./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:99:in `requirement‘: undefined local variable or method `version_requirements‘ for # (NameError):http://www.redmine.org/issues/7516
Installing RubyMine’s „web preview“ feature failed for me multiple times, showing an error „read time out“. But it’s possible to install that feature manually, too: just download the IDEA_HtmlPreview package for linux and install it from the downloaded zip file.
Diagnosis: Installing ruby-pg fails when trying to create the native extensions:
florian@PC172:~$ sudo gem install ruby-pg
Building native extensions. This could take a while...
ERROR: Error installing ruby-pg:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install ruby-pg
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
Gem files will remain installed in /var/lib/gems/1.8/gems/ruby-pg-0.7.9.2008.01.28 for inspection.
Results logged to /var/lib/gems/1.8/gems/ruby-pg-0.7.9.2008.01.28/ext/gem_make.out
Medicine: install the ruby-dev package – as recommended on RubyForge and on Mentalized by Jakob Skjerning. In some cases, the xxx-dev packages are required for building the native extensions, too- e.g. libsqlite3-dev to install the sqlite3-ruby gem.
P: Find a solution to receive e-mail notifications on errors or exceptions occuring in my RoR app.
Railscasts regarding exception handling and notifications:
- exception_notification Plugin: last change march 2008 – some infos by Steven Hansen – commentars regaring rails 2.# at agiledevelopment .
- exception_logger Plugin: does it mail, too?
- HopToAd service: online service to distribute (?) error notifications (?)
- Exceptional: online service to monitor and distribute (?) error notifications (?) – not suitable for intranet (?)
–> no optimal solution, maybe exception_notification oder exception_logger?