librelist archives

« back to archive

Windows redcloth problem while creating new nesta project

Windows redcloth problem while creating new nesta project

From:
Bharath Khambadkone
Date:
2011-09-08 @ 22:46
I get the following error after I type

nesta new mysite.com

C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require':
no such file to load -- 1.9/redcloth_scan (LoadError)
Couldn't load 1.9/redcloth_scan
The $LOAD_PATH was:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/haml-3.1.2/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.7/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/syntax-1.0.0/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/lib/case_sensitive_require
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.3.2/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/sinatra-1.1.2/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/shotgun-0.9/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/nesta-0.9.9/lib
C:/Ruby192/lib/ruby/site_ruby/1.9.1
C:/Ruby192/lib/ruby/site_ruby/1.9.1/i386-msvcrt
C:/Ruby192/lib/ruby/site_ruby
C:/Ruby192/lib/ruby/vendor_ruby/1.9.1
C:/Ruby192/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt
C:/Ruby192/lib/ruby/vendor_ruby
C:/Ruby192/lib/ruby/1.9.1
C:/Ruby192/lib/ruby/1.9.1/i386-mingw32
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/lib/redcloth.rb:
12:in `<top (required)>'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/nesta-0.9.9/lib/nesta/models.rb
:5:in `<top (required)>'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/nesta-0.9.9/lib/nesta/app.rb:9:
in `<top (required)>'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/nesta-0.9.9/lib/nesta/commands.
rb:5:in `<top (required)>'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from C:/Ruby192/lib/ruby/gems/1.9.1/gems/nesta-0.9.9/bin/nesta:5:in
`<to
p (required)>'
        from C:/Ruby192/bin/nesta:19:in `load'
        from C:/Ruby192/bin/nesta:19:in `<main>'

Anyone having similar issues?

Thanks
BK

Re: [nesta] Windows redcloth problem while creating new nesta project

From:
Graham Ashton
Date:
2011-09-10 @ 08:11
On 8 Sep 2011, at 23:46, Bharath Khambadkone wrote:

> I get the following error after I type
> 
> nesta new mysite.com
> 
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
> no such file to load -- 1.9/redcloth_scan (LoadError)
> Couldn't load 1.9/redcloth_scan
> The $LOAD_PATH was:

It seems that you're not alone.

http://stackoverflow.com/questions/7290868/how-to-install-redcloth-on-windows

What happens if you run `gem install RedCloth`? Any warnings?

redcloth_scan is a binary file that will need to be compiled by a C 
compiler. In order to build it you'll need Ruby development files (e.g. 
header files) to be available. I've never run Ruby on Windows, so I'm not 
sure whether they are available out of the box, or if you need to 
specifically set that up yourself.

You might be able to test whether or not redcloth_scan is building okay by
going to the directory containing the redcloth_scan source and running 
`make`. You can find that directory (at least on Unix) by typing `gem env 
gemdir`; it'll probably be inside a folder called 
gems/RedCloth-2.4.8/ext/redcloth_scan relative to your gemdir.

Let us know how you get on…

Re: [nesta] Windows redcloth problem while creating new nesta project

From:
Aneesh
Date:
2011-09-10 @ 13:32
 Bharath,  

Do you have the ruby DevKit installed?
https://github.com/oneclick/rubyinstaller/wiki/development-kit

Aneesh  

--  
Aneesh
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Saturday, September 10, 2011 at 4:11 AM, Graham Ashton wrote:

> On 8 Sep 2011, at 23:46, Bharath Khambadkone wrote:
>  
> > I get the following error after I type
> >  
> > nesta new mysite.com (http://mysite.com)
> >  
> > C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in 
`require':
> > no such file to load -- 1.9/redcloth_scan (LoadError)
> > Couldn't load 1.9/redcloth_scan
> > The $LOAD_PATH was:
>  
> It seems that you're not alone.
>  
> http://stackoverflow.com/questions/7290868/how-to-install-redcloth-on-windows
>  
> What happens if you run `gem install RedCloth`? Any warnings?
>  
> redcloth_scan is a binary file that will need to be compiled by a C 
compiler. In order to build it you'll need Ruby development files (e.g. 
header files) to be available. I've never run Ruby on Windows, so I'm not 
sure whether they are available out of the box, or if you need to 
specifically set that up yourself.
>  
> You might be able to test whether or not redcloth_scan is building okay 
by going to the directory containing the redcloth_scan source and running 
`make`. You can find that directory (at least on Unix) by typing `gem env 
gemdir`; it'll probably be inside a folder called 
gems/RedCloth-2.4.8/ext/redcloth_scan relative to your gemdir.
>  
> Let us know how you get on…

Re: [nesta] Windows redcloth problem while creating new nesta project

From:
Bharath Khambadkone
Date:
2011-09-10 @ 13:52
@Aneesh, yes I do have the devkit installed.

@Graham, after reading more on the redcloth site, it seems like a redcloth
bug, works fine on the Mac though.

Thanks for your help guys!


On Sep 10, 2011, at 9:33 AM, Aneesh <aneesh.bhoopathy@gmail.com> wrote:

 Bharath,

Do you have the ruby DevKit installed?
https://github.com/oneclick/rubyinstaller/wiki/development-kit

Aneesh

-- 
Aneesh
Sent with Sparrow <http://www.sparrowmailapp.com/?sig>

On Saturday, September 10, 2011 at 4:11 AM, Graham Ashton wrote:

On 8 Sep 2011, at 23:46, Bharath Khambadkone wrote:

I get the following error after I type

nesta new mysite.com

C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require':
no such file to load -- 1.9/redcloth_scan (LoadError)
Couldn't load 1.9/redcloth_scan
The $LOAD_PATH was:


It seems that you're not alone.

http://stackoverflow.com/questions/7290868/how-to-install-redcloth-on-windows

What happens if you run `gem install RedCloth`? Any warnings?

redcloth_scan is a binary file that will need to be compiled by a C
compiler. In order to build it you'll need Ruby development files (e.g.
header files) to be available. I've never run Ruby on Windows, so I'm not
sure whether they are available out of the box, or if you need to
specifically set that up yourself.

You might be able to test whether or not redcloth_scan is building okay by
going to the directory containing the redcloth_scan source and running
`make`. You can find that directory (at least on Unix) by typing `gem env
gemdir`; it'll probably be inside a folder called
gems/RedCloth-2.4.8/ext/redcloth_scan relative to your gemdir.

Let us know how you get on…