Hi all
I’m still struggling with Windows 7, Ruby and shopify_app.
I install shopify_app (gem install shopify_app)
I create a project (rails new MetaManager)
I edit the Gemfile to include shopify app (Add 'gem ‘shopify_app’ to Gemfile)
I do a bundle install (bundle install)
then generate (rails generate shopify_app )
then I start the server (rails server)
then I get the following;
[WARNING] Please install gem ‘therubyracer’ to use Less.
d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less/java_script/v8_conte
xt.rb:2:in `require’: cannot load such file – v8 (LoadError)
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less/java_sc
ript/v8_context.rb:2:in `<top (required)>’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less/java_sc
ript.rb:9:in `require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less/java_sc
ript.rb:9:in `default_context_wrapper’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less/java_sc
ript.rb:17:in `context_wrapper’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less/loader.
rb:12:in `initialize’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less.rb:14:i
n `new’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less.rb:14:i
n `module:Less’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-2.3.3/lib/less.rb:9:in
`<top (required)>’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-rails-2.3.3/lib/less/r
ails.rb:6:in `require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-rails-2.3.3/lib/less/r
ails.rb:6:in `<top (required)>’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-rails-2.3.3/lib/less-r
ails.rb:1:in `require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-rails-2.3.3/lib/less-r
ails.rb:1:in `<top (required)>’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-rails-bootstrap-2.3.3/
lib/less-rails-bootstrap.rb:8:in `require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/less-rails-bootstrap-2.3.3/
lib/less-rails-bootstrap.rb:8:in `<top (required)>’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler/r
untime.rb:76:in `require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler/r
untime.rb:76:in `block (2 levels) in require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler/r
untime.rb:72:in `each’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler/r
untime.rb:72:in `block in require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler/r
untime.rb:61:in `each’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler/r
untime.rb:61:in `require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler.r
b:133:in `require’
from d:/row/MetaManager/config/application.rb:7:in `<top (required)>'
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/commands_tasks.rb:79:in `require’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/commands_tasks.rb:79:in `block in server’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/commands_tasks.rb:76:in `tap’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/commands_tasks.rb:76:in `server’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/commands_tasks.rb:40:in `run_command!’
from d:/row/ruby200/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands.rb:17:in `<top (required)>’
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
if I do a gem install therubyracer, i get the following;
Temporarily enhancing PATH to include DevKit…
Building native extensions. This could take a while…
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
d:/row/Ruby200/bin/ruby.exe extconf.rb
creating Makefile
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
d:/row/Ruby200/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.3/ext/libv8/builder.rb:58:
in `setup_python!': libv8 requires python 2 to be installed in order to build, b
ut it is currently not available (RuntimeError)
from d:/row/Ruby200/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.3/ext/libv8/b
uilder.rb:42:in `block in build_libv8!’
from d:/row/Ruby200/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.3/ext/libv8/b
uilder.rb:40:in `chdir’
from d:/row/Ruby200/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.3/ext/libv8/b
uilder.rb:40:in `build_libv8!’
from d:/row/Ruby200/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.3/ext/libv8/l
ocation.rb:24:in `install!’
from extconf.rb:7:in `’
I’ve tried doing everything in this thread, and more… I’m at a loss.
Has anyone successfully got this running, or more specifically the shopify_app with ruby under windows 7?
Gem files will remain installed in d:/row/Ruby200/lib/ruby/gems/2.0.0/gems/libv8
-3.16.14.3 for inspection.
Results logged to d:/row/Ruby200/lib/ruby/gems/2.0.0/gems/libv8-3.16.14.3/ext/li
bv8/gem_make.out