Open patrickespake opened 9 years ago
I'm having the same problem, I've tried absolute paths and relative. Also tried to move the folder in different locations. stuck.
Same issue. Any ideas? I'm unable to install...
$ rails generate flatuipro:install /Path/To/FlatUI
/home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/designmodo-flatuipro-rails-1.3.0.0.branch/lib/generators/flatuipro/install/install_generator.rb:25:in copy_assets': 'bower install' must be run first to fetch javascript dependencies (RuntimeError) from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in
run'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
block in invoke_all'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in each' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
map'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in invoke_all' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/group.rb:232:in
dispatch'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/generators.rb:157:in
invoke'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/generate.rb:11:in <top (required)>' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in
require'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in block in require' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in
load_dependency'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in require' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:135:in
generate_or_destroy'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:51:in generate' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:40:in
run_command!'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands.rb:17:in <top (required)>' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in
require'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in block in require' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in
load_dependency'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in require' from /home/ubuntu/usaspending/bin/rails:8:in
<top (required)>'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:241:in load' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:241:in
block in load'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in load_dependency' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:241:in
load'
from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' from /home/ubuntu/.rbenv/versions/2.1.3/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from -e:1:in `
ubuntu@ip-10-65-128-160:~/usaspending$ ruby -v ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
ubuntu@ip-10-65-128-160:~/usaspending$ rails -v Rails 4.1.6
Oh. Simple...
sudo apt-get install bower cd /path/to/extracted-flatui/HTML/UI/Flat-UI-Pro-1.3.0/ #Or Branch you're using bower install
Hope this helps the next guy in a hurry
I got for install the Flat UI Pro 1.3.0:
My Gemfile:
How can I fix it?