Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Running Radiant CMS in Cygwin #408

Open
kianting opened this issue Feb 13, 2017 · 1 comment
Open

Issue Running Radiant CMS in Cygwin #408

kianting opened this issue Feb 13, 2017 · 1 comment

Comments

@kianting
Copy link

kianting commented Feb 13, 2017

Hi All,

I have been trying 3 days to run radiant on cygwin. I have been getting the following error when I execute the radiant command.
radiant --database mysql cyfsCMS

The error that I have got is :
undefined local variable or method vars' for #Rails::Generator::Commands::Create:0x00000600233f10`

I have searched high and low for the solution to this issue, all I could find is the following stack overflow enty Could not locate Gemfile or .bundle/ directory - Radiant CMS. There is no answer in the mentioned forum.

Its either I am doing something very wrong or this is a genuine bug but it is not reported yet. I am new to ruby radiant cms, but I am determined to use it to build a CMS web page for my client. I need your assistance in solving this issue, as I really have exhausted all avenues and probable action that I can do.

The generated Radiant CMS code can be downloaded from the link below:-
https://www.dropbox.com/s/fnx5s6fpig1kd5s/cyfsCMS.zip?dl=0

The following are details of my cygwin ruby environment:-


My windows environment path is :-
C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft System Center 2012\Service Manager\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Python27;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\apache-maven\apache-maven-3.3.9\bin;%ANT_HOME%\bin;C:\apache-maven\apache-maven-3.3.9\bin;%DERBY_HOME%\bin;%GROOVY_HOME%/bin;%CYGWIN_HOME%/bin;C:\Program Files\Git\cmd;%ACTIVEMQ_HOME%\bin;%CYGWIN_HOME%\home\kian.ting\bin;%RVM_HOME%;%RVM_HOME%\bin;

I have used rvm to install my ruby. My rvm version is:-
rvm 1.29.0 (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]

I am using the following ruby verison:
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-cygwin]

The following is my gem list.
`*** LOCAL GEMS ***

actioncable (5.0.1)
actionmailer (5.0.1, 2.3.18)
actionpack (5.0.1, 2.3.18)
actionview (5.0.1)
activejob (5.0.1)
activemodel (5.0.1, 4.2.7.1)
activerecord (5.0.1, 2.3.18)
activeresource (4.1.0, 2.3.18)
activesupport (5.0.1, 4.2.7.1, 2.3.18)
acts_as_list (0.9.2, 0.1.4)
acts_as_tree (2.6.1, 0.1.1)
arel (7.1.4)
backports (3.6.8)
bigdecimal (1.3.1, default: 1.2.8)
bluecloth (2.2.0)
builder (3.2.3, 3.0.4)
bundler (1.14.4)
bundler-unload (1.0.2)
byebug (9.0.6)
chronic_duration (0.10.6)
chunky_png (1.3.8)
climate_control (0.1.0)
cocaine (0.5.8, 0.3.2)
coffee-rails (4.2.1)
coffee-script (2.4.1)
coffee-script-source (1.12.2)
compass (1.0.3, 0.12.7)
compass-core (1.0.3)
compass-import-once (1.0.5)
compass-rails (3.0.2, 1.0.3)
concurrent-ruby (1.0.4)
cucumber (2.4.0, 0.3.104)
cucumber-core (2.0.0, 1.5.0)
cucumber-wire (0.0.1)
daemons (1.2.4)
debug_inspector (0.0.2)
delocalize (1.1.0, 0.2.6)
did_you_mean (1.0.0)
diff-lcs (1.3)
erubis (2.7.0)
eventmachine (1.2.2)
execjs (2.7.0)
executable-hooks (1.3.2)
ffi (1.9.17)
fssm (0.2.10)
gem-wrappers (1.2.7)
gherkin (4.0.0)
globalid (0.3.7)
haml (4.0.7, 3.1.8)
highline (1.7.8, 1.6.21)
hoe (3.16.0)
i18n (0.8.0)
iconv (1.0.4)
io-console (default: 0.4.5)
jbuilder (2.6.1)
jquery-rails (4.2.2)
json (2.0.3, default: 1.8.3)
kamel (0.2.0)
loofah (2.0.3)
mail (2.6.4)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.10.1, 5.8.3)
multi_json (1.12.1)
multi_test (0.1.2)
mysql (2.9.1)
net-telnet (0.1.1)
nio4r (2.0.0, 1.2.1)
nokogiri (1.7.0.1)
numerizer (0.1.1)
polyglot (0.3.5)
power_assert (1.0.1, 0.2.6)
psych (default: 2.0.17)
puma (3.7.0)
rack (2.0.1, 1.1.6)
rack-cache (1.7.0)
rack-test (0.6.3)
radiant (1.1.4)
radiant-archive-extension (1.0.7)
radiant-debug-extension (1.0.2)
radiant-exporter-extension (1.1.0)
radiant-site_templates-extension (1.0.6)
radiant-snippets-extension (1.1.3)
radiant-textile_filter-extension (1.0.4)
radius (0.7.4)
rails (5.0.1, 2.3.18)
rails-dom-testing (2.0.2)
rails-html-sanitizer (1.0.3)
rails-observers (0.1.2)
railties (5.0.1)
rake (12.0.0, 10.4.2)
rake-compiler (1.0.3)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
rdoc (5.0.0, default: 4.2.1)
RedCloth (4.3.2, 4.2.9)
rspec (3.5.0)
rspec-core (3.5.4)
rspec-expectations (3.5.0)
rspec-mocks (3.5.0)
rspec-support (3.5.0)
ruby_kml (0.1.7)
rubygems-bundler (1.4.4)
rubypants (0.6.0, 0.2.0)
rvm (1.11.3.9)
sass (3.4.23, 3.2.19)
sass-rails (5.0.6)
spec (5.3.4)
sprockets (3.7.1)
sprockets-rails (3.2.0)
sqlite3 (1.3.13)
stringex (2.7.1, 1.3.3)
term-ansicolor (1.4.0)
test-unit (3.2.3, 3.1.5)
thin (1.7.0)
thor (0.19.4)
thread_safe (0.3.5)
tilt (2.0.6)
tins (1.13.2)
treetop (1.6.8)
turbolinks (5.0.1)
turbolinks-source (5.0.0)
tzinfo (1.2.2, 0.3.52)
uglifier (3.0.4)
uuidtools (2.1.5)
web-console (3.4.0)
websocket-driver (0.6.5)
websocket-extensions (0.1.2)
will_paginate (3.1.5, 2.3.17)
`

@kianting
Copy link
Author

kianting commented Feb 13, 2017

same issue posed in stack overflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant