Ruby on rails 如果我在本地安装,Byebug Gem不会拾取
我已经从github下载了Ruby on rails 如果我在本地安装,Byebug Gem不会拾取,ruby-on-rails,ruby,gem,rubygems,Ruby On Rails,Ruby,Gem,Rubygems,我已经从github下载了byebug和columnizegems 我的gem文件是这样的 source 'http://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.2.0' # Use mysql as the database for Active Record gem 'mysql2' # Use SCSS for stylesheets
byebug
和columnize
gems
我的gem文件是这样的
source 'http://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
# Use mysql as the database for Active Record
gem 'mysql2'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# gem 'bcrypt-ruby', path:"/home/avnish/Documents/rails-workspace/bcrypt-ruby-master"
# gem 'responders', path:"/home/avnish/Documents/rails-workspace/responders-master"
# gem 'devise', path:"/home/avnish/Documents/rails-workspace/devise-master"
# gem 'orm_adapter', path:"/home/avnish/Documents/rails-workspace/orm_adapter-master"
# gem 'warden', path:"/home/avnish/Documents/rails-workspace/warden-master"
#gem 'formtastic'
gem 'therubyracer'
gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS
gem 'devise'
gem 'byebug', path:"/home/avnish/Documents/rails-workspace/byebug-master"
gem 'columnize', path:"/home/avnish/Documents/rails-workspace/columnize-master"
#gem 'twitter-bootstrap-rails'
#gem 'bootstrap-sass', '~> 2.3.1.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
#gem 'byebug', path:"/home/ravendra/Downloads/byebug-master"
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
请有人帮帮我,Byebug附带了一个C扩展,这是它工作所必需的 我想说的是,
bundle安装--local
不编译本地扩展,所以需要手动完成。转到byebug
的目录,运行
bundle
bundle exec rake compile
然后重试。您检查过该文件夹的权限了吗?是的,我已通过eBug和columnize文件夹授予了读写权限。是否有机会进行另一次捆绑包更新?
bundle
bundle exec rake compile