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

Cannot generate project alongside Rails 4 #1450

Closed
leebrooks0 opened this issue Oct 12, 2013 · 11 comments
Closed

Cannot generate project alongside Rails 4 #1450

leebrooks0 opened this issue Oct 12, 2013 · 11 comments
Milestone

Comments

@leebrooks0
Copy link

I installed Padrino, but when I run the generator to generate a new blank project I get this error:

padrino generate
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1992:in `raise_if_conflicts': Unable to activate padrino-core-0.11.4, because activesupport-4.0.0 conflicts with activesupport (< 4.0, >= 3.1) (Gem::LoadError)
    from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:1232:in `activate'
    from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems.rb:194:in `rescue in try_activate'
    from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems.rb:191:in `try_activate'
    from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
    from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:142:in `require'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/padrino-gen-0.11.4/lib/padrino-gen.rb:2:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
    from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
    from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/padrino-gen-0.11.4/bin/padrino-gen:12:in `<main>'
@leebrooks0
Copy link
Author

Seems to have something to do with this issue #1414

@nesquena
Copy link
Member

Yeah the moment Padrino is locked to older ActiveSupport. This will be remedied with the upcoming 0.12.0 release.

@leebrooks0
Copy link
Author

When is 0.12.0 coming out? Also, I don't know much about the intricacies of
Bundler, is it impossible for me to have both versions of ActiveSupport
installed at the same time?

On Sat, Oct 12, 2013 at 10:29 PM, Nathan Esquenazi <notifications@github.com

wrote:

Yeah the moment Padrino is locked to older ActiveSupport. This will be
remedied with the upcoming 0.12.0 release.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1450#issuecomment-26205362
.

@ujifgc
Copy link
Member

ujifgc commented Oct 12, 2013

Do you have activesupport 3.2 installed?

You can always create a Gemfile with gem 'padrino', bundle install it and run bundle exec padrino g.

@leebrooks0
Copy link
Author

I installed activesupport 3.2 now and I had no luck. I will try your
Gemfile tip tomorrow.

On Sun, Oct 13, 2013 at 12:31 AM, Igor Bochkariov
notifications@github.comwrote:

Do you have activesupport 3.2 installed?

You can always create a Gemfile with gem 'padrino', bundle install it and
run bundle exec padrino g.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1450#issuecomment-26207419
.

@leebrooks0
Copy link
Author

OK creating the Gemfile solved the problem. Padrino is looking Slick

@jhstephenson
Copy link

I am a little confused about the recommended solution of creating a Gemfile with gem 'padrino' in it. Where would this be created? I am running into the same problem and the pradrino command to generate the project doesn't even get to the point where it creates anything. So there is no place to put a gemfile.

@leebrooks0
Copy link
Author

I just did a right click 'New file' and typed Gemfile, added gem 'Padrino'
and did a bundle install and things then worked.

On Thu, Dec 5, 2013 at 10:34 PM, James Stephenson
notifications@github.comwrote:

I am a little confused about the recommended solution of creating a
Gemfile with gem 'padrino' in it. Where would this be created? I am running
into the same problem and the pradrino command to generate the project
doesn't even get to the point where it creates anything. So there is no
place to put a gemfile.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1450#issuecomment-29935157
.

@jhstephenson
Copy link

Where did you put the file?

On Fri, Dec 6, 2013 at 12:00 AM, leebrooks0 notifications@github.comwrote:

I just did a right click 'New file' and typed Gemfile, added gem 'Padrino'
and did a bundle install and things then worked.

On Thu, Dec 5, 2013 at 10:34 PM, James Stephenson
notifications@github.comwrote:

I am a little confused about the recommended solution of creating a
Gemfile with gem 'padrino' in it. Where would this be created? I am
running
into the same problem and the pradrino command to generate the project
doesn't even get to the point where it creates anything. So there is no
place to put a gemfile.


Reply to this email directly or view it on GitHub<
https://github.com/padrino/padrino-framework/issues/1450#issuecomment-29935157>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1450#issuecomment-29967629
.

@leebrooks0
Copy link
Author

It doesn't matter...open up your terminal at the same location to bundle
install, and once Padrino is installed you can then use bundle exec padrino
whatever-command

On Fri, Dec 6, 2013 at 6:00 PM, James Stephenson
notifications@github.comwrote:

Where did you put the file?

On Fri, Dec 6, 2013 at 12:00 AM, leebrooks0 notifications@github.comwrote:

I just did a right click 'New file' and typed Gemfile, added gem
'Padrino'
and did a bundle install and things then worked.

On Thu, Dec 5, 2013 at 10:34 PM, James Stephenson
notifications@github.comwrote:

I am a little confused about the recommended solution of creating a
Gemfile with gem 'padrino' in it. Where would this be created? I am
running
into the same problem and the pradrino command to generate the project
doesn't even get to the point where it creates anything. So there is
no
place to put a gemfile.


Reply to this email directly or view it on GitHub<

https://github.com/padrino/padrino-framework/issues/1450#issuecomment-29935157>

.


Reply to this email directly or view it on GitHub<
https://github.com/padrino/padrino-framework/issues/1450#issuecomment-29967629>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1450#issuecomment-30005121
.

@jhstephenson
Copy link

Ok Got it. Doesn't seem to work on my Windows machine, but I wonder if that
is because I have Rails 4 installed on it.

It works on a linux VM I am running though.

Thanks,
Jim

On Fri, Dec 6, 2013 at 9:17 AM, leebrooks0 notifications@github.com wrote:

It doesn't matter...open up your terminal at the same location to bundle
install, and once Padrino is installed you can then use bundle exec
padrino
whatever-command

On Fri, Dec 6, 2013 at 6:00 PM, James Stephenson
notifications@github.comwrote:

Where did you put the file?

On Fri, Dec 6, 2013 at 12:00 AM, leebrooks0 notifications@github.comwrote:

I just did a right click 'New file' and typed Gemfile, added gem
'Padrino'
and did a bundle install and things then worked.

On Thu, Dec 5, 2013 at 10:34 PM, James Stephenson
notifications@github.comwrote:

I am a little confused about the recommended solution of creating a
Gemfile with gem 'padrino' in it. Where would this be created? I am
running
into the same problem and the pradrino command to generate the
project
doesn't even get to the point where it creates anything. So there is
no
place to put a gemfile.


Reply to this email directly or view it on GitHub<

https://github.com/padrino/padrino-framework/issues/1450#issuecomment-29935157>

.


Reply to this email directly or view it on GitHub<

https://github.com/padrino/padrino-framework/issues/1450#issuecomment-29967629>

.


Reply to this email directly or view it on GitHub<
https://github.com/padrino/padrino-framework/issues/1450#issuecomment-30005121>

.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1450#issuecomment-30006611
.

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

4 participants