awestruct has stopped working after update

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

awestruct has stopped working after update

gamussa
Hello awestructed,

I updated my awestruct installation to 0.5.3 from 0.5.2. Getting following error while running rake preview


Gemfile 


p.s. Fresh installation doesn’t seem to work as well


Please, help

Thanks

-- 
With Best Regards, 
Vik Gamov
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

LightGuard
Administrator
Stack trace says 0.5.4.rc. Try 0.5.4.rc2

Sent from Mailbox for iPhone


On Wed, Nov 27, 2013 at 8:10 PM, Viktor Gamov <[hidden email]> wrote:

Hello awestructed,

I updated my awestruct installation to 0.5.3 from 0.5.2. Getting following error while running rake preview


Gemfile 


p.s. Fresh installation doesn’t seem to work as well


Please, help

Thanks

-- 
With Best Regards, 
Vik Gamov

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

mojavelinux
In reply to this post by gamussa
Hey Viktor!

We are getting bitten again but automatic upgrades in dependent software.

Originally, we used fuzzy version locking to fix the minor version for each dependency. However, RubyGems prevents you from overridding that lock, so it prevented people from using their own version of dependencies. We then switched to minimum versions. However, that's biting us because it allows upgrades to versions of a library that aren't backwards compatible. I think we need to set version maximums when we know that the libraries will be incompatible, such as listen.

The real problem here is that RubyGems is too strict when you try to specify the version you want in your project. Maven and Gradle don't work this way, and I like that much better.

In your case, the solution is to set the version of listen in your Gemfile. Try:

gem 'listen', '2.2.1'

You may need to adjust other versions as well.

To protect you in the future, I strongly recommend checking your Gemfile.lock into git if everyone on the team agrees to use the same version of Awestruct and Ruby (you can always move to the side if it gets in the way).

-Dan


On Wed, Nov 27, 2013 at 8:10 PM, Viktor Gamov <[hidden email]> wrote:
Hello awestructed,

I updated my awestruct installation to 0.5.3 from 0.5.2. Getting following error while running rake preview


Gemfile 


p.s. Fresh installation doesn’t seem to work as well


Please, help

Thanks

-- 
With Best Regards, 
Vik Gamov



--
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

LightGuard
Administrator
We locked the version of listen in 0.5.4.rc2, hence my suggestion. Dan gives the reason behind my first comment :)

Sent from Mailbox for iPhone


On Wed, Nov 27, 2013 at 8:43 PM, Dan Allen <[hidden email]> wrote:

Hey Viktor!

We are getting bitten again but automatic upgrades in dependent software.

Originally, we used fuzzy version locking to fix the minor version for each dependency. However, RubyGems prevents you from overridding that lock, so it prevented people from using their own version of dependencies. We then switched to minimum versions. However, that's biting us because it allows upgrades to versions of a library that aren't backwards compatible. I think we need to set version maximums when we know that the libraries will be incompatible, such as listen.

The real problem here is that RubyGems is too strict when you try to specify the version you want in your project. Maven and Gradle don't work this way, and I like that much better.

In your case, the solution is to set the version of listen in your Gemfile. Try:

gem 'listen', '2.2.1'

You may need to adjust other versions as well.

To protect you in the future, I strongly recommend checking your Gemfile.lock into git if everyone on the team agrees to use the same version of Awestruct and Ruby (you can always move to the side if it gets in the way).

-Dan


On Wed, Nov 27, 2013 at 8:10 PM, Viktor Gamov <[hidden email]> wrote:
Hello awestructed,

I updated my awestruct installation to 0.5.3 from 0.5.2. Getting following error while running rake preview


Gemfile 


p.s. Fresh installation doesn’t seem to work as well


Please, help

Thanks

-- 
With Best Regards, 
Vik Gamov



--

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

mojavelinux
Looks like it's time for me to upgrade too :)

-Dan


On Wed, Nov 27, 2013 at 8:44 PM, Jason Porter <[hidden email]> wrote:
We locked the version of listen in 0.5.4.rc2, hence my suggestion. Dan gives the reason behind my first comment :)

Sent from Mailbox for iPhone


On Wed, Nov 27, 2013 at 8:43 PM, Dan Allen <[hidden email]> wrote:

Hey Viktor!

We are getting bitten again but automatic upgrades in dependent software.

Originally, we used fuzzy version locking to fix the minor version for each dependency. However, RubyGems prevents you from overridding that lock, so it prevented people from using their own version of dependencies. We then switched to minimum versions. However, that's biting us because it allows upgrades to versions of a library that aren't backwards compatible. I think we need to set version maximums when we know that the libraries will be incompatible, such as listen.

