Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Adding the Zurb Foundation framework gem to Scout #64

Closed
TheNextMovement opened this Issue · 26 comments

10 participants

@TheNextMovement

Hi,
How do I add the Zurb Foundation framework gem...or infact, any gem to Scout? Thanks.

@zdennis
Owner

@TheNextMovement, there isn't a built-in way through the UI to customize the list. This seems to be becoming a popular request and will likely be solved soon. In the meantime, I can install zurb and any other gems and push a new release out or you can do some manual modifications to ScoutApp locally (see https://github.com/mhs/scout-app/wiki/Using-RubyGems-with-ScoutApp )

@TheNextMovement

@zdennis, thank you for the speedy response! I'm more of a designer than a developer and can only do manual modifications following a set of steps, similar to the one you you highlighted above, but for a Windows platform. If installing zurb and other gems is easier/quicker then I would very much appreciate it.

Can I also take this time to truly appreciate the brilliant work you're doing for designers across the world (I'm based in Zimbabwe, Africa). Your app ROCKS! Wooohooo!!!

@jkd77

Good instructions and thanks for the app! I get the following error on the java command:

LoadError: no such file to load -- bundler
require at org/jruby/RubyKernel.java:1038
(root) at vendor/gems/gems/bundler-1.2.0/bin/bundle:2

I tried installing Bundler via: $ gem install bundler, which appeared to install correctly but didn't fix the issue.

Any idea how I can fix this? Do I need to use sudo?
Thanks!

@willit0

Bootstrap from Twitter would also be great. Check https://github.com/vwall/compass-twitter-bootstrap

@ganar

@jkd77 did you manage to solve this issue? I'm having the same problem and no way to solve it

@ChrisLusted

@ganar Not sure if you fixed it but just had similar issue. Sorted it by running bundle install in the terminal. Just make sure as per the instructions you are in this directory:

/Applications/Scout.app/Contents/Resources
@zzramesses

@ChrisLusted tried your solution and I get this:

NoMethodError: private method open' called for Gem::Package:Class
An error occurred while installing chunky_png (1.2.6), and Bundler cannot continue.
Make sure that
gem install chunky_png -v '1.2.6'` succeeds before bundling.

@ChrisLusted

@thesrpr Could you or have you tried running gem install chunky_png -v '1.2.6' first?

If that succeeds try running bundle install again.

@zzramesses
@adrianaguirre

Is there any results with this?

@adrianaguirre

@TheNextMovement Was this issue solved?

@TheNextMovement

@adrianaguirre I don't think it was solved. I eventually just decided to get down and dirty and install Ruby. Turns out it's so much easier than I thought to set up...using the Ruby windows installer.

@adrianaguirre

@TheNextMovement Yea I ended up doing that as well. I was just looking forward to using the 'Play' button as I do for mueller, and regular compass projects. Thank you for the response.

@minneapolisdan

I'm in the same boat as @thesrpr and others. The solution by @TheNextMovement to "install Ruby" confused me. How does that solve the problem? Can anyone help me with the steps to solve the original issue, manually adding gems to Scout?

I'm still stuck on this.

@zzramesses
@ChrisLusted

@minneapolisdan What have you managed to do so far, have you followed the steps here https://github.com/mhs/scout-app/wiki/Using-RubyGems-with-ScoutApp?

@zdennis
Owner

So... ScoutApp2 is under way and will have a UI for adding your own gems to projects. It's still in development though. I know this feature is a long time coming, but it's coming...

@zdennis
Owner

Out of curiosity who's on windows vs OSX? I ask because a native version of OSX will likely be in the near future because Adobe AIR's retina display support sucks.

@zzramesses
@minneapolisdan

@ChrisLusted I got stuck on the error message that @jkd77 mentioned above:

LoadError: no such file to load -- bundler
require at org/jruby/RubyKernel.java:1038
(root) at vendor/gems/gems/bundler-1.2.0/bin/bundle:2

I then tried your solution of running "bundle install" and got the same errors that @thesrpr described:

NoMethodError: private method open' called for Gem::Package:Class
An error occurred while installing chunky_png (1.2.6), and Bundler cannot continue.
Make sure thatgem install chunky_png -v '1.2.6'` succeeds before bundling.

I also tried your solution of running gem install chunky_png -v '1.2.6' first - and continued to follow the same error problems as documented above by @thesrpr

OS X here as well

@ChrisLusted

@minneapolisdan what version of ruby are you on? I'm assuming system ruby? I've had success using rvm and installing ruby 1.9.2

I also only used

export BUNDLE_GEMFILE=config/Gemfile 
export GEM_PATH="`pwd`/vendor/gems"
export GEM_HOME="`pwd`/vendor/gems" 

Skipped the java -jar line and just ran bundle install

@minneapolisdan

@ChrisLusted, I use rvm, and have Ruby 1.9.3 installed. If I can skip the "java -jar" line, great. I just thought I had to follow it. I'll try it, thanks.

@ChrisLusted

@minneapolisdan you could also try the sass standalone branch http://foundation.zurb.com/docs/sass.html don't think the latest versions have any dependencies

@zdennis
Owner

@minneapolisdan you can't skip java -jar because you need to install the gems so ScoutApp can find them (which is in a jruby environment hence the java part). Otherwise, you'll install it on your system but ScoutApp won't be able to find them.

@ChrisLusted

@zdennis @minneapolisdan Sorry was awhile back now, I think it was down to the bundler version in the java - jar line. Check what bundler version is installed and replace the bundler-1.2.0 part with the correct version. Unless you are doing this already of course. I'm out of ideas in that case sorry

@cookch10

Looking forward to an update. Running Windows 7 OS here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.