Mailinglist Archive: opensuse-buildservice (247 mails)

< Previous Next >
[opensuse-buildservice] Re: "You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'"
Thanks all first :)

-----------------------------------------------------------------------------------------------------------
/*obs-server:/srv/www/obs/webui # cat Gemfile*/
# Edit this Gemfile to bundle your application's dependencies.
# This preamble is the current preamble for Rails 3 apps; edit as needed.
source 'http://rubygems.org'

gem 'debugger'
gem 'rails', '~>3.2.9'

# Gems used only for assets and not required in production environments by
default.
group :assets do
gem 'cssmin', '>= 1.0.2'
gem 'uglifier', '>= 1.2.2'
gem 'sass-rails'
gem 'compass-rails'
gem 'jquery-datatables-rails'
gem 'codemirror-rails', '>= 3.0'
gem 'rails_tokeninput'
end

group :development do
gem 'pry', '>= 0.9.8.4'
#gem 'pry-doc', '>= 0.4.1'
gem 'sqlite3'

# See http://railscasts.com/episodes/368-miniprofiler
gem 'rack-mini-profiler'
#gem 'stacktrace'
/*## Add by cheyw 20130607*/
* gem 'debugger' *
/*##end add 20130607*/
end

group :test do
gem 'capybara_minitest_spec'
gem 'ci_reporter'
gem 'simplecov-rcov', :require => false, :group => :test
# See test/test_helper.rb for details:
gem 'capybara', '>=2.0'
gem 'capybara-webkit'
# for save_and_open_page to debug
gem 'launchy'
gem 'headless'
# random hex strings are just so boring
gem 'faker'
gem 'mocha', '> 0.13.0', require: false
end

gem 'mysql2'
gem 'nokogiri', '~>1.5.0'
gem 'delayed_job', '>3.0'
gem 'delayed_job_active_record'
gem 'hoptoad_notifier', "~> 2.3"
gem 'yajl-ruby'
gem 'rdoc'
gem 'xmlhash', '>=1.3.2'
gem 'fast_xs'
gem 'memcache-client', :require => false
gem 'jquery-rails'
gem 'mobileesp_converted'
gem 'rake', '~>0.9.2'
/*obs-server:/srv/www/obs/webui # bundle install*/
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

If this is a development machine, remove the Gemfile freeze
by running `bundle install --no-deployment`.

You have added to the Gemfile:
* debugger
* debugger
/*obs-server:/srv/www/obs/webui # ./script/rails server -e production -p
5555 -u*/
=> Booting WEBrick
=> Rails 3.2.12 application starting in production on http://0.0.0.0:5555
=> Call with -d to detach
=> Ctrl-C to shutdown server
You need to install ruby-debug to run the server in debugging mode. With
gems, use 'gem install ruby-debug'
Exiting
/*obs-server:/srv/www/obs/webui # gem install ruby-debug*/
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9 extconf.rb
Can't handle 1.9.x yet
*** 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}/
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.9


Gem files will remain installed in
/usr/lib64/ruby/gems/1.9.1/gems/linecache-0.46 for inspection.
Results logged to
/usr/lib64/ruby/gems/1.9.1/gems/linecache-0.46/ext/gem_make.out
/*obs-server:/srv/www/obs/webui # gem list --local |grep debug*/
debugger (1.6.0)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.2)
ruby-debug-base19 (0.11.26, 0.11.25)
ruby-debug-ide (0.4.16)
ruby-debug19 (0.11.6)
/*obs-server:/srv/www/obs/webui #*/

-----------------------------------------------------------------------------------------------------------
:)



--
View this message in context:
http://opensuse.14.x6.nabble.com/You-need-to-install-ruby-debug-to-run-the-server-in-debugging-mode-With-gems-use-gem-install-ruby-de-tp4992054p4992148.html
Sent from the opensuse-buildservice mailing list archive at Nabble.com.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups