|
From: Pat E. <pe...@gm...> - 2011-10-24 18:29:25
|
ok, I just bought a license :) on a virgin 10.04 though, the rails 3.1.1 installer fails with: extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) this helped: http://mentalized.net/journal/2006/01/24/no_such_file_to_load_mkmf/ at first but now the installer throws: in gem_make.out: /usr/bin/ruby1.8 extconf.rb > > checking for fcgiapp.h... no > > checking for fastcgi/fcgiapp.h... no > > *** 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-fcgi-dir > > --without-fcgi-dir > > --with-fcgi-include > > --without-fcgi-include=${fcgi-dir}/include > > --with-fcgi-lib > > --without-fcgi-lib=${fcgi-dir}/lib > > > and in mkmf.log >> have_header: checking for fcgiapp.h... -------------------- no > > >> "gcc -E -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fno-strict-aliasing >> -g -g -O2 -fPIC conftest.c -o conftest.i" > > conftest.c:1:21: error: fcgiapp.h: No such file or directory > > checked program was: > > /* begin */ > > 1: #include <fcgiapp.h> > > /* end */ > > >> -------------------- > > >> have_header: checking for fastcgi/fcgiapp.h... -------------------- no > > >> "gcc -E -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fno-strict-aliasing >> -g -g -O2 -fPIC conftest.c -o conftest.i" > > conftest.c:1:29: error: fastcgi/fcgiapp.h: No such file or directory > > checked program was: > > /* begin */ > > 1: #include <fastcgi/fcgiapp.h> > > /* end */ > > >> -------------------- > > >> PAT On Mon, Oct 24, 2011 at 19:56, Jamie Cameron <jca...@we...> wrote: > On 24/Oct/2011 04:32 Pat Erler <pe...@gm...> wrote .. > > hi, > > i need to set up a rack for a customer who want's to use ruby on rails. as > virtualmin looks like the most comfortable way to do this, remains the > question, which versions of ruby and of rails is installed? it is updated > regularly? do you use RVM for this? > > We have an installer for Rails 2.3.8 and 3.1.1, which gets updated > frequently. However, I would recommend using a reasonable up-to-date Linux > distribution (like Ubuntu 10.04) if you want to run Rails, as it has > dependencies that can only be satisfied by the latest Ruby and Gems > versions.. > > - Jamie > > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > -- *Pat Erler* Gtalk/G+: pe...@gm... <pe...@gm...>Skype: pat_erler |