install with rvm

76 views
Skip to first unread message

Pascal Rails

unread,
Aug 18, 2014, 8:31:29 AM8/18/14
to radia...@googlegroups.com
Trying to install radiant with rvm, radiant executable points to my system wide ruby install spécifying gem not found :

knotito@CasseTeteVirtuel:~/ruby/rails$ radiant
/usr/local/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'radiant' (>= 0) among 27 total gem(s) (Gem::LoadError)
    from /usr/local/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:309:in `to_spec'
    from /usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
    from /usr/local/bin/radiant:22:in `<main>'

any clues ?

Jim Gay

unread,
Aug 18, 2014, 9:35:19 AM8/18/14
to radia...@googlegroups.com
I'm not sure. I'm not using rvm personally.
Are you using gemsets?
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Radiant CMS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to radiantcms+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Write intention revealing code #=> http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338

Andrew vonderLuft

unread,
Aug 18, 2014, 1:08:21 PM8/18/14
to radia...@googlegroups.com
Hi Pascal,

You would need to install the radiant gem while rvm'd to whatever particular ruby you want to use.   Radiant release is currently good >= 1.9.3

So for example:
$ rvm use 1.9.3
$ gem install radiant

You can catch me 'avonderluft' on the Radiant IRC channel if you need more help.

Andrew

Miljenko Jakovljevic

unread,
Oct 7, 2015, 5:14:07 PM10/7/15
to Radiant CMS
Hello!

When I try this recipe I get:

ERROR:  Error installing radiant:
    rack-cache requires Ruby version >= 2.0.0.

Radiant 1.4. can currently be installed from rvm: ruby 2.0.0  as well as the default rails 2.3.18. But trying to create a radiant test project then gives an error:

$ radiant test
/home/mike/.rvm/gems/ruby-2.0.0-p643/gems/radiant-1.1.4/lib/generators/instance/instance_generator.rb:20:in `<class:InstanceGenerator>': Use RbConfig instead of obsolete and deprecated Config.
/home/mike/.rvm/gems/ruby-2.0.0-p643/gems/radiant-1.1.4/lib/generators/instance/instance_generator.rb:20:in `<class:InstanceGenerator>': Use RbConfig instead of obsolete and deprecated Config.
/home/mike/.rvm/gems/ruby-2.0.0-p643/gems/radiant-1.1.4/lib/generators/instance/instance_generator.rb:21:in `<class:InstanceGenerator>': Use RbConfig instead of obsolete and deprecated Config.
undefined method `camelize' for "instance":String

Any help would be appreciated.

Miljenko
Reply all
Reply to author
Forward
0 new messages