ruby on rails bundle command error - ruby-on-rails

I install rvm ( Multiuser install : \curl -L https://get.rvm.io | sudo bash -s stable)
and I added user to rvm group
and I typping 'rails new testprj'
But i have an error message, It is same typping 'bundle' command errer message
How do i do?
I'm really sorry my english...
kitty#ubuntu:~/workspace/rails$ bundle
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tmpdir.rb:85:in `mkdir': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
Permission denied # dir_s_mkdir - ./.gem.20140211-10050-1th152x
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.1.0/gems/sqlite3-1.3.8 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.1.0/extensions/x86_64-linux/2.1.0/sqlite3-1.3.8/gem_make.out
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tmpdir.rb:85:in `block in mktmpdir'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tmpdir.rb:142:in `create'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/tmpdir.rb:85:in `mktmpdir'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:14:in `build'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:160:in `chdir'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:160:in `block in build_extension'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:159:in `synchronize'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:159:in `build_extension'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:198:in `block in build_extensions'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:195:in `each'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:195:in `build_extensions'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:1436:in `block in build_extensions'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/user_interaction.rb:45:in `use_ui'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:1434:in `build_extensions'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/stub_specification.rb:60:in `build_extensions'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:925:in `block in find_inactive_by_path'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:924:in `each'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:924:in `find'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:924:in `find_inactive_by_path'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems.rb:185:in `try_activate'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/vendor/net/http/persistent.rb:12:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/vendored_persistent.rb:3:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/fetcher.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/cli.rb:247:in `install'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/vendor/thor/command.rb:27:in `run'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/vendor/thor.rb:363:in `dispatch'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/vendor/thor/base.rb:440:in `start'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/cli.rb:10:in `start'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/bin/bundle:20:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'
from /usr/local/rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.3/bin/bundle:20:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.1.0#global/bin/bundle:23:in `load'
from /usr/local/rvm/gems/ruby-2.1.0#global/bin/bundle:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'

DO NOT USE SU TO CREATE A NEW PROJECT
Sorry, but I cannot stress this enough, it's even mentioned in most guides.
The problem is Rubygems most likely.
try running the following command.
sudo gem update --system --no-user-install.
My guess is that you originally installed this somewhere in local directory which bundler cannot access. Updating the system version and setting it as default again will hopefully get you around this.

Related

Difficulties installing jekyll-polyglot: "Could not find gem 'helper x86_64-darwin-19'"

I'm new to Jekyll and I'm having a hard time installing the jekyll-polyglot plugin. My latest issues is the following, when trying to run "bundle exec" in the terminal. What is this 'helper x86_64-darwin-19'?
xxxx-xx:sebl xxxxx$ bundle install
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Could not find gem 'helper x86_64-darwin-19' in any of the gem sources listed in your Gemfile.
If I run bundle exec jekyll serve, this is what I currently get:
Alessandros-Air:sebl alessandrolodola$ bundle exec jekyll serve
Configuration file: /Users/alessandrolodola/Desktop/SEBL/_config.yml
/Users/alessandrolodola/Desktop/SEBL/_plugins/polyglot-master/lib/jekyll/polyglot/version.rb:3: warning: already initialized constant Jekyll::Polyglot::VERSION
/usr/local/lib/ruby/gems/3.0.0/gems/jekyll-polyglot-1.3.3/lib/jekyll/polyglot/version.rb:3: warning: previous definition of VERSION was here
Dependency Error: Yikes! It looks like you don't have /Users/alessandrolodola/Desktop/SEBL/_plugins/polyglot-master/spec/rspec/helper.rb or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. If you've run Jekyll with `bundle exec`, ensure that you have included the /Users/alessandrolodola/Desktop/SEBL/_plugins/polyglot-master/spec/rspec/helper.rb gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- rspec' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
------------------------------------------------
Jekyll 4.2.0 Please append `--trace` to the `serve` command
for any additional information or backtrace.
------------------------------------------------
/usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:73:in `rescue in block in require_with_graceful_fail': /Users/alessandrolodola/Desktop/SEBL/_plugins/polyglot-master/spec/rspec/helper.rb (Jekyll::Errors::MissingDependencyException)
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:58:in `block in require_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:57:in `each'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:57:in `require_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:89:in `block in require_plugin_files'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:87:in `each'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:87:in `require_plugin_files'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:21:in `conscientious_require'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:131:in `setup'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:36:in `initialize'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:30:in `new'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:30:in `process'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
from /usr/local/lib/ruby/gems/3.0.0/bin/jekyll:23:in `load'
from /usr/local/lib/ruby/gems/3.0.0/bin/jekyll:23:in `<top (required)>'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/exe/bundle:49:in `block in <top (required)>'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/exe/bundle:37:in `<top (required)>'
from /usr/local/opt/ruby/bin/bundle:23:in `load'
from /usr/local/opt/ruby/bin/bundle:23:in `<main>'
/Users/alessandrolodola/Desktop/SEBL/_plugins/polyglot-master/spec/rspec/helper.rb:1:in `require': cannot load such file -- rspec (LoadError)
from /Users/alessandrolodola/Desktop/SEBL/_plugins/polyglot-master/spec/rspec/helper.rb:1:in `<top (required)>'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:60:in `require'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:60:in `block in require_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:57:in `each'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/external.rb:57:in `require_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:89:in `block in require_plugin_files'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:87:in `each'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:87:in `require_plugin_files'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/plugin_manager.rb:21:in `conscientious_require'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:131:in `setup'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:36:in `initialize'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:30:in `new'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:30:in `process'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
from /usr/local/lib/ruby/gems/3.0.0/bin/jekyll:23:in `load'
from /usr/local/lib/ruby/gems/3.0.0/bin/jekyll:23:in `<top (required)>'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `load'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli/exec.rb:28:in `run'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli.rb:497:in `exec'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/exe/bundle:49:in `block in <top (required)>'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
from /Users/alessandrolodola/.local/share/gem/ruby/3.0.0/gems/bundler-2.2.3/exe/bundle:37:in `<top (required)>'
from /usr/local/opt/ruby/bin/bundle:23:in `load'
from /usr/local/opt/ruby/bin/bundle:23:in `<main>'
```
hi i also got this issue
same as yours
Solution_is_very_simple
bundle
bundle add webrick
jekyll serve --watch --port 3200
Run these commands then your problem will be solved

capistrano - ERROR: Failed to build gem native extension

i try to deploy rails app with capistrano 3, pg database, nginx and passenger i have this error
i use RVM
os: ubuntu 14.04
ruby v: 2.1.4
full error http://ec2-52-38-245-69.us-west-2.compute.amazonaws.com/
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
/home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:71:in `initialize': Permission denied # rb_sysopen - /usr/local/bin/ri (Errno::EACCES)
from /home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:71:in `open'
from /home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:71:in `block in try_to_fix_binstubs'
from /home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:69:in `map'
from /home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:69:in `try_to_fix_binstubs'
from /home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:46:in `block in execute_no_wrapper'
from /home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:44:in `each'
from /home/ubuntu/.rvm/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/executable-hooks-1.3.2/lib/executable-hooks/regenerate_binstubs_command.rb:44:in `execute_no_wrapper'
from extconf.rb:19:in `<main>'
bundler 1.11.2
executable-hooks 1.3.2
rake 10.1.0
rdoc 4.1.0
extconf failed, exit code 1
Gem files will remain installed in /home/ubuntu/.rvm/gems/ruby-2.1.4#global/gems/executable-hooks-1.3.2 for inspection.
Results logged to /home/ubuntu/.rvm/gems/ruby-2.1.4#global/extensions/x86_64-linux/2.1.0-static/executable-hooks-1.3.2/gem_make.out
(Gem::Ext::BuildError)
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run'
/usr/local/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:38:in `block in build'
/usr/local/lib/ruby/2.1.0/tempfile.rb:324:in `open'
/usr/local/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:17:in `build'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `chdir'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `block in build_extension'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:159:in `synchronize'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:159:in `build_extension'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:198:in `block in build_extensions'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `each'
/usr/local/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `build_extensions'
/usr/local/lib/ruby/2.1.0/rubygems/specification.rb:1436:in `block in build_extensions'
/usr/local/lib/ruby/2.1.0/rubygems/user_interaction.rb:45:in `use_ui'
/usr/local/lib/ruby/2.1.0/rubygems/specification.rb:1434:in `build_extensions'
/usr/local/lib/ruby/2.1.0/rubygems/stub_specification.rb:60:in `build_extensions'
/usr/local/lib/ruby/2.1.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
/usr/local/lib/ruby/2.1.0/rubygems/specification.rb:925:in `block in find_inactive_by_path'
/usr/local/lib/ruby/2.1.0/rubygems/specification.rb:924:in `each'
/usr/local/lib/ruby/2.1.0/rubygems/specification.rb:924:in `find'
/usr/local/lib/ruby/2.1.0/rubygems/specification.rb:924:in `find_inactive_by_path'
/usr/local/lib/ruby/2.1.0/rubygems.rb:185:in `try_activate'
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
/usr/lib/ruby/vendor_ruby/phusion_passenger/native_support.rb:423:in `load_native_extension'
/usr/lib/ruby/vendor_ruby/phusion_passenger/native_support.rb:113:in `load_from_load_path'
/usr/lib/ruby/vendor_ruby/phusion_passenger/native_support.rb:40:in `try_load'
/usr/lib/ruby/vendor_ruby/phusion_passenger/native_support.rb:50:in `start'
/usr/lib/ruby/vendor_ruby/phusion_passenger/native_support.rb:439:in `<top (required)>'
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/vendor_ruby/phusion_passenger.rb:235:in `require_passenger_lib'
/usr/share/passenger/helper-scripts/rack-preloader.rb:76:in `init_passenger'
/usr/share/passenger/helper-scripts/rack-preloader.rb:155:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'
Check the user that you are deploying as has the appropriate permissions to install gems. To verify this, log into the server as that user and try to install some gems from your Gemfile.
Some gems might fail to install if they are missing system dependencies such as openssl, libxml, etc.

Can't launch rails server after reinstalling rvm/rails

I recently had to uninstall rvm and then reinstall rvm and reinstall rails --
It appears that rails didn't install correctly because I can't launch rails s. I'm working with ruby 2.3.0, and ran sudo gem install rails to get the latest version of rails.
After installing and running bundle install and bundle update, I got this error
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:85:in `mkdir': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
Permission denied - ./.gem.20160330-64997-1erpjjg
Gem files will remain installed in /Users/chloe/.rvm/gems/ruby-2.3.0#global/gems/nokogiri-1.6.7.2 for inspection.
Results logged to /Users/chloe/.rvm/gems/ruby-2.3.0#global/extensions/universal-darwin-14/2.0.0/nokogiri-1.6.7.2/gem_make.out
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:85:in `block in mktmpdir'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:142:in `create'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tmpdir.rb:85:in `mktmpdir'
from /Library/Ruby/Site/2.0.0/rubygems/ext/ext_conf_builder.rb:14:in `build'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:160:in `chdir'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:160:in `block in build_extension'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:159:in `synchronize'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:159:in `build_extension'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:198:in `block in build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `each'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1436:in `block in build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/user_interaction.rb:45:in `use_ui'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1434:in `build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:60:in `build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:68:in `block in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:67:in `each'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:67:in `find'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:67:in `require'
from /Users/chloe/.rvm/gems/ruby-2.3.0#global/gems/railties-4.2.6/bin/rails:9:in `<top (required)>'
from /usr/bin/rails:22:in `load'
from /usr/bin/rails:22:in `<main>'
I tried using the solution from this question, but got 'apt-get command not found' --- but I apologize if this requires a similar solution!
I'm using Mac OSX
EDIT ****
after updating gems with gem update ---system, I have a new error message:
=> Booting WEBrick
=> Rails 4.1.4 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
/Users/chloe/sites/bookshelf/config/environment.rb:7:in `<top (required)>': undefined local variable or method `config' for main:Object (NameError)
from /Users/chloe/sites/bookshelf/config.ru:3:in `require'
from /Users/chloe/sites/bookshelf/config.ru:3:in `block in <main>'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
from /Users/chloe/sites/bookshelf/config.ru:in `new'
from /Users/chloe/sites/bookshelf/config.ru:in `<main>'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/builder.rb:49:in `eval'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/builder.rb:49:in `new_from_string'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/builder.rb:40:in `parse_file'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/server.rb:199:in `app'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands/server.rb:50:in `app'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/rack-1.5.5/lib/rack/server.rb:314:in `wrapped_app'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands/server.rb:130:in `log_to_stdout'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands/server.rb:67:in `start'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:81:in `block in server'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `tap'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `server'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/railties-4.1.4/lib/rails/commands.rb:17:in `<top (required)>'
from /Users/chloe/sites/bookshelf/bin/rails:9:in `require'
from /Users/chloe/sites/bookshelf/bin/rails:9:in `<top (required)>'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/spring-1.6.4/lib/spring/client/rails.rb:28:in `load'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/spring-1.6.4/lib/spring/client/rails.rb:28:in `call'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/spring-1.6.4/lib/spring/client/command.rb:7:in `call'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/spring-1.6.4/lib/spring/client.rb:28:in `run'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/spring-1.6.4/bin/spring:49:in `<top (required)>'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/spring-1.6.4/lib/spring/binstub.rb:11:in `load'
from /Users/chloe/.rvm/gems/ruby-2.3.0/gems/spring-1.6.4/lib/spring/binstub.rb:11:in `<top (required)>'
from /Users/chloe/sites/bookshelf/bin/spring:13:in `require'
from /Users/chloe/sites/bookshelf/bin/spring:13:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
[1]: https://stackoverflow.com/questions/7645918/require-no-such-file-to-load-mkmf-loaderror
****SOLUTION****
the solution from this question appeared to fix it:
in your enviroment.rb file, cut any line starting with config and paste into your production.rb/development.rb/test.rb instead.
This appeared to solve the problem:
For the first issue--
run
gem update --system
For second issue --
in your enviroment.rb file, cut any line starting with config and paste into your production.rb/development.rb/test.rb instead.

Bundle Install Permission Denied Error

I have just cloned a project to start playing around with. Getting the error below. I have exhausted the other answers on here as none of them seemed to cure the problem. I am only just getting started with web dev so bare with with me. Any suggestions or help is greatly appreciated.
I have been through the bundler troubleshooting and tried the fixes they suggest without any joy...
Patricks-MacBook-Pro:ytutorial patrickwalsh$ bundle install
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in `mkdir': Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/kgio-2.7.4 (Errno::EACCES)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in `fu_mkdir'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:219:in `block (2 levels) in mkdir_p'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217:in `reverse_each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:217:in `block in mkdir_p'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:203:in `mkdir_p'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:210:in `write_gem_make_out'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:132:in `build_error'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:171:in `rescue in build_extension'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:156:in `build_extension'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:198:in `block in build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `each'
from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:195:in `build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1436:in `block in build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/user_interaction.rb:45:in `use_ui'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1434:in `build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/stub_specification.rb:60:in `build_extensions'
from /Library/Ruby/Site/2.0.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:925:in `block in find_inactive_by_path'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `each'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `find'
from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:924:in `find_inactive_by_path'
from /Library/Ruby/Site/2.0.0/rubygems.rb:185:in `try_activate'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/vendor/net/http/persistent.rb:12:in `<top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/vendored_persistent.rb:3:in `<top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/fetcher.rb:1:in `<top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/cli.rb:247:in `install'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/vendor/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/vendor/thor.rb:363:in `dispatch'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/vendor/thor/base.rb:440:in `start'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/cli.rb:10:in `start'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/bin/bundle:20:in `block in <top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'
from /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/bin/bundle:20:in `<top (required)>'
from /usr/bin/bundle:23:in `load'
from /usr/bin/bundle:23:in `<main>'
sudo bundle install
You gem is install in System. Change path in bash file. And it will solve the issues. You simply enter,
bundle install.
Use sudo bundle install. Looks like issue with permissions on your system.
Do you have permissions to write on /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/kgio-2.7.4 directory.
The error logs states that it tries to create a dir (with mkdir) and the permission is denied!
Can you do # bundle install has root?

Rake Cucumber error: No such file to load -- feedable (LoadError)

System:
OS: Linux (Debian)
rails: 3.1.4
ruby: 1.9.3p194
rvm: 1.14.5
cucumber: 1.2.1
cucumber-rails: 1.3.0
I have the following installed, but when I try and run the following in my app's home directory:
rake cucumber --trace
I get the following error:
/home/user/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -S bundle exec cucumber --profile default
Using the default profile...
No such file to load -- feedable (LoadError)
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.4/lib/active_support
/dependencies.rb:306:in `rescue in depend_on'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.4/lib/active_support
/dependencies.rb:301:in `depend_on'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.1.4/lib/active_support
/dependencies.rb:214:in `require_dependency'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/engine.rb:417:in `block (2 levels) in eager_load!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/engine.rb:416:in `each'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/engine.rb:416:in `block in eager_load!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/engine.rb:414:in `each'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/engine.rb:414:in `eager_load!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/application/finisher.rb:51:in `block in <module:Finisher>'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/initializable.rb:30:in `instance_exec'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/initializable.rb:30:in `run'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/initializable.rb:54:in `each'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/initializable.rb:54:in `run_initializers'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/application.rb:96:in `initialize!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-rails-1.3.0/lib/cucumber/rails/application.rb:15:in `initialize!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.1.4/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/currienet/config/environment.rb:5:in `<top (required)>'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-rails-1.3.0/lib/cucumber/rails.rb:7:in `require'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-rails-1.3.0/lib/cucumber/rails.rb:7:in `<top (required)>'
/var/www/currienet/features/support/env.rb:7:in `require'
/var/www/currienet/features/support/env.rb:7:in `<top (required)>'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/rb_support/rb_language.rb:129:in `load'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/rb_support /rb_language.rb:129:in `load_code_file'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:171:in `load_file'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:82:in `each'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/runtime.rb:175:in `load_step_definitions'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/runtime.rb:40:in `run!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/cli/main.rb:43:in `execute!'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/lib/cucumber/cli/main.rb:20:in `execute'
/home/user/.rvm/gems/ruby-1.9.3-p194/gems/cucumber-1.2.1/bin/cucumber:14:in `<top (required)>'
/home/user/.rvm/gems/ruby-1.9.3-p194/bin/cucumber:19:in `load'
/home/user/.rvm/gems/ruby-1.9.3-p194/bin/cucumber:19:in `<main>'
/home/user/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
/home/user/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'
rake aborted!
Command failed with status (1): [/home/user/.rvm/rubies/ruby-1.9.3-p194/bin...]
I don't know what 'feedable' is or where it's being loaded. Googling the two error messages has yielded no answers.
I realised I should run a grep on my app directory for 'feedable' and found that there was left over code from a class I had written and then removed - this was before I was using versioning control. Once I removed the erroneous require, the problem disappeared.
Thank you to those who spent time on considering this.

Resources