Does Rails 3.0.0.beta app see only console stuff in the console?

I have a library in which I am trying to work with rails 3 (in particular feedzirra), which may require approval in irb, but it crashes the console in my application with the following error:

http://pastie.org/855976

+3
source share
2 answers

Rails3 modifies $ LOAD_PATH, so it only contains the gems listed in the Gemfile. ($ LOAD_PATH is an array of directories where Ruby searches for libraries).

So you have to add Gem to the Gemfile and run bundle install. You can check if the stone is in your path by typing puts $LOAD_PATH.grep(/feedzirra/)rails in the console.

Bundler Rails3 :

0

Source: https://habr.com/ru/post/1735636/


All Articles