I'm wanting to build an app where I can search for videos on YouTube. It seems the most popular choice is youtube_it gem for doing so.
I added the gem to my Gemfile, and run bundle install. When I do bundle query --local I can see that the gem is preset (version 2.1.4).
So, according to the README it seems to me I should do something like this in my controller(?):
class ConsoleController < ApplicationController
.
.
.
def search
require 'youtube_it'
client = YouTubeIt::Client.new(:dev_key => "my developer key")
end
end
But I get "cannot load such file -- youtube_it" error
If I remove the require function, I get "uninitialized constant ConsoleController::YouTubeIt" error.
Does anyone know what I'm doing wrong here?
UPDATE:
/Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.3)
actionpack (= 4.0.3)
mail (~> 2.5.4)
actionpack (4.0.3)
activesupport (= 4.0.3)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.3)
activesupport (= 4.0.3)
builder (~> 3.1.0)
activerecord (4.0.3)
activemodel (= 4.0.3)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.3)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.3)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
addressable (2.3.6)
arel (4.0.2)
bcrypt (3.1.7)
bootstrap-sass (3.1.1.1)
sass (~> 3.2)
builder (3.1.4)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
coderay (1.1.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.7.0)
devise (3.2.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.0.2)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
haml (4.0.5)
tilt
haml-rails (0.5.3)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 3.1, < 5.0)
railties (>= 4.0.1)
hike (1.2.3)
i18n (0.6.9)
jbuilder (1.5.3)
activesupport (>= 3.0.0)
multi_json (>= 1.2.0)
jquery-rails (3.1.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
launchy (2.4.2)
addressable (~> 2.3)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.2)
mime-types (1.25.1)
mini_portile (0.5.3)
minitest (4.7.5)
multi_json (1.9.3)
nokogiri (1.6.1)
mini_portile (~> 0.5.0)
orm_adapter (0.5.0)
pg (0.17.1)
polyglot (0.3.4)
pry (0.9.12.6)
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
pry-rails (0.3.2)
pry (>= 0.9.10)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.3)
actionmailer (= 4.0.3)
actionpack (= 4.0.3)
activerecord (= 4.0.3)
activesupport (= 4.0.3)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.3)
sprockets-rails (~> 2.0.0)
railties (4.0.3)
actionpack (= 4.0.3)
activesupport (= 4.0.3)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.1)
rdoc (4.1.1)
json (~> 1.4)
rspec-core (2.14.8)
rspec-expectations (2.14.5)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.6)
rspec-rails (2.14.2)
actionpack (>= 3.0)
activemodel (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
sdoc (0.4.0)
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
slop (3.5.0)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
thor (0.19.1)
thread_safe (0.3.3)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (2.2.2)
coffee-rails
tzinfo (0.3.39)
uglifier (2.5.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
warden (1.2.3)
rack (>= 1.0)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
bootstrap-sass (~> 3.1.1)
capybara
coffee-rails (~> 4.0.0)
devise
factory_girl_rails (~> 4.2.1)
haml-rails
jbuilder (~> 1.2)
jquery-rails
launchy (~> 2.4.2)
pg
pry-rails
rails (= 4.0.3)
rspec-rails
sass-rails (~> 4.0.0)
sdoc
turbolinks
uglifier (>= 1.3.0)
It seems that youtube_it gem is still not installed. Double check that gem 'youtube_it' is included in Gemfile and run bundle update
Alternatively you can also delete Gemfile.lock and then run bundle install
Related
After adding gem searchkick to my Gemfile I get this error when I try to delpoy the project:
/home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/faraday-0.8.9/lib/faraday/request/multipart.rb:4 warning: already initialized constant DEFAULT_BOUNDARY
DEBUG[eff60d47] rake aborted!
DEBUG[eff60d47] NoMethodError: undefined method `prepend' for Searchkick::Query:Class
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/searchkick-1.3.0/lib/searchkick/logging.rb:179:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/searchkick-1.3.0/lib/searchkick.rb:1:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/searchkick-1.3.0/lib/searchkick.rb:12:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/releases/20160622173816/config/application.rb:9:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/releases/20160622173816/Rakefile:1:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/releases/20160622173816/Rakefile:5:in `(root)'
DEBUG[eff60d47] (See full trace by running task with --trace)
How can I fix it?
This is my Gemfile.lock :
GIT
remote: git://github.com/capistrano/sshkit.git
revision: 9027b0dcd0b25a762d90ab154ca44fca9fb57e00
specs:
sshkit (1.5.1)
colorize
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
GIT
remote: git://github.com/elasticsearch/elasticsearch-rails.git
revision: 2f2c0fb7a25ece68fd3a9eec7b9026848e66fa4f
specs:
elasticsearch-model (0.1.6)
activesupport (> 3)
elasticsearch (> 0.4)
hashie
elasticsearch-rails (0.1.6)
GIT
remote: git://github.com/rweng/jquery-datatables-rails.git
revision: db17aa0145164095b2b21f83f1ef7ccf91b9ea54
specs:
jquery-datatables-rails (3.1.1)
actionpack (>= 3.1)
jquery-rails
railties (>= 3.1)
sass-rails
GEM
remote: http://rubygems.org/
specs:
aasm (4.0.0)
actionmailer (4.1.8)
actionpack (= 4.1.8)
actionview (= 4.1.8)
mail (~> 2.5, >= 2.5.4)
actionpack (4.1.8)
actionview (= 4.1.8)
activesupport (= 4.1.8)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
actionview (4.1.8)
activesupport (= 4.1.8)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.8)
activesupport (= 4.1.8)
builder (~> 3.1)
activerecord (4.1.8)
activemodel (= 4.1.8)
activesupport (= 4.1.8)
arel (~> 5.0.0)
activerecord-jdbc-adapter (1.3.11)
activerecord (>= 2.2)
activesupport (4.1.8)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
addressable (2.3.6)
ansi (1.4.3)
arel (5.0.1.20140414130214)
ast (2.3.0)
authlogic (3.4.0)
activerecord (>= 3.2)
activesupport (>= 3.2)
request_store (~> 1.0.5)
autoprefixer-rails (3.1.2.20141016)
execjs
bootstrap_form (2.3.0)
buftok (0.2.0)
builder (3.2.2)
capistrano (3.2.1)
i18n
rake (>= 10.0.0)
sshkit (~> 1.3)
capistrano-bundler (1.1.3)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-rails (1.1.2)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rbenv (2.0.2)
capistrano (~> 3.1)
sshkit (~> 1.3)
capistrano3-puma (0.8.2)
capistrano (~> 3.0)
puma (>= 2.6)
carrierwave (0.10.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
mime-types (>= 1.16)
chronic (0.10.2)
coderay (1.1.1)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.7.0)
colorize (0.7.3)
concurrent-ruby (1.0.0)
concurrent-ruby (1.0.0-java)
connection_pool (2.2.0)
dalli (2.7.1)
database_cleaner (1.4.1)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.2.5)
elasticsearch (1.0.8)
elasticsearch-api (= 1.0.7)
elasticsearch-transport (= 1.0.7)
elasticsearch-api (1.0.7)
multi_json
elasticsearch-transport (1.0.7)
faraday
multi_json
equalizer (0.0.9)
erubis (2.7.0)
exception_notification (4.0.1)
actionmailer (>= 3.0.4)
activesupport (>= 3.0.4)
execjs (2.0.2)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
faraday (0.8.9)
multipart-post (~> 1.2.0)
ffi (1.9.3)
ffi (1.9.3-java)
ffi-compiler (0.1.3)
ffi (>= 1.0.0)
rake
figaro (1.1.0)
thor (~> 0.14)
font-awesome-rails (4.2.0.0)
railties (>= 3.2, < 5.0)
geocoder (1.2.1)
gibberish (1.4.0)
gmaps4rails (2.1.2)
haml (4.0.6)
tilt
haml-rails (0.9.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 4.0.6, < 5.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
hashie (3.4.0)
hike (1.2.3)
hirb (0.7.1)
html2haml (2.0.0)
erubis (~> 2.7.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
http (0.5.0)
http_parser.rb
http_parser.rb (0.6.0)
http_parser.rb (0.6.0-java)
i18n (0.7.0)
jdbc-mysql (5.1.33)
jquery-fileupload-rails (0.4.1)
actionpack (>= 3.1)
railties (>= 3.1)
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.2.0)
railties (>= 3.2.16)
jquery_mobile_rails (1.4.5)
railties (>= 3.1.0)
jruby-memcache-client (1.7.2)
json (1.8.3)
json (1.8.3-java)
kaminari (0.16.2)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
launchy (2.4.2)
addressable (~> 2.3)
launchy (2.4.2-java)
addressable (~> 2.3)
spoon (~> 0.0.1)
letter_opener (1.2.0)
launchy (~> 2.2)
libv8 (3.16.14.7)
mail (2.6.3)
mime-types (>= 1.16, < 3)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.8.2)
mime-types (2.4.3)
mini_portile (0.6.2)
minitest (5.6.0)
multi_json (1.10.1)
multipart-post (1.2.0)
mysql2 (0.3.17)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.1)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
nokogiri (1.6.6.2-java)
parser (2.3.1.2)
ast (~> 2.2)
powerpack (0.1.1)
protected_attributes (1.0.7)
activemodel (>= 4.0.1, < 5.0)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry (0.10.3-java)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
spoon (~> 0.0)
pry-rails (0.3.4)
pry (>= 0.9.10)
puma (2.12.2)
puma (2.12.2-java)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.5.5)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (4.1.8)
actionmailer (= 4.1.8)
actionpack (= 4.1.8)
actionview (= 4.1.8)
activemodel (= 4.1.8)
activerecord (= 4.1.8)
activesupport (= 4.1.8)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.8)
sprockets-rails (~> 2.0)
rails-i18n (4.0.3)
i18n (~> 0.6)
railties (~> 4.0)
rails-observers (0.1.2)
activemodel (~> 4.0)
railties (4.1.8)
actionpack (= 4.1.8)
activesupport (= 4.1.8)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rake (10.4.2)
redis (3.2.2)
redis-namespace (1.5.1)
redis (~> 3.0, >= 3.0.4)
ref (1.0.5)
remotipart (1.2.1)
request_store (1.0.5)
rmagick (2.13.4)
rmagick4j (0.3.8)
rspec-core (3.2.3)
rspec-support (~> 3.2.0)
rspec-expectations (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-mocks (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-rails (3.2.1)
actionpack (>= 3.0, < 4.3)
activesupport (>= 3.0, < 4.3)
railties (>= 3.0, < 4.3)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.2)
rubocop (0.40.0)
parser (>= 2.3.1.0, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.8.1)
ruby_parser (3.7.0)
sexp_processor (~> 4.1)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
scrypt (1.2.1)
ffi-compiler (>= 0.0.2)
rake
searchkick (1.3.0)
activemodel
elasticsearch (>= 1)
hashie
sexp_processor (4.6.0)
sidekiq (4.1.0)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
redis (~> 3.2, >= 3.2.1)
simple_oauth (0.2.0)
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
sitemap_generator (5.0.5)
builder
slop (3.6.0)
smarter_csv (1.0.19)
spoon (0.0.4)
ffi
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
therubyrhino (2.0.4)
therubyrhino_jar (>= 1.7.3)
therubyrhino_jar (1.7.4)
thor (0.19.1)
thread_safe (0.3.5)
thread_safe (0.3.5-java)
tilt (1.4.1)
tinymce-rails (4.0.19)
railties (>= 3.1.1)
turn (0.8.3)
ansi
twitter (5.5.1)
addressable (~> 2.3)
buftok (~> 0.2.0)
descendants_tracker (~> 0.0.3)
equalizer (~> 0.0.9)
faraday (>= 0.8, < 0.10)
http (~> 0.5.0)
http_parser.rb (~> 0.6.0)
json (~> 1.8)
memoizable (~> 0.4.0)
simple_oauth (~> 0.2.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.5.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicode-display_width (1.0.5)
whenever (0.9.4)
chronic (>= 0.6.3)
PLATFORMS
java
ruby
DEPENDENCIES
aasm
activerecord-jdbc-adapter
authlogic
autoprefixer-rails
bootstrap_form
capistrano (~> 3.2.0)
capistrano-bundler
capistrano-rails
capistrano-rbenv
capistrano3-puma
carrierwave (~> 0.10.0)
coffee-rails (~> 4.0.0)
dalli (~> 2.7.1)
database_cleaner
elasticsearch-model!
elasticsearch-rails!
exception_notification
factory_girl_rails
figaro
font-awesome-rails
geocoder
gibberish
gmaps4rails (= 2.1.2)
haml-rails (~> 0.9)
hirb
jdbc-mysql
jquery-datatables-rails!
jquery-fileupload-rails
jquery-rails
jquery-ui-rails
jquery_mobile_rails
jruby-memcache-client
kaminari (~> 0.16.2)
letter_opener
mysql2 (~> 0.3.15)
protected_attributes
pry-rails
puma
quiet_assets
rails (~> 4.1)
rails-i18n (~> 4.0.0)
rails-observers
rake (>= 10.0.0)
redis-namespace
remotipart (~> 1.2)
rmagick
rmagick4j
rspec-rails
rubocop
sass-rails (~> 4.0.2)
scrypt
searchkick
sidekiq
sinatra
sitemap_generator
smarter_csv
sshkit (~> 1.3)!
therubyracer
therubyrhino
tinymce-rails (~> 4.0.0)
turn (~> 0.8.3)
twitter
uglifier (>= 2.5.0)
whenever
BUNDLED WITH
1.12.5
searchkick 1.3.0
ruby-2.1.0
rails-4.1.8
The warning is caused by faraday gem versions earlier than 0.9.0rc1. Looks like the problem is Ruby 1.8.7 specific and does not occur in Ruby > 1.9. It has been fixed in newer version of the gem.
So, you have two options:
Update your faraday gem.
Upgrade to Ruby 1.9 or later.
When I run the Rails 4.1.2 server, I get no errors.
However, if I run 'rails c', I get the following error:
Could not find activesupport-4.1.2 in any of the sources
Run `bundle install` to install missing gems.
What's strange is that activesupport-4.1.2 is both installed and is specified in Gemfile.lock. I have tried 'bundle update' as well as deleting Gemfile.lock and running 'bundle install'. I have also tried specifying that specific version of ActiveSupport in my Rails gemfile, but this has gotten my nowhere.
I'd really like to use the latest Rails, but it seems pretty crummy that I can't use the console.
FIY: I am using Ruby 2.1.2p95 in Linux with RVM.
EDIT: I uninstalled all activesupport gems and reinstalled 4.1.2. Here's what 'gem list activesupport says':
*** LOCAL GEMS ***
activesupport (4.1.2)
Same problem.
EDIT2: Here is my Gemfile.lock:
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.1.2)
actionpack (= 4.1.2)
actionview (= 4.1.2)
mail (~> 2.5.4)
actionpack (4.1.2)
actionview (= 4.1.2)
activesupport (= 4.1.2)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
actionview (4.1.2)
activesupport (= 4.1.2)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.2)
activesupport (= 4.1.2)
builder (~> 3.1)
activerecord (4.1.2)
activemodel (= 4.1.2)
activesupport (= 4.1.2)
arel (~> 5.0.0)
activesupport (4.1.2)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
akami (1.2.2)
gyoku (>= 0.4.0)
nokogiri
arel (5.0.1.20140414130214)
builder (3.2.2)
capybara (2.3.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.7.0)
database_cleaner (1.3.0)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.2.1)
gyoku (1.1.1)
builder (>= 2.1.2)
hike (1.2.3)
httpi (2.1.0)
rack
rubyntlm (~> 0.3.2)
i18n (0.6.9)
jbuilder (2.1.1)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-rails (3.1.1)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
kgio (2.9.2)
libv8 (3.16.14.3)
macaddr (1.7.1)
systemu (~> 2.6.2)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
mini_portile (0.6.0)
minitest (5.3.5)
multi_json (1.10.1)
mysql2 (0.3.16)
nokogiri (1.6.2.1)
mini_portile (= 0.6.0)
nori (2.4.0)
polyglot (0.3.5)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.1.2)
actionmailer (= 4.1.2)
actionpack (= 4.1.2)
actionview (= 4.1.2)
activemodel (= 4.1.2)
activerecord (= 4.1.2)
activesupport (= 4.1.2)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.2)
sprockets-rails (~> 2.0)
railties (4.1.2)
actionpack (= 4.1.2)
activesupport (= 4.1.2)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.3.2)
rdoc (4.1.1)
json (~> 1.4)
ref (1.0.5)
rspec-core (3.0.2)
rspec-support (~> 3.0.0)
rspec-expectations (3.0.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.0.0)
rspec-mocks (3.0.2)
rspec-support (~> 3.0.0)
rspec-rails (3.0.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.0.0)
rspec-expectations (~> 3.0.0)
rspec-mocks (~> 3.0.0)
rspec-support (~> 3.0.0)
rspec-support (3.0.2)
rubyntlm (0.3.4)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
savon (2.5.1)
akami (~> 1.2.0)
builder (>= 2.1.2)
gyoku (~> 1.1.0)
httpi (~> 2.1.0)
nokogiri (>= 1.4.0)
nori (~> 2.4.0)
uuid (~> 2.3.7)
wasabi (~> 3.3.0)
sdoc (0.4.0)
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
spring (1.1.3)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.1.3)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.9)
subactions (1.0.1)
systemu (2.6.4)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (2.2.2)
coffee-rails
tzinfo (1.2.1)
thread_safe (~> 0.1)
uglifier (2.5.1)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicorn (4.8.3)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
unicorn-rails (2.1.1)
rack
unicorn
uuid (2.3.7)
macaddr (~> 1.0)
version (1.0.0)
wasabi (3.3.0)
httpi (~> 2.0)
mime-types (< 2.0.0)
nokogiri (>= 1.4.0)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
capybara
coffee-rails (~> 4.0.0)
database_cleaner
jbuilder (~> 2.0)
jquery-rails
mysql2
rails (= 4.1.2)
rspec-rails (~> 3.0.0)
sass-rails (~> 4.0.3)
sdoc (~> 0.4.0)
simplecov (~> 0.7.1)
simplecov-html
spring
sqlite3
subactions
therubyracer
turbolinks
uglifier (>= 1.3.0)
unicorn
unicorn-rails
version
EDIT3: Here is my .irbrc file:
# This loads some niceties for irb, courtesy of rvm.
# It also loads your custom ~/.irbrc if it exists.
# If you want to customize the irbrc for ONLY this version of
# ruby then edit this file. It will only be deleted if you do
# an "rvm install" over this ruby version.
if ENV["rvm_path"].nil?
require File.join(ENV["HOME"], "irbrc")
else
require File.join(ENV["rvm_path"], "scripts", "irbrc")
end
Spring was still running and interfering. Running the following in the shell did the trick:
spring stop
Now Rails console works as it should.
I write simple statistic app with active_admin interface and i wan't to host it on heroku. When i type git push heroku master i have the following error:
Fetching git://github.com/gregbell/active_admin.git
fatal: Could not parse object 'ac4918ef99cf0272eb5f744b7e3f3fc7cde5811f'.
Git error: command `git reset --hard ac4918ef99cf0272eb5f744b7e3f3fc7cde5811f`
in directory
/tmp/build_8776c788-ed11-4ae5-b374-8618b8523219/vendor/bundle/ruby/2.0.0/bundler/gems/active_admin-ac4918ef99cf
has failed.
If this error persists you could try removing the cache directory
'/tmp/build_8776c788-ed11-4ae5-b374-8618b8523219/vendor/bundle/ruby/2.0.0/cache/bundler/git/active_admin-d67faab65e9b74efbc8efb4a777a851e9f78b2ca'
Bundler Output: Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Fetching git://github.com/gregbell/active_admin.git
fatal: Could not parse object 'ac4918ef99cf0272eb5f744b7e3f3fc7cde5811f'.
Git error: command `git reset --hard ac4918ef99cf0272eb5f744b7e3f3fc7cde5811f`
in directory
/tmp/build_8776c788-ed11-4ae5-b374-8618b8523219/vendor/bundle/ruby/2.0.0/bundler/gems/active_admin-ac4918ef99cf
has failed.
If this error persists you could try removing the cache directory
'/tmp/build_8776c788-ed11-4ae5-b374-8618b8523219/vendor/bundle/ruby/2.0.0/cache/bundler/git/active_admin-d67faab65e9b74efbc8efb4a777a851e9f78b2ca'
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby/Rails app
To git#heroku.com:intense-forest-6444.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:intense-forest-6444.git'
this is my gemfile.lock:
GIT
remote: git://github.com/bmabey/database_cleaner.git
revision: df55cf7b746e792dba1d11eea0d6e31e3abc7e8c
specs:
database_cleaner (1.1.1)
GIT
remote: git://github.com/gregbell/active_admin.git
revision: ac4918ef99cf0272eb5f744b7e3f3fc7cde5811f
branch: rails4
specs:
activeadmin (0.6.0)
arbre (>= 1.0.1)
bourbon (>= 1.0.0)
coffee-rails (>= 3.2.0)
devise (>= 3.0.2)
formtastic (>= 2.3.0.rc2)
inherited_resources (>= 1.4.1)
jquery-rails (>= 3.0.0)
jquery-ui-rails (>= 4.0.0)
kaminari (>= 0.13.0)
rails (>= 3.2.0)
ransack (>= 1.0.0)
sass-rails (>= 3.2.0)
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.0)
actionpack (= 4.0.0)
mail (~> 2.5.3)
actionpack (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
activerecord (4.0.0)
activemodel (= 4.0.0)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.0)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.0)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
addressable (2.3.5)
arbre (1.0.1)
activesupport (>= 3.0.0)
arel (4.0.0)
atomic (1.1.14)
bcrypt-ruby (3.1.2)
bootstrap-sass (2.3.2.2)
sass (~> 3.2)
bourbon (3.1.8)
sass (>= 3.2.0)
thor
builder (3.1.4)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.1)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (4.0.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0.beta, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
countries (0.9.2)
currencies (>= 0.4.0)
currencies (0.4.2)
devise (3.1.0)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.4)
erubis (2.7.0)
execjs (2.0.1)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
ffi (1.9.0)
formtastic (2.3.0.rc2)
actionpack (>= 3.0)
growl (1.0.3)
haml (4.0.3)
tilt
haml-rails (0.4)
actionpack (>= 3.1, < 4.1)
activesupport (>= 3.1, < 4.1)
haml (>= 3.1, < 4.1)
railties (>= 3.1, < 4.1)
has_scope (0.6.0.rc)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hike (1.2.3)
i18n (0.6.5)
inherited_resources (1.4.1)
has_scope (~> 0.6.0.rc)
responders (~> 1.0.0.rc)
jbuilder (1.5.1)
activesupport (>= 3.0.0)
multi_json (>= 1.2.0)
jquery-rails (3.0.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.0.5)
railties (>= 3.1.0)
json (1.8.0)
kaminari (0.14.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
launchy (2.3.0)
addressable (~> 2.3)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25)
mini_portile (0.5.1)
minitest (4.7.5)
multi_json (1.8.0)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
orm_adapter (0.4.0)
paperclip (3.5.1)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.0)
mime-types
pg (0.17.0)
pg_search (0.7.0)
activerecord (>= 3.1)
activesupport (>= 3.1)
arel
phony (1.9.0)
phony_rails (0.4.2)
activesupport (>= 3.0)
countries (>= 0.8.2)
phony (>= 1.7.7)
polyamorous (0.6.4)
activerecord (>= 3.0)
polyglot (0.3.3)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.0)
actionmailer (= 4.0.0)
actionpack (= 4.0.0)
activerecord (= 4.0.0)
activesupport (= 4.0.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.0)
sprockets-rails (~> 2.0.0)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.1)
rails_stdout_logging (0.0.2)
railties (4.0.0)
actionpack (= 4.0.0)
activesupport (= 4.0.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
ransack (1.0.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
polyamorous (~> 0.6.0)
rb-fsevent (0.9.3)
rdoc (3.12.2)
json (~> 1.4)
responders (1.0.0)
railties (>= 3.2, < 5)
rspec-core (2.14.5)
rspec-expectations (2.14.3)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.3)
rspec-rails (2.14.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rubyzip (0.9.9)
sass (3.2.10)
sass-rails (4.0.0)
railties (>= 4.0.0.beta, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
sdoc (0.3.20)
json (>= 1.1.3)
rdoc (~> 3.10)
selenium-webdriver (2.35.1)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip (< 1.0.0)
websocket (~> 1.0.4)
shoulda-matchers (2.4.0)
activesupport (>= 3.0.0)
sprockets (2.10.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
thor (0.18.1)
thread_safe (0.1.3)
atomic
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (1.3.0)
coffee-rails
tzinfo (0.3.37)
uglifier (2.2.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
warden (1.2.3)
rack (>= 1.0)
websocket (1.0.7)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
activeadmin!
bootstrap-sass
capybara
coffee-rails (~> 4.0.0)
database_cleaner!
devise
factory_girl_rails
growl
haml-rails
jbuilder (~> 1.2)
jquery-rails
kaminari
launchy
paperclip
pg
pg_search
phony_rails
rails (= 4.0.0)
rails_12factor
rb-fsevent (= 0.9.3)
rspec-rails (~> 2.0)
sass-rails (~> 4.0.0)
sdoc
selenium-webdriver (= 2.35.1)
shoulda-matchers
turbolinks
uglifier (>= 1.3.0)
in my gemfile i have:
gem 'activeadmin', github: 'gregbell/active_admin', branch: 'rails4'
I tried to delete gemfile.lock and rebundle everything but it's still not working.
Any ideas?
Looks like the rails4 branch for active_admin was removed!
You can update your gemfile and specify a tag or commit reference. As of today v0.6.1 is the most up to date version, so you could do:
gem "activeadmin", github: "gregbell/active_admin", tag: "v0.6.1"
..and that would solve your problem. Alternatively, as you pointed out in your comment, choosing another specific revision would also get rid of the error.
gem "activeadmin", github: "gregbell/active_admin", ref: "82ff48d51525bdf55c96e50d8650d45f2a6716ed"
I have an issue with rails 4 application. In my User model (actually, it's the same with any other model) I can't use with_options method. If I have a code like this:
class User < ActiveRecord::Base
# ...
with_options :unless => :is_person do |u|
u.validates :company_name, presence: true
u.validates :company_address, presence: true
end
# ...
end
I end up with a message like this, at the boot time of my application:
> Booting WEBrick
=> Rails 4.0.0 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/Users/mike/.rvm/gems/ruby-2.0.0-p0#leo4/gems/activerecord-4.0.0/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method ` with_options' for #<Class:0x007fed97c0a6e8> (NoMethodError)
from /Users/mike/dev/leo4/app/models/user.rb:57:in `<class:User>'
...
The picture is the same, if this block is empty with no validations at all.
Something really weird is going on, because the method exists if I just remove these lines, fire up a console and check for it. It looks like its a boot time only problem (?)
Any thoughts? Thanks!
P.S. My Gemfile.lock:
GIT
remote: git://github.com/gregbell/active_admin.git
revision: 72a9c30cef47b3f38c38039de021aaa3194c188b
branch: rails4
specs:
activeadmin (0.6.0)
arbre (>= 1.0.1)
bourbon (>= 1.0.0)
coffee-rails (>= 3.2.0)
devise (>= 3.0.2)
formtastic (>= 2.3.0.rc2)
inherited_resources (>= 1.4.1)
jquery-rails (>= 3.0.0)
jquery-ui-rails (>= 4.0.0)
kaminari (>= 0.13.0)
rails (>= 3.2.0)
ransack (>= 1.0.0)
sass-rails (>= 3.2.0)
GIT
remote: git://github.com/justinfrench/formtastic.git
revision: cd6cb88f28ea7444267802ced8e5ec0f5cfd0f90
branch: master
specs:
formtastic (2.3.0.rc2)
actionpack (>= 3.0)
GIT
remote: git://github.com/sporkrb/spork-rails.git
revision: 3224f84d8c31fcb0894e9a43f6c3ac67e3aa0d71
specs:
spork-rails (3.2.1)
rails (>= 3.0.0, < 5)
spork (>= 1.0rc0)
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.0)
actionpack (= 4.0.0)
mail (~> 2.5.3)
actionpack (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
activerecord (4.0.0)
activemodel (= 4.0.0)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.0)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.0)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
annotate (2.5.0)
rake
arbre (1.0.1)
activesupport (>= 3.0.0)
arel (4.0.0)
atomic (1.1.13)
bcrypt-ruby (3.1.1)
bourbon (3.1.8)
sass (>= 3.2.0)
thor
builder (3.1.4)
cancan (1.6.10)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara-webkit (1.0.0)
capybara (~> 2.0, >= 2.0.2)
json
coffee-rails (4.0.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0.beta, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
cucumber (1.3.7)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12.1)
multi_json (~> 1.7.5)
multi_test (>= 0.0.2)
database_cleaner (1.0.1)
devise (3.0.2)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
warden (~> 1.2.3)
diff-lcs (1.2.4)
draper (1.2.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
request_store (~> 1.0.3)
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
faraday (0.8.8)
multipart-post (~> 1.2.0)
ffaker (1.18.0)
gherkin (2.12.1)
multi_json (~> 1.3)
has_scope (0.6.0.rc)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hashie (2.0.5)
hike (1.2.3)
httpauth (0.2.0)
i18n (0.6.5)
inherited_resources (1.4.1)
has_scope (~> 0.6.0.rc)
responders (~> 1.0.0.rc)
jbuilder (1.4.2)
activesupport (>= 3.0.0)
multi_json (>= 1.2.0)
jquery-rails (3.0.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.0.4)
jquery-rails
railties (>= 3.1.0)
json (1.8.0)
jwt (0.1.8)
multi_json (>= 1.5)
kaminari (0.14.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
libv8 (3.11.8.17)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.23)
mini_portile (0.5.1)
minitest (4.7.5)
multi_json (1.7.9)
multi_test (0.0.2)
multipart-post (1.2.0)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
oauth2 (0.8.1)
faraday (~> 0.8)
httpauth (~> 0.1)
jwt (~> 0.1.4)
multi_json (~> 1.0)
rack (~> 1.2)
omniauth (1.1.4)
hashie (>= 1.2, < 3)
rack
omniauth-facebook (1.4.1)
omniauth-oauth2 (~> 1.1.0)
omniauth-mailru (1.0.0)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.0)
omniauth-oauth2 (1.1.1)
oauth2 (~> 0.8.0)
omniauth (~> 1.0)
omniauth-odnoklassniki (0.0.4)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.0)
omniauth-vkontakte (1.2.0)
multi_json
omniauth (~> 1.1.0)
omniauth-oauth2 (~> 1.0)
orm_adapter (0.4.0)
polyamorous (0.6.3)
activerecord (>= 3.0)
polyglot (0.3.3)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.0)
actionmailer (= 4.0.0)
actionpack (= 4.0.0)
activerecord (= 4.0.0)
activesupport (= 4.0.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.0)
sprockets-rails (~> 2.0.0)
railties (4.0.0)
actionpack (= 4.0.0)
activesupport (= 4.0.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
ransack (1.0.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
polyamorous (~> 0.6.0)
rdiscount (2.1.6)
rdoc (3.12.2)
json (~> 1.4)
redis (3.0.4)
redis-actionpack (4.0.0)
actionpack (~> 4)
redis-rack (~> 1.5.0)
redis-store (~> 1.1.0)
redis-activesupport (4.0.0)
activesupport (~> 4)
redis-store (~> 1.1.0)
redis-rack (1.5.0)
rack (~> 1.5)
redis-store (~> 1.1.0)
redis-rails (4.0.0)
redis-actionpack (~> 4)
redis-activesupport (~> 4)
redis-store (~> 1.1.0)
redis-store (1.1.4)
redis (>= 2.2)
ref (1.0.5)
request_store (1.0.5)
responders (1.0.0.rc)
railties (>= 3.2, < 5)
rspec-core (2.14.5)
rspec-expectations (2.14.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.3)
rspec-rails (2.14.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
sass (3.2.10)
sass-rails (4.0.0)
railties (>= 4.0.0.beta, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
sdoc (0.3.20)
json (>= 1.1.3)
rdoc (~> 3.10)
simple_form (1.4.1)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
slim (2.0.1)
temple (~> 0.6.6)
tilt (>= 1.3.3, < 2.1)
slim-rails (2.0.1)
actionpack (>= 3.0, < 4.1)
activesupport (>= 3.0, < 4.1)
railties (>= 3.0, < 4.1)
slim (~> 2.0)
spork (1.0.0rc3)
sprockets (2.10.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.7)
temple (0.6.6)
therubyracer (0.11.4)
libv8 (~> 3.11.8.12)
ref
thor (0.18.1)
thread_safe (0.1.2)
atomic
tilt (1.4.1)
treetop (1.4.14)
polyglot
polyglot (>= 0.3.1)
turbolinks (1.3.0)
coffee-rails
tzinfo (0.3.37)
uglifier (2.1.2)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
warden (1.2.3)
rack (>= 1.0)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
activeadmin!
annotate (>= 2.5.0)
cancan (= 1.6.10)
capybara
capybara-webkit
coffee-rails (~> 4.0.0)
cucumber
database_cleaner (< 1.1.0)
devise (= 3.0.2)
draper (~> 1.0)
factory_girl_rails
ffaker
formtastic!
jbuilder (~> 1.2)
jquery-rails (= 3.0.4)
kaminari (= 0.14.1)
omniauth (= 1.1.4)
omniauth-facebook
omniauth-mailru
omniauth-odnoklassniki
omniauth-vkontakte
rails (= 4.0.0)
rdiscount
redis-rails (~> 4.0.0)
rspec-rails (~> 2.0)
sass-rails (~> 4.0.0)
sdoc
simple_form (= 1.4.1)
simplecov
slim-rails (= 2.0.1)
spork-rails!
sqlite3
therubyracer
turbolinks (= 1.3.0)
uglifier (>= 1.3.0)
Require ActiveSupport:
require 'active_support/all'
As you can see below I have clearly attempted to use the icon with class user-md, but this has somehow shown up as an ubuntu icon. I'm very very confused.
Also, another anomaly... I have a nav list as described on twitter bootstrap... http://twitter.github.com/bootstrap/components.html#navs
For some reason the active li shows the overlay of icon-glass .. over the desired icon-home. The normal li shows just the house.
I am using ubuntu 12.10 with GNOME Shell 3.6.2 and here is my gemfile lock file:
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
actionmailer (3.2.11)
actionpack (= 3.2.11)
mail (~> 2.4.4)
actionpack (3.2.11)
activemodel (= 3.2.11)
activesupport (= 3.2.11)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.0)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
active_enum (0.9.12)
activesupport (~> 3.0)
activemodel (3.2.11)
activesupport (= 3.2.11)
builder (~> 3.0.0)
activerecord (3.2.11)
activemodel (= 3.2.11)
activesupport (= 3.2.11)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.11)
activemodel (= 3.2.11)
activesupport (= 3.2.11)
activesupport (3.2.11)
i18n (~> 0.6)
multi_json (~> 1.0)
annotate (2.4.1.beta1)
arel (3.0.2)
awesome_print (1.1.0)
bcrypt-ruby (3.0.1)
better_errors (0.3.2)
coderay (>= 1.0.0)
erubis (>= 2.7.0)
binding_of_caller (0.6.8)
blankslate (3.1.2)
bootstrap-sass (2.2.2.0)
sass (~> 3.2)
bootstrap-will_paginate (0.0.9)
will_paginate
builder (3.0.4)
cancan (1.6.7)
cocaine (0.4.2)
coderay (1.0.8)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.4.0)
columnize (0.3.6)
country_select (1.1.3)
daemons (1.1.9)
debugger (1.2.4)
columnize (>= 0.3.1)
debugger-linecache (~> 1.1.1)
debugger-ruby_core_source (~> 1.1.7)
debugger-linecache (1.1.2)
debugger-ruby_core_source (>= 1.1.1)
debugger-ruby_core_source (1.1.7)
devise (2.2.2)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (~> 3.1)
warden (~> 1.2.1)
diff-lcs (1.1.3)
erubis (2.7.0)
eventmachine (1.0.0)
execjs (1.4.0)
multi_json (~> 1.0)
factory_girl (4.1.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.1.0)
factory_girl (~> 4.1.0)
railties (>= 3.0.0)
ffi (1.0.11)
font-awesome-sass-rails (3.0.0.1)
railties (>= 3.1.1)
sass-rails (>= 3.1.1)
forem-redcarpet (1.0.0)
pygments.rb (= 0.2.4)
redcarpet (= 2.0.1)
geocoder (1.1.6)
gmaps4rails (1.5.6)
gon (4.0.2)
actionpack (>= 2.3.0)
json
google_visualr (2.1.5)
googlecharts (1.6.8)
guard (1.6.1)
listen (>= 0.6.0)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
thor (>= 0.14.6)
guard-rspec (2.4.0)
guard (>= 1.1)
rspec (~> 2.11)
haml (3.1.7)
hash-deep-merge (0.1.1)
hike (1.2.1)
i18n (0.6.1)
journey (1.0.4)
jquery-rails (2.1.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (3.0.1)
jquery-rails
railties (>= 3.1.0)
json (1.7.6)
kaminari (0.14.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
lazy_high_charts (1.3.2)
bundler (~> 1.0)
hash-deep-merge
libnotify (0.8.0)
ffi (>= 1.0.11)
listen (0.7.2)
lumberjack (1.0.2)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
meta_request (0.2.0)
rack-contrib
rails
method_source (0.8.1)
mime-types (1.19)
multi_json (1.5.0)
nested_form (0.3.1)
nifty-generators (0.4.6)
nokogiri (1.5.6)
orm_adapter (0.4.0)
pg (0.13.2)
polyamorous (0.5.0)
activerecord (~> 3.0)
polyglot (0.3.3)
pry (0.9.11.3)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
pry-debugger (0.2.1)
debugger (~> 1.2.0)
pry (~> 0.9.10)
pygments.rb (0.2.4)
rubypython (~> 0.5.3)
quiet_assets (1.0.1)
railties (~> 3.1)
rack (1.4.4)
rack-cache (1.2)
rack (>= 0.4)
rack-contrib (1.1.0)
rack (>= 0.9.1)
rack-pjax (0.7.0)
nokogiri (~> 1.5)
rack (~> 1.3)
rack-ssl (1.3.2)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.11)
actionmailer (= 3.2.11)
actionpack (= 3.2.11)
activerecord (= 3.2.11)
activeresource (= 3.2.11)
activesupport (= 3.2.11)
bundler (~> 1.0)
railties (= 3.2.11)
rails_admin (0.4.1)
bootstrap-sass (~> 2.1)
builder (~> 3.0)
coffee-rails (~> 3.1)
font-awesome-sass-rails (~> 3.0, >= 3.0.0.1)
haml (~> 3.1)
jquery-rails (~> 2.1)
jquery-ui-rails (~> 3.0)
kaminari (~> 0.14)
nested_form (~> 0.2)
rack-pjax (~> 0.6)
rails (~> 3.1)
remotipart (~> 1.0)
sass-rails (~> 3.1)
railties (3.2.11)
actionpack (= 3.2.11)
activesupport (= 3.2.11)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.3)
rdoc (3.12)
json (~> 1.4)
redcarpet (2.0.1)
remotipart (1.0.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rolify (3.2.0)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rspec-core (2.12.2)
rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.1)
rspec-rails (2.12.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rubypython (0.5.3)
blankslate (>= 2.1.2.3)
ffi (~> 1.0.7)
sass (3.2.5)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
sequel (3.20.0)
simple_form (2.0.4)
actionpack (~> 3.0)
activemodel (~> 3.0)
sinatra (1.0)
rack (>= 1.0)
slop (3.4.3)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
squeel (1.0.14)
activerecord (~> 3.0)
activesupport (~> 3.0)
polyamorous (~> 0.5.0)
taps (0.3.24)
rack (>= 1.0.1)
rest-client (>= 1.4.0, < 1.7.0)
sequel (~> 3.20.0)
sinatra (~> 1.0.0)
thin (1.5.0)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.35)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
warden (1.2.1)
rack (>= 1.0)
webrat (0.7.3)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
will_paginate (3.0.4)
workflow (0.8.0)
I haven no idea what's going on with an Ubuntu icon. Very strange.
The second issue is a bit easier. It's fixed in 3.0.2, the latest Font Awesome, which it appears the Gem you're using isn't updated yet.
Try calling Font Awesome and Bootstrap from the Bootstrap CDN into your HTML: http://www.bootstrapcdn.com/?v=01042013155511#tab_fontawesome
-Dave
Font Awesome Creator & Maintainer