You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've fired up the rails console to kick the tires, but will get errors e.g.
$ foreman run rails c
Loading development environment (Rails 4.1.8)
2.1.5 :001 > the_city = TheCity.new 'ebcc', false
NameError: uninitialized constant TheCity
from (irb):1
from /Users/daniel/.rvm/gems/ruby-2.1.5@pubweb/gems/railties-4.1.8/lib/rails/commands/console.rb:90:in `start'
from /Users/daniel/.rvm/gems/ruby-2.1.5@pubweb/gems/railties-4.1.8/lib/rails/commands/console.rb:9:in `start'
from /Users/daniel/.rvm/gems/ruby-2.1.5@pubweb/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:69:in `console'
from /Users/daniel/.rvm/gems/ruby-2.1.5@pubweb/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/daniel/.rvm/gems/ruby-2.1.5@pubweb/gems/railties-4.1.8/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
I have successfully queried our instance using this library in standalone fashion, not pulling it into a Rails app and using it.
How do I call the library from Rails app?
The text was updated successfully, but these errors were encountered:
Hi, so I've got this library bundling into my app via Gemfile:
I've fired up the rails console to kick the tires, but will get errors e.g.
I have successfully queried our instance using this library in standalone fashion, not pulling it into a Rails app and using it.
How do I call the library from Rails app?
The text was updated successfully, but these errors were encountered: