|
From: Pat E. <pe...@gm...> - 2011-10-25 08:36:33
|
ok, this is a dependencies nightmare. I now did this: wget http://rubyforge.org/frs/download.php/70695/rubygems-update-1.3.7.gem > > gem install rubygems-update-1.3.7.gem > > >> gem update --system > > apt-get install libsqlite3-0 libsqlite3-dev libmysqlclient16-dev > > > additionally to the steps already described, and rails tries to start - - - but comes to a grinding halt with :( /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:280:in >> `resolve': Could not find gem 'jquery-rails (>= 0) ruby' in any of the gem >> sources listed in your Gemfile. (Bundler::GemNotFound) > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:160:in >> `start' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:128:in >> `resolve' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:127:in >> `catch' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:127:in >> `resolve' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:151:in >> `resolve' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:90:in >> `specs' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:135:in >> `specs_for' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/definition.rb:124:in >> `requested_specs' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/environment.rb:23:in >> `requested_specs' > > from >> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:11:in >> `setup' > > from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:110:in >> `setup' > > from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/setup.rb:17 > > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in >> `gem_original_require' > > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in >> `require' > > from /home/photocase/domains/ >> rails.photocase.com/public_html/config/boot.rb:6 > > from script/rails:5:in `require' > > from script/rails:5 > > here I'm stuck. PAT On Tue, Oct 25, 2011 at 08:54, Pat Erler <pe...@gm...> wrote: > ok, this problem looks a bit tough: > http://stackoverflow.com/questions/4151040/error-installing-rails-on-ubuntu-10-04 > > a ruby expert told me from the beginning to use RVM - do you see a way to > do this in a controled manner with virtualmin pro? > > PAT > > > On Tue, Oct 25, 2011 at 08:46, Pat Erler <pe...@gm...> wrote: > >> >> nope: >> >>> root@v016:~# gem update --system >>> >>> ERROR: While executing gem ... (RuntimeError) >>> >>> gem update --system is disabled on Debian. RubyGems can be updated >>>> using the official Debian repositories by aptitude or apt-get. >>> >>> >>> >> On Tue, Oct 25, 2011 at 07:50, Jamie Cameron <jca...@we...> wrote: >> >>> Try running : >>> >>> gem --update system >>> >>> >>> Pat Erler <pe...@gm...> wrote: >>> >>> >root@v016:~# gem --version >>> >1.3.5 >>> > >>> > >>> >On Mon, Oct 24, 2011 at 23:14, Jamie Cameron <jca...@we...> >>> wrote: >>> > >>> >> Which ruby gems version do you have on your system? Running gem >>> --version >>> >> will tell you .. >>> >> >>> >> On 24/Oct/2011 13:36 Pat Erler <pe...@gm...> wrote .. >>> >> >>> >> ok, I did a >>> >> >>> >> gem install json >>> >> >>> >> after another dependencies problem >>> >> >>> >> gem install rdoc-data >>> >> >>> >> but no I hit a road block: >>> >> >>> >> gem install multi_json >>> >>> >>> >>> ERROR: Error installing multi_json: >>> >>> >>> >>> multi_json requires RubyGems version >= 1.3.6 >>> >>> >>> >>> >>> >>> PAT >>> >> >>> >> On Mon, Oct 24, 2011 at 21:46, Pat Erler <pe...@gm...< >>> http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom> >>> >> > wrote: >>> >> >>> >>> ok, closer, now I get: >>> >>> >>> >>> >>> >>>> Rails GEM install failed : >>> >>>> >>> >>>> INFO: `gem install -y` is now default and will be removed >>> >>>> INFO: use --ignore-dependencies to install only the gems you >>> list >>> >>>> ERROR: Error installing rails: >>> >>>> rdoc requires json (~> 1.4, runtime >>> >>>> >>> >>>> >>> >>>> >>> >>> PAT >>> >>> >>> >>> On Mon, Oct 24, 2011 at 20:54, Jamie Cameron <jca...@we...< >>> http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom> >>> >>> > wrote: >>> >>> >>> >>>> >>> >>>> about Cisco certifications, training, and career opportunities. >>> >>>> http://p.sf.net/sfu/cisco-dev2dev >>> >>>> - >>> >>>> Forwarded by the Webmin mailing list at >>> >>>> web...@li...< >>> http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet >>> > >>> >>>> To remove yourself from this list, go to >>> >>>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >>> >>>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> *Pat Erler* >>> >>> Gtalk/G+: pe...@gm...< >>> http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom> >>> >>> <http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom>Skype: >>> pat_erler >>> >>> >>> >>> >>> >> >>> >> >>> >> -- >>> >> *Pat Erler* >>> >> Gtalk/G+: pe...@gm...< >>> http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom> >>> >> <http://reply_mail.cgi?new=1&to=perler%40gmail%2Ecom>Skype: >>> pat_erler >>> >> >>> >> >>> >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >>> >> 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 >>> > >>> >>> >------------------------------------------------------------------------------ >>> >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 >>> >>> ------------------------------------------------------------------------------ >>> 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 >> >> > > > -- > *Pat Erler* > Gtalk/G+: pe...@gm... > <pe...@gm...>Skype: pat_erler > > -- *Pat Erler* Gtalk/G+: pe...@gm... <pe...@gm...>Skype: pat_erler > > |