Closed zubin closed 13 years ago
I use ruby-1.9.2-p136 via RVM, and I cannot reproduce:
$: rvm gemset create nestatest
'nestatest' gemset created (/Users/BinaryMuse/.rvm/gems/ruby-1.9.2-p136@nestatest).
$: rvm gemset use nestatest
Now using gemset 'nestatest'
$: gem install nesta
Fetching: haml-3.0.25.gem (100%)
Fetching: syntax-1.0.0.gem (100%)
Fetching: maruku-0.6.0.gem (100%)
Fetching: RedCloth-4.2.7.gem (100%)
Building native extensions. This could take a while...
Fetching: tilt-1.2.2.gem (100%)
Fetching: sinatra-1.1.2.gem (100%)
Fetching: shotgun-0.9.gem (100%)
Fetching: nesta-0.9.4.gem (100%)
Successfully installed haml-3.0.25
Successfully installed syntax-1.0.0
Successfully installed maruku-0.6.0
Successfully installed RedCloth-4.2.7
Successfully installed tilt-1.2.2
Successfully installed sinatra-1.1.2
Successfully installed shotgun-0.9
Successfully installed nesta-0.9.4
8 gems installed
$: nesta new testsite --git
Initialized empty Git repository in /blah/path/testsite/.git/
[master (root-commit) 25d42d6] Initial commit
5 files changed, 89 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
create mode 100644 Gemfile
create mode 100644 config.ru
create mode 100644 config/config.yml
create mode 100644 content/pages/index.haml
Did you get any errors about installing RedCloth when you ran gem install nesta
? If you run gem install RedCloth
with ruby-1.9.2-p136 as your active ruby, does it work?
I can't reproduce this either; I'm afraid it's local to your machine. As BinaryMuse said, check if RedCloth installed okay.
If you can't work out how to fix it, the mailing list is the best place to go.
After upgrading RedCloth from 4.2.6 to 4.2.7 it worked fine. Reverting back to RedCloth 4.2.6 reproduces the problem:
~/sandpit > gem update RedCloth
Updating installed gems
Updating RedCloth
Fetching: RedCloth-4.2.7.gem (100%)
Building native extensions. This could take a while...
Successfully installed RedCloth-4.2.7
Gems updated: RedCloth
Installing RDoc documentation for RedCloth-4.2.7...
~/sandpit > nesta new testsite --git
Initialized empty Git repository in /Users/zubin/sandpit/testsite/.git/
[master (root-commit) 8671371] Initial commit
5 files changed, 89 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
create mode 100644 Gemfile
create mode 100644 config.ru
create mode 100644 config/config.yml
create mode 100644 content/pages/index.haml
~/sandpit > gem uninstall RedCloth -v4.2.7
Successfully uninstalled RedCloth-4.2.7
~/sandpit > rm -fr testsite/
~/sandpit > nesta new testsite --git
<internal:lib/rubygems/custom_require>:33:in `require': no such file to load -- redcloth (LoadError)
from <internal:lib/rubygems/custom_require>:33:in `rescue in require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/zubin/.rvm/gems/ruby-1.9.2-p136/gems/nesta-0.9.4/lib/nesta/models.rb:5:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/zubin/.rvm/gems/ruby-1.9.2-p136/gems/nesta-0.9.4/lib/nesta/app.rb:8:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/zubin/.rvm/gems/ruby-1.9.2-p136/gems/nesta-0.9.4/lib/nesta/commands.rb:4:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/zubin/.rvm/gems/ruby-1.9.2-p136/gems/nesta-0.9.4/bin/nesta:5:in `<top (required)>'
from /Users/zubin/.rvm/gems/ruby-1.9.2-p136/bin/nesta:19:in `load'
from /Users/zubin/.rvm/gems/ruby-1.9.2-p136/bin/nesta:19:in `<main>'
Thanks for letting me know. Looks like 4.2.6 doesn't work on Mac.
When I attempted creating a new site using ruby 1.9.2p136 via RVM, I got this error:
However it worked after switching to ree-1.8.7-2010.02.