ucla-oarc-web / WebBlocks

Out of the box, WebBlocks is a platform based on modern web technologies for building full-featured, responsive sites suited for all viewports including desktops, tablets and mobile devices. It leverages existing best-in-breed web tools, defines semantics based on modern web standards and includes a large suite of UI elements and Javascript interactivity libraries. However, WebBlocks is a lot more than just a set of semantics, elements and libraries. At it's core, it is a highly modular toolkit that can be customized to meet business needs, fitted to different development paradigms and integrated into existing web solutions.
http://ucla.github.io/WebBlocks/doc
BSD 3-Clause "New" or "Revised" License
22 stars 14 forks source link

Windows 7 Compile Compatibility Problems #228

Closed lnicks closed 11 years ago

lnicks commented 11 years ago

Having problems with the compiler on Windows 7. I haven't updated any of the versions of the software since @ebollens got it working on my computer.

I'm forced to use [bundle exec rake], and it seems to run to completion, but it's not generating any assets. I have emptied and deleted blocks.css and nothing changes about it. I've given the command line administrative access (though I'm unsure if this inherits to git).

Here's the resulting code: c:\xampp\htdocs\dentistry\sites\all\themes\webblocks>bundle exec rake build_css
git submodule init
git submodule update
bundle
Using rake (0.9.2.2)
Using chunky_png (1.2.5)
Using fssm (0.2.9)
Using sass (3.2.1)
Using compass (0.12.2)
Using extensions (0.6.0)
Using rb-fsevent (0.9.1)
Using systemu (2.5.2)
Using bundler (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem
is installed.
npm install
rake build_css -- --config=../../Rakefile-config.rb

This might be the source of a few of my other problems.

/cc @chris4ucla @jeff1evesque @ssantaana @rrocchio

jeff1evesque commented 11 years ago

When trying to compile using 'rake' commands, I get the following errors:

jlevesque@DCPSTAFF1 /c/xampp/htdocs/github/sites/all/themes/webBlocks (app/mobil
izeLabs)
$ rake
Could not find chunky_png-1.2.5 in any of the sources
Run `bundle install` to install missing gems

jlevesque@DCPSTAFF1 /c/xampp/htdocs/github/sites/all/themes/webBlocks (app/mobil
izeLabs)
$ bundle exec rake
←[31mCould not find chunky_png-1.2.5 in any of the sources←[0m
←[33mRun `bundle install` to install missing gems.←[0m

jlevesque@DCPSTAFF1 /c/xampp/htdocs/github/sites/all/themes/webBlocks (app/mobil
izeLabs)
ebollens commented 11 years ago

@lnicks could you post the complete output of the error you're getting?

lnicks commented 11 years ago

That's actually all I get from the bash window. I am not getting any errors. It says it runs fine, but the actual file doesn't change.

ebollens commented 11 years ago

@lnicks I mean when you run this without bundle exec to execute it. Just when calling rake straight, you get no error messages?

lnicks commented 11 years ago
c:\xampp\htdocs\d7base\sites\all\themes\webblocks>rake
rake aborted!
You have already activated rake 10.0.2, but your Gemfile requires rake 0.9.2.2.
Using bundle exec may solve this.
c:/xampp/htdocs/d7base/sites/all/themes/webblocks/Rakefile:6
(See full trace by running task with --trace)
ebollens commented 11 years ago

If you call bundle or bundle install first, it should activate the right version of Rake to run.

lnicks commented 11 years ago
c:\xampp\htdocs\d7base\sites\all\themes\webblocks>bundle install
Using rake (0.9.2.2)
Using chunky_png (1.2.5)
Using fssm (0.2.9)
Using sass (3.2.1)
Using compass (0.12.2)
Using extensions (0.6.0)
Using rb-fsevent (0.9.1)
Using systemu (2.5.2)
Using bundler (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gemis installed.

c:\xampp\htdocs\d7base\sites\all\themes\webblocks>rake
rake aborted!
You have already activated rake 10.0.2, but your Gemfile requires rake 0.9.2.2.Using bundle exec may solve this.
c:/xampp/htdocs/d7base/sites/all/themes/webblocks/Rakefile:6
(See full trace by running task with --trace)

c:\xampp\htdocs\d7base\sites\all\themes\webblocks>bundle
Using rake (0.9.2.2)
Using chunky_png (1.2.5)
Using fssm (0.2.9)
Using sass (3.2.1)
Using compass (0.12.2)
Using extensions (0.6.0)
Using rb-fsevent (0.9.1)
Using systemu (2.5.2)
Using bundler (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gemis installed.

c:\xampp\htdocs\d7base\sites\all\themes\webblocks>
ebollens commented 11 years ago

Turns out this is an issue with the Drupal theme Gemfile.lock file, given an update to WebBlocks that changed dependencies. See this pull request for more details: https://github.com/ucla/drupal-WebBlocks/pull/98