The real problem here is that RubyGems is too strict when you try to specify the version you want in your project. Maven and Gradle don't work this way, and I like that much better.

In your case, the solution is to set the version of listen in your Gemfile. Try:

gem 'listen', '2.2.1'

You may need to adjust other versions as well.

To protect you in the future, I strongly recommend checking your Gemfile.lock into git if everyone on the team agrees to use the same version of Awestruct and Ruby (you can always move to the side if it gets in the way).

-Dan


On Wed, Nov 27, 2013 at 8:10 PM, Viktor Gamov <[hidden email]> wrote:
Hello awestructed,

I updated my awestruct installation to 0.5.3 from 0.5.2. Getting following error while running rake preview


Gemfile 


p.s. Fresh installation doesn’t seem to work as well


Please, help

Thanks

-- 
With Best Regards, 
Vik Gamov



--




--
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

mojavelinux
Ah, I know why I haven't upgraded.

https://github.com/awestruct/awestruct/issues/384

-Dan


On Wed, Nov 27, 2013 at 8:46 PM, Dan Allen <[hidden email]> wrote:
Looks like it's time for me to upgrade too :)

-Dan


On Wed, Nov 27, 2013 at 8:44 PM, Jason Porter <[hidden email]> wrote:
We locked the version of listen in 0.5.4.rc2, hence my suggestion. Dan gives the reason behind my first comment :)

Sent from Mailbox for iPhone


On Wed, Nov 27, 2013 at 8:43 PM, Dan Allen <[hidden email]> wrote:

Hey Viktor!

We are getting bitten again but automatic upgrades in dependent software.

Originally, we used fuzzy version locking to fix the minor version for each dependency. However, RubyGems prevents you from overridding that lock, so it prevented people from using their own version of dependencies. We then switched to minimum versions. However, that's biting us because it allows upgrades to versions of a library that aren't backwards compatible. I think we need to set version maximums when we know that the libraries will be incompatible, such as listen.

The real problem here is that RubyGems is too strict when you try to specify the version you want in your project. Maven and Gradle don't work this way, and I like that much better.

In your case, the solution is to set the version of listen in your Gemfile. Try:

gem 'listen', '2.2.1'

You may need to adjust other versions as well.

To protect you in the future, I strongly recommend checking your Gemfile.lock into git if everyone on the team agrees to use the same version of Awestruct and Ruby (you can always move to the side if it gets in the way).

-Dan


On Wed, Nov 27, 2013 at 8:10 PM, Viktor Gamov <[hidden email]> wrote:
Hello awestructed,

I updated my awestruct installation to 0.5.3 from 0.5.2. Getting following error while running rake preview


Gemfile 


p.s. Fresh installation doesn’t seem to work as well


Please, help

Thanks

-- 
With Best Regards, 
Vik Gamov



--




--



--
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

gamussa
Upgraded my dependencies to 0.5.4rc2. It really helped!

Thank you, Dan and Jason
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

gamussa
In reply to this post by mojavelinux
ok, it worked with cached site.

My sequence

awestruct -d --force # works fine. no errors

but

awestruct -P development -g -s # Now clean generation and deployment fails with strange error

https://gist.github.com/gAmUssA/f692736ee18817aa7181

And website preview gives more detailed output

https://gist.github.com/gAmUssA/cf7bed8f189ed5e5916b

My new Gemfile

https://gist.github.com/gAmUssA/7fd3a7b474f5866fa7cc

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

mojavelinux
Yep, that's the bug I linked to earlier in the thread.

-Dan


On Wed, Nov 27, 2013 at 11:33 PM, gamussa <[hidden email]> wrote:
ok, it worked with cached site.

My sequence

awestruct -d --force # works fine. no errors

but

awestruct -P development -g -s # Now clean generation and deployment fails
with strange error

https://gist.github.com/gAmUssA/f692736ee18817aa7181

And website preview gives more detailed output

https://gist.github.com/gAmUssA/cf7bed8f189ed5e5916b

My new Gemfile

https://gist.github.com/gAmUssA/7fd3a7b474f5866fa7cc





--
View this message in context: http://talk-archive.awestruct.org/awestruct-has-stopped-working-after-update-tp406p413.html
Sent from the Awestruct Talk mailing list archive at Nabble.com.

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]




--
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

gamussa
Dan,

Got it.

Rolled back to 0.5.2.1. It seems, this is working for me version.

Thanks,
Vik
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: awestruct has stopped working after update

LightGuard
Administrator
I know this is a little old, but we have 0.5.4.rc3 out, which should include the fix for the issue Dan mentioned.
Loading...