issue with bundle

207 views
Skip to first unread message

bhupes...@gmail.com

unread,
Sep 29, 2013, 11:05:25 PM9/29/13
to ror_ec...@googlegroups.com
I cannot get bundler to work. It throws error for following gems rmagick, authlogic and compass-rails. When i comment these gems and try to run the app i get "`require': cannot load such file -- 2.0/bluecloth_ext (LoadError)" this error, does anyone know how to solve this ? 

David Henner

unread,
Sep 29, 2013, 11:24:38 PM9/29/13
to ror_ec...@googlegroups.com
I just made a change for heroku and it appears to hurt other people's machines. ugh... I'll change it back with a note in the readme if you are using heroku


On Sun, Sep 29, 2013 at 8:05 PM, <bhupes...@gmail.com> wrote:
I cannot get bundler to work. It throws error for following gems rmagick, authlogic and compass-rails. When i comment these gems and try to run the app i get "`require': cannot load such file -- 2.0/bluecloth_ext (LoadError)" this error, does anyone know how to solve this ? 

--
You received this message because you are subscribed to the Google Groups "ror_ecommerce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ror_ecommerc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

David Henner

unread,
Sep 29, 2013, 11:29:12 PM9/29/13
to ror_ec...@googlegroups.com
Well I hope that helps... I just made the change.  

rmagick is probably an issue with imagemagick not being set up on your local machine.

if you are on a mac the readme tells you how to install imagemagick I think.  if not `brew install imagemagick` should work

David Henner

unread,
Sep 30, 2013, 1:52:47 AM9/30/13
to ror_ec...@googlegroups.com
Were you able to figure this out?

bhupes...@gmail.com

unread,
Sep 30, 2013, 8:49:27 PM9/30/13
to ror_ec...@googlegroups.com
Thank you for quick response. I still have not been able to get this to work, I using windows, ruby 2.0, rails 4. I tried installing imagemagick, but i still get error for Rmagick when i run bundler
[rake --tasks] C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/resolver.rb:296:in `resolve': Could not find gem 'rmagick (= 2.13.2) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound)

Does rmagick require some other gems on windows ? 

David Henner

unread,
Sep 30, 2013, 11:24:43 PM9/30/13
to ror_ec...@googlegroups.com
rmagick is pretty difficult to install on windows without issues.  I think it has to do with security on windows...  The best I can do is point  you to this:



bhupes...@gmail.com

unread,
Oct 1, 2013, 7:00:16 PM10/1/13
to ror_ec...@googlegroups.com
Thanks, i ll post the fix if i figure it out.

bhupes...@gmail.com

unread,
Oct 2, 2013, 12:49:56 AM10/2/13
to ror_ec...@googlegroups.com, bhupes...@gmail.com
I figured out the rmagic, if you add platform to it in gem file bundler works i.e. "gem 'rmagick', '~> 2.13.2', :platforms => :ruby" & same with redcloth "gem 'RedCloth', :platforms => :ruby"
Now i am getting following message "DL is deprecated, please use fiddle"

Rod McLaughlin

unread,
Oct 5, 2013, 11:18:54 AM10/5/13
to ror_ec...@googlegroups.com, bhupes...@gmail.com
Downloaded the product, got it working
I only had to do this (on a Mac),
cp config/database.yml.sql_ite3 config/database.yml
sudo ln -s /usr/local/Cellar/libtiff/3.9.5/lib/libtiff.3.dylib /usr/local/lib/libtiff.3.dylib
rake db:migrate
rails s &
http://localhost:3000
Nice job, d r henner
But the demo doesn't work: https://ror-e.herokuapp.com/


David Henner

unread,
Oct 5, 2013, 11:41:43 AM10/5/13
to ror_ec...@googlegroups.com, bhupes...@gmail.com
Thanks for the email.  I'll checkout whats up with the demo later tonight.

Dave


bhupes...@gmail.com

unread,
Oct 6, 2013, 2:43:43 AM10/6/13
to ror_ec...@googlegroups.com, bhupes...@gmail.com
I am still getting error, now i am getting error of mysql2, even though it's there in gemfile and when i run bundle install gets installed but when i run the app it throws an error saying "mysql2' database adapter., gem is not loaded. Add 'gem mysql2' to your gemfile"

Any idea why it is not detecting mysql2 ?

bhupes...@gmail.com

unread,
Oct 8, 2013, 9:18:34 PM10/8/13
to ror_ec...@googlegroups.com, bhupes...@gmail.com
Just wanted to update, i got this working with sqlite but could not get to work with MySQL. 

David

unread,
Oct 8, 2013, 10:17:59 PM10/8/13
to ror_ec...@googlegroups.com
Sorry for the trouble. Curious why are you using a windows machine.  Have you tried dual booting with Linux?  I know that isn't a solution you want to hear but I must say windows development in ruby is painful. 

Sent from my iPhone

bhupes...@gmail.com

unread,
Oct 8, 2013, 11:39:09 PM10/8/13
to ror_ec...@googlegroups.com
I am new to ruby and development,  i think i am gradually realizing that  windows may not be a best solution for ruby. Oh i did find a bug, When you add description to the product it blows throws following

NameError at /admin/merchandise/products/descriptions/Testing

uninitialized constant Product::BlueCloth
uninitialized constant Product::BlueCloth 

David Henner

unread,
Oct 8, 2013, 11:40:31 PM10/8/13
to ror_ec...@googlegroups.com
That is another bug on windows
Reply all
Reply to author
Forward
0 new messages